Skip to content

Instantly share code, notes, and snippets.

Created Jan 2, 2019
What would you like to do?
Change the HTTP response status for a JSP
<%@ page language="java" contentType="text/html; UTF-8; charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %>
<!DOCTYPE html>
<html lang="en">
Copy link

ghusta commented Jan 2, 2019

Quite simple. The response status will be 403 in the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment