📄 dms_0002farchive_0002fcategoryinfo_0002ejsp_jsp.java
字号:
package DMS.archive;
import java.lang.*;
import com.jasson.business.archive.*;
import com.jasson.common.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class DMS_0002farchive_0002fCategoryInfo_0002ejsp_jsp extends HttpJspBase {
static {
}
public DMS_0002farchive_0002fCategoryInfo_0002ejsp_jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
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;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=BIG5");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(0,48);to=(1,0)]
out.write(" \r\n");
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(1,31);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(2,49);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(3,39);to=(4,0)]
out.write("\r\n");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(4,2);to=(8,0)]
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(8,2);to=(9,0)]
out.write("\r\n");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(9,2);to=(126,0)]
String categoryNO=request.getParameter("categoryNO");
String[] DetailNO=(String[])request.getParameterValues("DetailNO");
//out.println("categoryNO:"+categoryNO);
String categoryName=(String)request.getParameter("categoryName");
//ExtendString exStr=new ExtendString();
if(!categoryName.equals("")){
//categoryName=exStr.paraDecode(categoryName);
}
//out.println(categoryName+":categoryName");
if(categoryName==null)
categoryName="";
String[] A={"","","",""};
String act=request.getParameter("act");
String actName="修改";
if(act.equals("add"))
actName="新增";
String sign=request.getParameter("sign");
String status=request.getParameter("ActivateTag");
//out.println(status+":status");
String detailTag="";
String temp1="";
String temp2="";
String temp3="";
String temp4="";
String handleName="";
String oldDetailNO="";
if(!categoryNO.equals(""))
{
if(act.equals("add")){
categoryNO=categoryNO+"00";
}
int len=categoryNO.length();
int parseInt=2;
if(parseInt<=len){
temp1=categoryNO.substring(0,parseInt);
A[0]="";
A[1]="readonly";
A[2]="readonly";
A[3]="readonly";
if(act.equals("add")){
temp1="";
categoryName="";
}
parseInt=4;
detailTag="1";
handleName="類";
if(parseInt<=len){
temp1=categoryNO.substring(0,2);
temp2=categoryNO.substring(2,parseInt);
A[0]="readonly";
A[1]="";
A[2]="readonly";
A[3]="readonly";
if(act.equals("add")){
temp2="";
categoryName="";
}
parseInt=6;
detailTag="2";
handleName="綱";
if(parseInt<=len){
temp1=categoryNO.substring(0,2);
temp2=categoryNO.substring(2,4);
temp3=categoryNO.substring(4,parseInt);
A[0]="readonly";
A[1]="readonly";
A[2]="";
A[3]="readonly";
if(act.equals("add")){
temp3="";
categoryName="";
}
parseInt=8;
detailTag="3";
handleName="目";
if(parseInt<=len){
temp1=categoryNO.substring(0,2);
temp2=categoryNO.substring(2,4);
temp3=categoryNO.substring(4,6);
temp4=categoryNO.substring(6);
A[0]="readonly";
A[1]="readonly";
A[2]="readonly";
A[3]="";
if(act.equals("add")){
temp4="";
categoryName="";
}
detailTag="4";
handleName="節";
}
}
}
}
}
else
{
detailTag="1";
handleName="類";
A[0]="";
A[1]="readonly";
A[2]="readonly";
A[3]="readonly";
}
if(sign.equals("one")){
oldDetailNO=temp1;
}
if(sign.equals("two")){
oldDetailNO=temp2;
}
if(sign.equals("three")){
oldDetailNO=temp3;
}
if(sign.equals("four")){
oldDetailNO=temp4;
}
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(126,2);to=(141,48)]
out.write("\r\n<html> \r\n<head>\r\n<meta http-equiv=\"Content-Language\" content=\"zh-tw\">\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=big5\">\r\n<meta name=\"GENERATOR\" content=\"Microsoft FrontPage 4.0\">\r\n<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">\r\n<title>::類.綱.目.節::</title>\r\n</head>\r\n \r\n<body onload=\"on_load()\"> \r\n<form name=\"form1\" target=\"basefrm\" method=\"post\">\r\n<table border=\"1\" width=\"95%\">\r\n \r\n <tr>\r\n <td width=\"100%\" align=\"center\" colspan=\"2\">");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(141,51);to=(141,77)]
out.print((handleName+"---"+actName));
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(141,79);to=(146,82)]
out.write("</td>\r\n </tr>\r\n \r\n <tr>\r\n <td width=\"22%\" align=\"center\" rowspan=\"4\">編目編號</td>\r\n <td width=\"78%\" align=\"center\">類<input type=\"text\" name=\"T1\" size=\"13\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(146,85);to=(146,90)]
out.print(temp1);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(146,92);to=(146,94)]
out.write("\" ");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(146,97);to=(146,101)]
out.print(A[0]);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(146,103);to=(149,82)]
out.write("></td>\r\n </tr>\r\n <tr>\r\n <td width=\"78%\" align=\"center\">綱<input type=\"text\" name=\"T2\" size=\"13\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(149,85);to=(149,90)]
out.print(temp2);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(149,92);to=(149,94)]
out.write("\" ");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -