?? jsp1_0002ejsp_jsp.java
字號:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class jsp1_0002ejsp_jsp extends HttpJspBase {
// begin [file="/jsp1.jsp";from=(7,0);to=(7,72)]
// end
static {
}
public jsp1_0002ejsp_jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/jsp1.jsp";from=(0,48);to=(7,0)]
out.write("\r\n<html>\r\n<head>\r\n<title>\r\njsp1\r\n</title>\r\n</head>\r\n");
// end
// begin [file="/jsp1.jsp";from=(7,0);to=(7,72)]
testtag.Jsp1Bean jsp1BeanId = null;
boolean _jspx_specialjsp1BeanId = false;
synchronized (session) {
jsp1BeanId= (testtag.Jsp1Bean)
pageContext.getAttribute("jsp1BeanId",PageContext.SESSION_SCOPE);
if ( jsp1BeanId == null ) {
_jspx_specialjsp1BeanId = true;
try {
jsp1BeanId = (testtag.Jsp1Bean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "testtag.Jsp1Bean");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"testtag.Jsp1Bean", exc);
}
pageContext.setAttribute("jsp1BeanId", jsp1BeanId, PageContext.SESSION_SCOPE);
}
}
if(_jspx_specialjsp1BeanId == true) {
// end
// begin [file="/jsp1.jsp";from=(7,0);to=(7,72)]
}
// end
// HTML // begin [file="/jsp1.jsp";from=(7,72);to=(8,0)]
out.write("\r\n");
// end
// begin [file="/jsp1.jsp";from=(8,0);to=(8,50)]
JspRuntimeLibrary.introspect(pageContext.findAttribute("jsp1BeanId"), request);
// end
// HTML // begin [file="/jsp1.jsp";from=(8,50);to=(10,0)]
out.write("\r\n<body bgcolor=\"#ffffff\">\r\n");
// end
// HTML // begin [file="/jsp1.jsp";from=(10,43);to=(16,0)]
out.write("\r\n<h1>\r\nsssssssssssssssss\r\n\r\n</h1>\r\n<form action=\"aa.jsp\">\r\n");
// end
// begin [file="/jsp1.jsp";from=(16,0);to=(16,16)]
/* ---- button:button ---- */
testtag.Servlet1 _jspx_th_button_button_0 = new testtag.Servlet1();
_jspx_th_button_button_0.setPageContext(pageContext);
_jspx_th_button_button_0.setParent(null);
try {
int _jspx_eval_button_button_0 = _jspx_th_button_button_0.doStartTag();
if (_jspx_eval_button_button_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
throw new JspTagException("Since tag handler class testtag.Servlet1 does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
if (_jspx_eval_button_button_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// begin [file="/jsp1.jsp";from=(16,0);to=(16,16)]
} while (_jspx_th_button_button_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
}
if (_jspx_th_button_button_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_button_button_0.release();
}
// end
// HTML // begin [file="/jsp1.jsp";from=(16,16);to=(18,0)]
out.write("\r\n<br>\r\n");
// end
// begin [file="/jsp1.jsp";from=(18,0);to=(18,17)]
/* ---- button:button1 ---- */
testtag.buttonGray _jspx_th_button_button1_0 = new testtag.buttonGray();
_jspx_th_button_button1_0.setPageContext(pageContext);
_jspx_th_button_button1_0.setParent(null);
try {
int _jspx_eval_button_button1_0 = _jspx_th_button_button1_0.doStartTag();
if (_jspx_eval_button_button1_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
throw new JspTagException("Since tag handler class testtag.buttonGray does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
if (_jspx_eval_button_button1_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// begin [file="/jsp1.jsp";from=(18,0);to=(18,17)]
} while (_jspx_th_button_button1_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
}
if (_jspx_th_button_button1_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_button_button1_0.release();
}
// end
// HTML // begin [file="/jsp1.jsp";from=(18,17);to=(23,0)]
out.write("\r\n</form>\r\n\r\n</body>\r\n</html>\r\n");
// end
} catch (Throwable t) {
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -