package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class mostrar_0002dinfo_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=ISO-8859-1");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("
\r\n");
out.write(" Información del Request");
out.write("
\r\n");
out.write("\r\nJSP Request Method: ");
out.print( request.getMethod() );
out.write("\r\n");
out.write("
\r\nRequest URI: ");
out.print( request.getRequestURI() );
out.write("\r\n");
out.write("
\r\nRequest Protocol: ");
out.print( request.getProtocol() );
out.write("\r\n");
out.write("
\r\nServlet path: ");
out.print( request.getServletPath() );
out.write("\r\n");
out.write("
\r\nPath info: ");
out.print(util.HTMLFilter.filter(request.getPathInfo()));
out.write("\r\n");
out.write("
\r\n");
if(request.getQueryString()==request.getContentType()) {
out.write("\r\nNo se han enviado datos.\r\n");
out.write("
\r\n");
} else {
out.write("\r\n ");
if(request.getContentLength()==-1) {
out.write("\r\n\r\n Metodo \"get\"\r\n ");
out.write("
\r\n String del Query: ");
out.print(util.HTMLFilter.filter(request.getQueryString()));
out.write("\r\n\r\n ");
} else {
out.write("\r\n\r\n Metodo \"post\"\r\n ");
out.write("
\r\n Largo del Contenido: ");
out.print( request.getContentLength() );
out.write("\r\n ");
out.write("
\r\n Tipo de Contenido: ");
out.print( request.getContentType() );
out.write("\r\n \r\n ");
}
out.write("\r\n");
}
out.write("\r\n\r\n");
out.write("
\r\nNombre del Servidor: ");
out.print( request.getServerName() );
out.write("\r\n");
out.write("
\r\nPuerto del Servidor: ");
out.print( request.getServerPort() );
out.write("\r\n");
out.write("
\r\nUsuario Remoto: ");
out.print( request.getRemoteUser() );
out.write("\r\n");
out.write("
\r\nDirección Remota: ");
out.print( request.getRemoteAddr() );
out.write("\r\n");
out.write("
\r\nHost Remoto: ");
out.print( request.getRemoteHost() );
out.write("\r\n");
out.write("
\r\nEsquema de Autorización: ");
out.print( request.getAuthType() );
out.write(" \r\n");
out.write("
\r\nLocale: ");
out.print( request.getLocale() );
out.write("\r\n");
out.write("
\r\nSu browser es : ");
out.print(util.HTMLFilter.filter(request.getHeader("User-Agent")));
out.write("\r\n");
out.write("
\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
} catch (Throwable t) {
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}