📄 dms_0002farchive_0002fchoosecategoryno_0002ejsp_jsp.java
字号:
package DMS.archive;
import java.util.*;
import com.jasson.common.ExtendString;
import com.jasson.business.archive.ArchiveCaseDAO;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class DMS_0002farchive_0002fChooseCategoryNO_0002ejsp_jsp extends HttpJspBase {
static {
}
public DMS_0002farchive_0002fChooseCategoryNO_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/ChooseCategoryNO.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(1,34);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(2,53);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(3,62);to=(4,0)]
out.write("\r\n");
// end
// begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(4,2);to=(7,0)]
ArchiveCaseDAO[] aArchiveCaseDAO = (ArchiveCaseDAO[])request.getAttribute("aArchiveCaseDAO");
// end
// HTML // begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(7,2);to=(33,0)]
out.write("\r\n<html>\r\n<head>\r\n\r\n<title>\r\n 選擇分類號\r\n</title>\r\n\r\n</head>\r\n<script language =\"JavaScript\">\r\nfunction ChooseCategory()\r\n{\r\n window.returnValue=ChooseCategoryForm.strSelectedCategoryNO.value;\r\n window.close();\r\n}\r\n</script>\r\n<body onload=\"window.returnValue=''\">\r\n<center>\r\n<form name=\"ChooseCategoryForm\" >\r\n<table>\r\n<tr>\r\n <td>請選擇分類號:\r\n </td>\r\n <td>\r\n <select name =\"strSelectedCategoryNO\">\r\n <option value=\"\">::請選擇::</option>\r\n");
// end
// begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(33,2);to=(38,0)]
if (aArchiveCaseDAO!=null)
{
for(int i = 0; i < aArchiveCaseDAO.length; i++)
{
// end
// HTML // begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(38,2);to=(39,18)]
out.write("\r\n\t\t\t<option value=\"");
// end
// begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(39,21);to=(39,55)]
out.print(aArchiveCaseDAO[i].getCategoryNO());
// end
// HTML // begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(39,57);to=(39,59)]
out.write("\">");
// end
// begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(39,62);to=(39,96)]
out.print(aArchiveCaseDAO[i].getCategoryNO());
// end
// HTML // begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(39,98);to=(40,0)]
out.write("</option>\r\n");
// end
// begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(40,2);to=(43,0)]
}
}
// end
// HTML // begin [file="/DMS/archive/ChooseCategoryNO.jsp";from=(43,2);to=(56,0)]
out.write("\r\n </select>\r\n </td>\r\n</tr>\r\n</table><br>\r\n<input type=\"button\" value=\"確定\" onClick = \"ChooseCategory()\">\r\n<input type=\"button\" value=\"取消\" onClick=\"javaScript:window.close();\">\r\n\r\n</form>\r\n</center>\r\n</body>\r\n\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 + -