📄 point_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class point_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 org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fhead_005ftheme_005fdebug_005fnobody;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fs_005fhead_005ftheme_005fdebug_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fs_005fhead_005ftheme_005fdebug_005fnobody.release();
}
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; charset=gbk");
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("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
out.write("<html>\r\n");
out.write("\t<head>\r\n");
out.write("\t\t<title>Insert title here</title>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\t\t");
if (_jspx_meth_s_005fhead_005f0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t<script type=\"text/javascript\">\r\n");
out.write(" function hello(){ \r\n");
out.write(" dojo.io.bind({\r\n");
out.write(" //url: \"message.txt\", \r\n");
out.write(" url: \"PointAction.action?type=json\",\r\n");
out.write(" mimetype: \"text/json\",\r\n");
out.write(" handle: function(type, data, evt) { \r\n");
out.write(" if(type == \"load\"){\r\n");
out.write(" var users = data.listUsers;\r\n");
out.write(" var listUsers = dojo.byId(\"users\");\r\n");
out.write(" var result = \"\";\r\n");
out.write(" for(var i = 0; i < users.length; i++){\r\n");
out.write(" listUsers.options[listUsers.length] = new Option(users[i].name, users[i].name);\r\n");
out.write(" }\r\n");
out.write(" }\r\n");
out.write(" }\r\n");
out.write(" });\r\n");
out.write(" }\r\n");
out.write(" </script>\r\n");
out.write("\r\n");
out.write("\t\t<script>\r\n");
out.write("\t\t\r\n");
out.write("\r\n");
out.write("</script>\r\n");
out.write("\r\n");
out.write("\t</head>\r\n");
out.write("\t<body onload=\"hello()\">\r\n");
out.write("\t\t<form action=\"PointAction.action\" method=\"post\">\r\n");
out.write("\t\t\tPoint:\r\n");
out.write("\t\t\t<input type=\"text\" name=\"point\" />\r\n");
out.write("\t\t\t<br />\r\n");
out.write("\t\t\tPoint:\r\n");
out.write("\t\t\t<input type=\"text\" name=\"point\" />\r\n");
out.write("\t\t\t<br />\r\n");
out.write("\t\t\tPoint:\r\n");
out.write("\t\t\t<input type=\"text\" name=\"point\" />\r\n");
out.write("\t\t\t<br />\r\n");
out.write("\t\t\tUser Name:\r\n");
out.write("\t\t\t<div Id=\"users\" name=\"users\" dojoType=\"Select\">\r\n");
out.write("\t\t\t</div>\r\n");
out.write("\t\t\t<input type=\"submit\" class=\"dojoButtonContents dojoButton\" />\r\n");
out.write("\t\t</form>\r\n");
out.write("\t\t<!-- \r\n");
out.write("\t\t<img dojoType=\"SlideShow\"\r\n");
out.write("\t\t\timgUrls=\"images/2.jpg;images/1.jpg;images/3.jpg;images/4.jpg;images/5.jpg;images/6.jpg\"\r\n");
out.write("\t\t\ttransitionInterval=\"700\" delay=\"1000\" src=\"images/2.jpg\"\r\n");
out.write("\t\t\timgWidth=\"400\"\r\n");
out.write("\t\t\timgHeight=\"500\" />\r\n");
out.write("\t\t -->\r\n");
out.write("\t\t<br />\r\n");
out.write("\t\t<input type=\"text\" dojoType=\"Textbox\">\r\n");
out.write("\t\t兴趣: 游泳\r\n");
out.write("\t\t<input type=\"checkbox\" dojoType=\"Checkbox\" id=\"swimming\" />\r\n");
out.write("\t\t篮球:\r\n");
out.write("\t\t<input type=\"checkbox\" dojoType=\"Checkbox\" id=\"basketball\" />\r\n");
out.write("\t\t排球:\r\n");
out.write("\t\t<input type=\"checkbox\" dojoType=\"Checkbox\" id=\"vollyball\" />\r\n");
out.write("\t\t<div rows=\"0\" cols=\"0\" dojoType=\"Editor2\" id=\"content\" name=\"content\"></div>\r\n");
out.write("\t\t<button dojoType=\"Button\" buttonClick=\"showContent()\">\r\n");
out.write("\t\t\tPress me\r\n");
out.write("\t\t</button>\r\n");
out.write("\t\t<script type=\"text/javascript\">\r\n");
out.write("\t\tfunction showContent(){\r\n");
out.write("\t\t window.alert(dojo.byId(\"content\").value);\r\n");
out.write("\t\t}\r\n");
out.write("\t\t</script>\r\n");
out.write("\r\n");
out.write("\t\t<div inputName=\"startDate\" dojoType=\"dropdowndatepicker\"\r\n");
out.write("\t\t\tdateFormat=\"%Y-%m-%d\" weekStartsOn=\"1\" adjustWeeks=\"true\" />\r\n");
out.write("\t\t\t\r\n");
out.write("\t\t\t\r\n");
out.write("\t\t\t\r\n");
out.write("\t\t\t\r\n");
out.write("\t</body>\r\n");
out.write("</html>");
} 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);
}
}
private boolean _jspx_meth_s_005fhead_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:head
org.apache.struts2.views.jsp.ui.HeadTag _jspx_th_s_005fhead_005f0 = (org.apache.struts2.views.jsp.ui.HeadTag) _005fjspx_005ftagPool_005fs_005fhead_005ftheme_005fdebug_005fnobody.get(org.apache.struts2.views.jsp.ui.HeadTag.class);
_jspx_th_s_005fhead_005f0.setPageContext(_jspx_page_context);
_jspx_th_s_005fhead_005f0.setParent(null);
// /point.jsp(10,2) name = theme type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_s_005fhead_005f0.setTheme("ajax");
// /point.jsp(10,2) name = debug type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_s_005fhead_005f0.setDebug("true");
int _jspx_eval_s_005fhead_005f0 = _jspx_th_s_005fhead_005f0.doStartTag();
if (_jspx_th_s_005fhead_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fs_005fhead_005ftheme_005fdebug_005fnobody.reuse(_jspx_th_s_005fhead_005f0);
return true;
}
_005fjspx_005ftagPool_005fs_005fhead_005ftheme_005fdebug_005fnobody.reuse(_jspx_th_s_005fhead_005f0);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -