All Downloads are FREE. Search and download functionalities are using the official Maven repository.

war.fedora.jsp.internal-error-500.jsp Maven / Gradle / Ivy

Go to download

The Fedora Client is a Java Library that allows API access to a Fedora Repository. The client is typically one part of a full Fedora installation.

The newest version!
<%@ page info="500==internal-server-error response" %>
<%@ page isErrorPage="true" %>
<%@ page import="java.io.PrintWriter" %>
<%@ page import="java.io.StringWriter" %>
<%@ page import="javax.servlet.http.HttpServletRequest" %>
<%
        response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
        response.addHeader("Content-Type", "text/html; charset=UTF8");        
%>

      Fedora: 500 Internal Server Error
   
      

500 Internal Server Error

<% if (exception.getMessage() != null) { out.print(exception.getMessage()); } %>

<%
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
exception.printStackTrace(pw);
out.print(sw);
sw.close();
pw.close();
%>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy