WiiMart/jsp/500.jsp
2025-03-14 07:51:47 -04:00

41 lines
No EOL
1.4 KiB
Text

<%@ page import = "java.io.*,java.util.*,java.net.http.*,java.net.URI,java.net.http.HttpResponse.BodyHandlers,java.net.HttpURLConnection,java.net.URL,java.nio.charset.StandardCharsets,org.json.*" %>
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ page buffer="8192kb" autoFlush="true" %>
<%@ page isErrorPage="true" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Server Error</title>
</head>
<body>
<h1>Uh oh!</h1>
The server ran into an error and couldn't send a response for you.
<br>
There is nothing wrong on your end, so if you want to go back to the page you were at previously, click <a
href='javascript:window.history.go(-1);'>here</a>.
<h2>Debug Information:</h2>
<%
// Retrieve the exception object
Throwable throwable = (Throwable) request.getAttribute("javax.servlet.error.exception");
if (throwable != null) {
%>
<p>
<strong>Exception Message:</strong>
<%= throwable.getMessage() %>
</p>
<pre>
<strong>Stack Trace:</strong>
<%= org.apache.commons.lang3.exception.ExceptionUtils.getStackTrace(throwable) %>
</pre>
<%
} else {
%>
<p>No exception details are available.</p>
<%
}
%>
</body>
</html>