📄 back_005fphotoinsert_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class back_005fphotoInsert_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
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;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
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("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>\r\n");
out.write("back_photoInsert\r\n");
out.write("</title>\r\n");
out.write("</head>\r\n");
Tool.CountTime current = null;
synchronized (_jspx_page_context) {
current = (Tool.CountTime) _jspx_page_context.getAttribute("current", PageContext.PAGE_SCOPE);
if (current == null){
current = new Tool.CountTime();
_jspx_page_context.setAttribute("current", current, PageContext.PAGE_SCOPE);
out.write('\r');
out.write('\n');
}
}
out.write("\r\n");
out.write("<body bgcolor=\"#ffffff\">\r\n");
out.write("<table width=\"573\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"images/back1.gif\">\r\n");
out.write(" <tr>\r\n");
out.write("\r\n");
out.write(" <td width=\"573\" valign=\"top\"><table width=\"227\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img src=\"myimage/back_noword_03.jpg\" width=\"573\" height=\"25\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" <table width=\"573\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"images/back_noword_05.jpg\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td valign=\"top\" align=\"center\">\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\t\t ");
out.println("<p align=left> <img src=myimage/icon.gif width=10 height=10> 相片上传</p>");
out.write("\r\n");
out.write("\t\t <form action=\"photoAddAction.do\" method=\"post\" name=\"form\" enctype=\"multipart/form-data\" >\r\n");
out.write("\r\n");
out.write(" <table width=\"376\" border=\"1\" cellpadding=\"1\" cellspacing=\"1\" bordercolor=\"#FFFFFF\" bgcolor=\"#9A9EC5\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"66\" height=\"30\"><div align=\"center\">上传地址:</div></td>\r\n");
out.write(" <td width=\"282\" bgcolor=\"#FFFFFF\">\r\n");
out.write(" <div align=\"left\">\r\n");
out.write(" <input name=\"formfile\" type=\"file\" class=\"inputinput\" size=\"30\">\r\n");
out.write(" </div></td></tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">相片描述:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\">\r\n");
out.write(" <div align=\"left\">\r\n");
out.write(" <input name=\"photoDescription\" type=\"text\" class=\"inputinput\" size=\"30\">\r\n");
out.write(" </div></td></tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">上传时间:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\">\r\n");
out.write(" <div align=\"left\">\r\n");
out.write(" <input name=\"photoTime\" type=\"text\" class=\"inputinput\" onClick=\"alert('此文本框已设为只读,用户不能修改')\" value=\"");
out.print(current.getCurrentTime());
out.write("\" size=\"30\" readonly=\"readonly\">\r\n");
out.write(" </div></td></tr>\r\n");
out.write(" </table>\r\n");
out.write(" <table width=\"494\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"494\">\r\n");
out.write("\t\t\t\t<br>\r\n");
out.write("\t\t\t\t<div align=\"center\" class=\"style1\">注意:图片的格式只能为:“JPG”,“jpg”,“gif”,“bmp”,“BMP”格式</div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" <br>\r\n");
out.write(" <input type=\"image\" class=\"inputinputinput\" src=\"myimage/save.gif\">\r\n");
out.write(" \r\n");
out.write(" <a href=\"\"><img src=\"myimage/reset.gif\" width=\"51\" height=\"20\" alt=\"\"></a>\r\n");
out.write(" </form>\r\n");
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" <table width=\"227\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img src=\"myimage/back_noword_18.jpg\" width=\"573\" height=\"21\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></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)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -