?? modulelist_jsp.java
字號:
package org.apache.jsp;
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 ModuleList_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 Module List Form
*/
out.write("\r\n");
out.write("\r\n");
out.write("\r\n\r\n");
ws.woa.core.ModuleInfo[] modules = null;
synchronized (request) {
modules = (ws.woa.core.ModuleInfo[]) pageContext.getAttribute("modules", PageContext.REQUEST_SCOPE);
if (modules == null){
try {
modules = (ws.woa.core.ModuleInfo[]) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "ws.woa.core.ModuleInfo[]");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "ws.woa.core.ModuleInfo[]", exc);
}
pageContext.setAttribute("modules", modules, PageContext.REQUEST_SCOPE);
}
}
out.write("\r\n\r\n");
out.write("<h2>モジュール一覧");
out.write("</h2>\r\n\r\n");
out.write("<TABLE BORDER>\r\n");
out.write("<TR>\r\n ");
out.write("<TH WIDTH=\"80\">Type");
out.write("</TH>\r\n ");
out.write("<TH WIDTH=\"100\">Title");
out.write("</TH>\r\n ");
out.write("<TH WIDTH=\"100\">Module Name");
out.write("</TH>\r\n ");
out.write("<TH WIDTH=\"100\">Version");
out.write("</TH>\r\n ");
out.write("<TH WIDTH=\"100\">Action");
out.write("</TH>\r\n ");
out.write("<TH WIDTH=\"100\">Creater");
out.write("</TH>\r\n");
out.write("</TR>\r\n");
for(int i=0;i<modules.length;i++){
out.write("\r\n ");
out.write("<TR>\r\n ");
out.write("<TD>");
out.print( StrUtil.tagFilter(StrUtil.nullConv(modules[i].getModuleType().getName())) );
out.write("</TD>\r\n ");
out.write("<TD>");
out.print( StrUtil.tagFilter(StrUtil.nullConv(modules[i].getMenuTitle())) );
out.write("</TD>\r\n ");
out.write("<TD>");
out.print( StrUtil.tagFilter(StrUtil.nullConv(modules[i].getModuleName())) );
out.write("</TD>\r\n ");
out.write("<TD>");
out.print( StrUtil.tagFilter(StrUtil.nullConv(modules[i].getVersion())) );
out.write("</TD>\r\n ");
out.write("<TD>");
out.print( StrUtil.tagFilter(StrUtil.nullConv(modules[i].getModuleAccessLevel().getName())) );
out.write("</TD>\r\n ");
out.write("<TD>");
out.print( StrUtil.tagFilter(StrUtil.nullConv(modules[i].getAuthor())) );
out.write("</TD>\r\n ");
out.write("</TR>\r\n");
}
out.write("\r\n");
out.write("</TABLE>\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);
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -