package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class HelloJspWorld_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("<!-- HelloJspWorld.jsp, no package -->\r\n");
out.write("<!-- In Tomcat, invoke with http://localhost:8080/practice/HelloJspWorld.jsp -->\r\n");
out.write("<!-- Source goes in X:\\Program Files\\apache-tomcat-6.0.20\\webapps\\practice\\HelloJspWorld.jsp -->\r\n");
out.write("<!-- Tomcat Servlet womb will automatically process, compile and run it. -->\r\n");
out.write("<!-- No registration needed other than placing the *.jsp file in the correct directory. -->\r\n");
out.write("<!-- Corresponding *.java and *.class files will be generated in: -->\r\n");
out.write("<!-- X:\\Program Files\\apache-tomcat-6.0.20\\work\\Catalina\\localhost\\practice\\org\\apache\\jsp -->\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write(" <title>HelloJspWorld.jsp</title>\r\n");
out.write("</head>\r\n");
out.write("<body bgcolor=\"white\">\r\n");
out.write("\r\n");
out.write("<table border=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write("\r\n");
out.write(" <td>\r\n");
out.write("\r\n");
out.write(" <h1>HelloJspWorld.jsp Sample Test Application JSP Page</h1>\r\n");
out.write("\r\n");
out.write(" This is the output of a JSP page.\r\n");
out.write(" It displays several useful values from the request we are currently processing.</td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<p>\r\n");
out.write("<table border=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th align=\"right\">Context Path:</th>\r\n");
out.write(" <td align=\"left\">");
out.print( request.getContextPath() );
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th align=\"right\">Path Information:</th>\r\n");
out.write(" <td align=\"left\">");
out.print( request.getPathInfo() );
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th align=\"right\">Query String:</th>\r\n");
out.write(" <td align=\"left\">");
out.print( request.getQueryString() );
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th align=\"right\">Request Method:</th>\r\n");
out.write(" <td align=\"left\">");
out.print( request.getMethod() );
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th align=\"right\">Servlet Path:</th>\r\n");
out.write(" <td align=\"left\">");
out.print( request.getServletPath() );
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}