?? grouplist_jsp.java
字號(hào):
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.net.*;
import ws.woa.core.*;
import ws.woa.util.*;
public class GroupList_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 Group Management, List Form
*/
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n\r\n");
ws.woa.core.GroupInfo[] groups = null;
synchronized (request) {
groups = (ws.woa.core.GroupInfo[]) pageContext.getAttribute("groups", PageContext.REQUEST_SCOPE);
if (groups == null){
try {
groups = (ws.woa.core.GroupInfo[]) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "ws.woa.core.GroupInfo[]");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "ws.woa.core.GroupInfo[]", exc);
}
pageContext.setAttribute("groups", groups, PageContext.REQUEST_SCOPE);
}
}
out.write("\r\n\r\n");
out.write("<h2>グループ管理");
out.write("</h2>\r\n\r\n[ ");
out.write("<A HREF=\"group.module?INSERT_FORM=yes\">グループの追加");
out.write("</A> ]");
out.write("<BR>\r\n\r\n");
out.write("<TABLE BORDER>\r\n");
out.write("<TR>\r\n");
out.write("<!-- ");
out.write("<TH WIDTH=\"100\">GroupID");
out.write("</TH> -->\r\n ");
out.write("<TH WIDTH=\"150\">GroupName");
out.write("</TH>\r\n ");
out.write("<TH>GroupType");
out.write("</TH>\r\n ");
out.write("<TH>UseFlag");
out.write("</TH>\r\n ");
out.write("<TH>CreateDate");
out.write("</TH>\r\n ");
out.write("<TH>Operation");
out.write("</TH>\r\n");
out.write("</TR>\r\n");
for(int i=0;i<groups.length;i++){
out.write("\r\n");
out.write("<TR>\r\n");
out.write("<!-- ");
out.write("<TD>");
out.print( groups[i].getGroupID() );
out.write("</TD> -->\r\n ");
out.write("<TD>");
out.print( StrUtil.tagFilter(groups[i].getGroupName()) );
out.write("</TD>\r\n ");
out.write("<TD>");
out.print( groups[i].getGroupType() );
out.write("</TD>\r\n ");
out.write("<TD>");
out.print( groups[i].getUseString() );
out.write("</TD>\r\n ");
out.write("<TD>");
out.print( StrUtil.formatDate(groups[i].getAddDate()) );
out.write("</TD>\r\n");
out.write("<!-- ");
out.write("<TD>");
out.print( groups[i].getRepDate() );
out.write("</TD> -->\r\n ");
out.write("<TD>\r\n [ ");
out.write("<A HREF=\"group.module?UPDATE_FORM=");
out.print( groups[i].getGroupID() );
out.write("\">変更");
out.write("</A> ]\r\n ");
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);
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -