📄 editcase_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import bean.CaseAction;
import bean.CaseBean;
public final class editCase_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
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;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=GB18030");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n\r\n\r\n");
int caseid=0;
caseid=Integer.parseInt(request.getParameter("id"));
out.write('\r');
out.write('\n');
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
out.write("\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n<html>\r\n\t<head>\r\n\t\t<base href=\"");
out.print(basePath);
out.write("\">\r\n\r\n\t\t<title>网益科技有限公司---成功案例</title>\r\n\r\n\t\t<meta http-equiv=\"pragma\" content=\"no-cache\">\r\n\t\t<meta http-equiv=\"cache-control\" content=\"no-cache\">\r\n\t\t<meta http-equiv=\"expires\" content=\"0\">\r\n\t\t<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\r\n\t\t<meta http-equiv=\"description\" content=\"This is my page\">\r\n\t\t<!--\r\n\t<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">\r\n\t-->\r\n\r\n\t</head>\r\n\r\n\t<body>\r\n\t\t<div align=\"center\">\r\n\t\t\t<form id=\"form1\" name=\"form1\" method=\"post\" action=\"editServletCase?id=");
out.print(caseid );
out.write("\">\r\n\t\t\t\t<table width=\"720\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td width=\"711\" height=\"26\" valign=\"top\">\r\n\t\t\t\t\t\t\t<div align=\"center\" class=\"STYLE1\">\r\n\t\t\t\t\t\t\t\t案例:\r\n\t\t\t\t\t\t\t\t<select name=\"select1\">\r\n\t\t\t\t\t\t\t\t\t<option>\r\n\t\t\t\t\t\t\t\t\t\t软件成功案例\r\n\t\t\t\t\t\t\t\t\t</option>\r\n\t\t\t\t\t\t\t\t\t<option>\r\n\t\t\t\t\t\t\t\t\t\t网站成功案例\r\n\t\t\t\t\t\t\t\t\t</option>\r\n\t\t\t\t\t\t\t\t</select>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<B><hr /> </B>\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t<td width=\"9\">\r\n\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t");
CaseAction action=new CaseAction();
ArrayList list=new ArrayList();
list=action.getIDBeanMessage(caseid);
for(int i=0;i<list.size();i++)
{
CaseBean bean=(CaseBean)list.get(i);
out.write("\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td height=\"24\" valign=\"top\">\r\n\t\t\t\t\t\t\t<div align=\"left\">\r\n\t\t\t\t\t\t\t\t案例标题:\r\n\t\t\t\t\t\t\t\t<input name=\"nametitle\" type=\"text\" size=\"36\" maxlength=\"50\" value=\"");
out.print(bean.getCaseName() );
out.write("\"/>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td height=\"20\" valign=\"top\">\r\n\t\t\t\t\t\t\t<div align=\"left\">\r\n\t\t\t\t\t\t\t\t产品介绍:\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td height=\"126\" valign=\"top\">\r\n\t\t\t\t\t\t\t<label>\r\n\t\t\t\t\t\t\t\t<div align=\"left\">\r\n\t\t\t\t\t\t\t\t\t<textarea name=\"textarea\" cols=\"80\" rows=\"9\">");
out.print(bean.getCIntrduction() );
out.write("</textarea>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td height=\"28\" valign=\"top\">\r\n\t\t\t\t\t\t\t<div align=\"left\">\r\n\t\t\t\t\t\t\t\t图片地址:\r\n\r\n\t\t\t\t\t\t\t\t<label>\r\n\t\t\t\t\t\t\t\t\t<input name=\"textfield\" type=\"file\" size=\"25\" value=\"");
out.print(bean.getCaseImage() );
out.write("\" />\r\n\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td height=\"36\" valign=\"top\">\r\n\t\t\t\t\t\t\t<div align=\"left\">\r\n\t\t\t\t\t\t\t\t使用公司:\r\n\t\t\t\t\t\t\t\t<input name=\"comple\" type=\"text\" size=\"25\" value=\"");
out.print(bean.getCaseComp() );
out.write("\"/>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t");
}
out.write("\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td height=\"40\">\r\n\t\t\t\t\t\t\t<div align=\"center\">\r\n\t\t\t\t\t\t\t\t<FONT color=\"#000000\"> <INPUT name=\"Submit\" type=\"submit\"\r\n\t\t\t\t\t\t\t\t\t\tvalue=\"发 表\"> <INPUT name=\"Submit2\"\r\n\t\t\t\t\t\t\t\t\t\ttype=\"reset\" value=\"清 除\"> </FONT>\r\n\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t</table>\r\n\t\t\t</form>\r\n\t\t</div>\r\n\t</body>\r\n</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -