📄 index_jsp.java
字号:
package org.apache.jsp.mail;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
public Object 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=UTF-8");
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("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
out.write("<link href=\"../css/left.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("</head>\r\n");
out.write("<body topmargin=\"0px\">\r\n");
out.write("<table width=\"100%\" height=\"500\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"20\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"left\" valign=\"top\"><table width=\"600\" border=\"0\" align=\"left\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#F5f7f7\">\r\n");
out.write(" <form name=\"form1\" method=\"post\" action=\"sendMail.jsp\" >\r\n");
out.write(" <tr align=\"center\">\r\n");
out.write(" <td height=\"27\" colspan=\"2\"><div id=\"reg\"><font color=red>发送邮件</font></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"200\" height=\"22\" align=\"center\">smtp服务器(和发送人邮件地址对应):</td>\r\n");
out.write(" <td width=\"300\"><input type=\"text\" name=\"smtpserver\">*例如:smtp.sohu.com</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"200\" height=\"22\" align=\"center\">发件人信箱:</td>\r\n");
out.write(" <td width=\"300\"><input type=\"text\" name=\"sfrom\">*mm@ss.com</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"200\" height=\"22\" align=\"center\">发件人信箱密码:</td>\r\n");
out.write(" <td width=\"300\"><input type=\"password\" name=\"pass\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"200\" height=\"22\" align=\"center\">收件人1:</td>\r\n");
out.write(" <td width=\"300\"><input type=\"text\" name=\"from\">*mmm@sss.com</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"22\" align=\"center\">收件人2:</td>\r\n");
out.write(" <td height=\"22\"><input type=\"text\" name=\"from\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"22\" align=\"center\">收件人3:</td>\r\n");
out.write(" <td height=\"22\"><input type=\"text\" name=\"from\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"22\" align=\"center\">收件人4:</td>\r\n");
out.write(" <td height=\"22\"><input type=\"text\" name=\"from\"></td>\r\n");
out.write(" </tr> \r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"22\" align=\"center\">主 题:</td>\r\n");
out.write(" <td height=\"22\"><input name=\"subject\" type=\"text\" size=\"35\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"22\" align=\"center\">附 件:</td>\r\n");
out.write(" <td height=\"22\"> <input type=\"text\" name=\"file\">例如:c:\\\\\\\\boot.ini</td>\r\n");
out.write(" </tr>\r\n");
out.write(" \r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"22\" colspan=\"2\" align=\"center\">内 容:</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"22\" colspan=\"2\" align=\"center\"><textarea name=\"message\" cols=\"60\" rows=\"6\"></textarea></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"27\" colspan=\"2\" align=\"center\"><input type=\"submit\" name=\"Submit\" value=\"确定\">\r\n");
out.write(" \r\n");
out.write(" <input type=\"reset\" name=\"Submit2\" value=\"重置\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </form>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"20\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("</body>\r\n");
out.write("</html>");
} 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 + -