📄 _steeltype_0add__jsp.java
字号:
/*
* JSP generated by Resin 2.1.4 (built Fri Aug 2 14:16:52 PDT 2002)
*/
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.*;
import java.lang.*;
public class _steeltype_0add__jsp extends com.caucho.jsp.JavaPage{
private boolean _caucho_isDead;
ResultSet rs1;
ResultSet rs2;
ResultSet rs3;
int Id1,Id2,i;
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true);
javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
javax.servlet.http.HttpSession session = pageContext.getSession();
javax.servlet.ServletContext application = pageContext.getServletContext();
response.setContentType("text/html;charset=GB2312");
request.setCharacterEncoding("GB2312");
try {
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
sk.SteelType SteelType;
SteelType = (sk.SteelType) pageContext.getAttribute("SteelType");
if (SteelType == null) {
SteelType = new sk.SteelType();
pageContext.setAttribute("SteelType", SteelType);
}
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
String bianji="bj";
String shichang="sc";
String admin="zh";
if(session.getValue("type").toString().equals("admin"))
;
else response.sendRedirect("login.htm");
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
rs1=SteelType.getChannelL1RS();
rs1.first();
if(rs1.isFirst()){
while(true){
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
out.print((rs1.getObject(1).toString()));
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print((rs1.getObject(2).toString()));
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
if(!rs1.next()){break;}
}
}
pageContext.write(_jsp_string6, 0, _jsp_string6.length);
rs1.first();
if(rs1.isFirst()){
rs2=SteelType.getChannelL2RS();
while(true){
Id1=rs1.getInt(1);
pageContext.write(_jsp_string7, 0, _jsp_string7.length);
out.print(("Level2"+Id1));
pageContext.write(_jsp_string8, 0, _jsp_string8.length);
out.print((rs1.getString(2)+"子频道"));
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
rs2.first();
if(rs2.isFirst()){
i=0;
while(true){
Id2=rs2.getInt(5);
if(Id2==Id1){
pageContext.write(_jsp_string10, 0, _jsp_string10.length);
out.print((rs2.getObject(1).toString()));
pageContext.write(_jsp_string11, 0, _jsp_string11.length);
out.print((rs2.getObject(2).toString()));
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
}
if(!rs2.next()){
break;
}
}
}
pageContext.write(_jsp_string12, 0, _jsp_string12.length);
if(!rs1.next()){
break;
}}}
pageContext.write(_jsp_string13, 0, _jsp_string13.length);
rs2.first();
if(rs2.isFirst()){
rs3=SteelType.getChannelL3RS();
while(true){
Id1=rs2.getInt(1);
pageContext.write(_jsp_string7, 0, _jsp_string7.length);
out.print(("Level3"+Id1));
pageContext.write(_jsp_string14, 0, _jsp_string14.length);
out.print((rs2.getString(2)+"子频道"));
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
rs3.first();
if(rs3.isFirst()){
i=0;
while(true){
Id2=rs3.getInt(5);
if(Id2==Id1){
pageContext.write(_jsp_string10, 0, _jsp_string10.length);
out.print((rs3.getObject(1).toString()));
pageContext.write(_jsp_string11, 0, _jsp_string11.length);
out.print((rs3.getObject(2).toString()));
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
}
if(!rs3.next()){
break;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -