📄 dms_0002fdocument_0002fchangedoc_0002ejsp_jsp.java
字号:
package DMS.document;
import java.util.*;
import com.jasson.common.ExtendString;
import com.jasson.business.document.SendTargetDAO;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class DMS_0002fdocument_0002fChangeDoc_0002ejsp_jsp extends HttpJspBase {
static {
}
public DMS_0002fdocument_0002fChangeDoc_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/document/ChangeDoc.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(1,34);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(2,53);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(3,65);to=(47,0)]
out.write("\r\n<html>\r\n \r\n<head>\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<script language=\"javascript\">\r\n<!--//\r\nfunction onButClick()\r\n{ \r\n //form1.action=\"ChangeDebug.jsp\";\r\n form1.submit();\r\n}\r\nfunction sel()\r\n{ \r\n try{\r\n\t if(form1.strValues.length>0)\r\n\t for(i=0;i<form1.strValues.length;i++)\r\n\t form1.strValues[i].checked=!form1.strValues[i].checked;\r\n\t else \r\n\t form1.strValues.checked=!form1.strValues.checked;\r\n\t }\r\n catch(exception)\r\n {\r\n }\t \r\n}\r\n//-->\r\n</script>\r\n</head>\r\n \r\n<body>\r\n<form name=\"form1\" action=\"/WebAgenda/servlet/ChangeDocServlet\" method=post> \r\n<table border=\"1\" width=\"80%\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n <td width=\"20%\" bgcolor=\"#0099FF\" align=\"center\">文號/創稿號 </td>\r\n <td width=\"20%\" bgcolor=\"#0099FF\" align=\"center\">發文字號</td>\r\n <td width=\"20%\" bgcolor=\"#0099FF\" align=\"center\">發文對象</td>\r\n <td width=\"20%\" bgcolor=\"#0099FF\" align=\"center\">正副本別</td>\r\n <td width=\"20%\" bgcolor=\"#0099FF\" align=\"center\">\r\n <p><input type=\"checkbox\" name=\"C1\" value=\"ON\" onclick=\"sel()\"></p>\r\n </td>\r\n </tr>\r\n");
// end
// begin [file="/DMS/document/ChangeDoc.jsp";from=(47,2);to=(57,0)]
SendTargetDAO sendTargetDAO=new SendTargetDAO();
SendTargetDAO[] strSelArr = (SendTargetDAO[])request.getAttribute("SendTargetDAO");
int i=0;
String temp;
ExtendString ExStr = new ExtendString();
if (strSelArr!=null)
{
for(i=0; i<strSelArr.length; i++)
{
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(57,2);to=(59,16)]
out.write("\r\n<tr>\r\n<td width=\"20%\">");
// end
// begin [file="/DMS/document/ChangeDoc.jsp";from=(59,19);to=(59,108)]
out.print(ExStr.nullToSpace(strSelArr[i].getFileNO())+ExStr.nullToSpace(strSelArr[i].getCreateNO()));
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(59,110);to=(60,16)]
out.write(" </td>\r\n<td width=\"20%\">");
// end
// begin [file="/DMS/document/ChangeDoc.jsp";from=(60,19);to=(60,43)]
out.print(strSelArr[i].getSendNO());
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(60,45);to=(61,16)]
out.write(" </td>\r\n<td width=\"20%\">");
// end
// begin [file="/DMS/document/ChangeDoc.jsp";from=(61,19);to=(61,47)]
out.print(strSelArr[i].getTargetName());
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(61,49);to=(63,0)]
out.write("</td>\r\n<td width=\"20%\">\r\n");
// end
// begin [file="/DMS/document/ChangeDoc.jsp";from=(63,2);to=(68,0)]
if(strSelArr[i].getIsCopy().equals("1"))
out.print("正");
else
out.print("副");
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(68,2);to=(69,62)]
out.write(" </td>\r\n<td width=\"5%\"><input type=\"checkbox\" name=\"strValues\" value=\"");
// end
// begin [file="/DMS/document/ChangeDoc.jsp";from=(69,65);to=(69,89)]
out.print(strSelArr[i].getSendNO());
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(69,91);to=(69,92)]
out.write(";");
// end
// begin [file="/DMS/document/ChangeDoc.jsp";from=(69,95);to=(69,124)]
out.print(strSelArr[i].getRecipientID());
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(69,126);to=(71,0)]
out.write("\" > </td>\r\n</tr>\r\n");
// end
// begin [file="/DMS/document/ChangeDoc.jsp";from=(71,2);to=(74,0)]
}//end for
}//end if (strSelArr!=null)
// end
// HTML // begin [file="/DMS/document/ChangeDoc.jsp";from=(74,2);to=(82,1)]
out.write("\r\n</table>\r\n<div>\r\n<input type=\"button\" value=\"注名電子交換\" name=\"TelChangeOK\" onclick=\"return onButClick();\">\r\n</div>\r\n</body>\r\n </form>\r\n</html>\r\n ");
// end
} catch (Throwable t) {
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -