1. Preface
In order to understand the origin of this framework, let's first take a look at it.Jsp (preferred for SUN Enterprise applications)The parser writesJsp (preferred for SUN Enterprise applications)CodeJAVAFile Content.
Below isJsp (preferred for SUN Enterprise applications)FileTest. jsp (preferred for SUN Enterprise applications)
<% @ Page language = "java"ContentType = "text/html; charset = GB2312" %>
<%
Out. write ("<! --File start--> ");
%>
<Html>
<Head>
<Body>
<% ="Output"%>
</Body>
</Head>
</Html>
AfterTomcat (a very useful JSP running platform)ConvertedJAVAFileTest $ jsp (preferred for SUN Enterprise Applications). javaThe content is as follows:
Package org. apache (the most popular WEB server platform on the Unix platform). jsp (the preferred choice for SUN Enterprise applications );
Import javax. servlet .*;
Import javax. servlet. http .*;
Import javax. servlet. jsp (preferred for SUN Enterprise Applications ).*;
Import org. apache (the most popular WEB server platform on the Unix platform). jasper. runtime .*;
Public class test $ jsp (preferred for SUN Enterprise Applications) extends Httpjsp (preferred for SUN Enterprise Applications) Base {
Static {
}
Public testOutRedir $ jsp (preferred for SUN Enterprise Applications )(){
}
Private static boolean _ jsp (preferred for SUN Enterprise Applications) x_inited = false;
Public final void _ jsp (preferred for SUN Enterprise Applications) x_init () throws org. apache (the most popular WEB server platform on Unix ). jasper. runtime. jsp (preferred for SUN Enterprise Applications) Exception {
}
Public void _ jsp (preferred for SUN Enterprise Applications) Service (HttpServletRequest request, HttpServletResponseResponse)
Throws java. io. IOException, ServletException {
Jsp (preferred for SUN Enterprise Applications) Factory _ jsp (preferred for SUN Enterprise Applications) xFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
Jsp (preferred for SUN Enterprise applications)