userinfo_0002ejsp_jsp.java
来自「一个自己做的公司网站和办公职员管理系统。」· Java 代码 · 共 127 行
JAVA
127 行
package ui.core;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import ws.woa.core.*;
import ws.woa.util.*;
public class UserInfo_0002ejsp_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=Shift_JIS");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
/**
* WOA User Information Form
*/
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
ws.woa.core.UserInfo info = null;
synchronized (request) {
info = (ws.woa.core.UserInfo) pageContext.getAttribute("info", PageContext.REQUEST_SCOPE);
if (info == null){
try {
info = (ws.woa.core.UserInfo) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "ws.woa.core.UserInfo");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "ws.woa.core.UserInfo", exc);
}
pageContext.setAttribute("info", info, PageContext.REQUEST_SCOPE);
}
}
out.write("\r\n\r\n");
out.write("<H2>Personal Information - ");
out.print( info.getName() );
out.write("</H2>\r\n\r\n");
out.write("<TABLE BORDER>\r\n");
out.write("<TR>\r\n ");
out.write("<TH>Account");
out.write("</TH>\r\n ");
out.write("<TD WIDTH=\"200\">");
out.print( StrUtil.tagFilter(info.getAccount()) );
out.write("</TD>\r\n");
out.write("</TR>\r\n");
out.write("<TR>\r\n ");
out.write("<TH>Group");
out.write("</TH>\r\n ");
out.write("<TD>");
out.print( StrUtil.tagFilter(info.getGroupType().toString()) );
out.write("</TD>\r\n");
out.write("</TR>\r\n");
out.write("<TR>\r\n ");
out.write("<TH>Name");
out.write("</TH>\r\n ");
out.write("<TD>");
out.print( StrUtil.tagFilter(info.getName()) );
out.write("</TD>\r\n");
out.write("</TR>\r\n");
out.write("<TR>\r\n ");
out.write("<TH>Email");
out.write("</TH>\r\n ");
out.write("<TD>");
out.print(StrUtil.formFilter(info.getMail()));
out.write("</TD>\r\n");
out.write("</TR>\r\n");
out.write("<TR>\r\n ");
out.write("<TH>Tel");
out.write("</TH>\r\n ");
out.write("<TD>");
out.print(StrUtil.formFilter(info.getTel()));
out.write("</TD>\r\n");
out.write("</TR>\r\n");
out.write("<TR>\r\n ");
out.write("<TH>Address");
out.write("</TH>\r\n ");
out.write("<TD>");
out.print(StrUtil.formFilter(info.getAddress()));
out.write("</TD>\r\n");
out.write("</TR>\r\n");
out.write("</TABLE>\r\n\r\n");
out.write("<FORM>\r\n ");
out.write("<INPUT TYPE=\"BUTTON\" VALUE=\"Go Back\" onClick=\"history.back()\">\r\n");
out.write("</FORM>\r\n");
} catch (Throwable t) {
out = _jspx_out;
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 + =
减小字号Ctrl + -
显示快捷键?