📄 _showprovince__jsp.java
字号:
/*
* JSP generated by Resin 2.0.0 (built Fri Jun 8 12:04:24 PDT 2001)
*/
import java.io.*;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import javax.servlet.http.*;
import java.util.*;
public class _showprovince__jsp extends com.caucho.jsp.JavaPage{
private boolean isDead;
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 {
//@ page contentType="text/vnd.wap.wml;charset=gb2312"
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
String province = request.getParameter("province"); //byte[] s = province.getBytes("UTF-8"); //out.println(province);
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
if(province.equals("db")){
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
}else if(province.equals("hb")){
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
}else if(province.equals("hd")){ /*安徽 江苏 江西 山东 上海 浙江 */
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
}else if(province.equals("hn")){ /* 福建 广东 广西 海南 */
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
}else if(province.equals("hz")){ /* 河南 湖北 湖南 */
pageContext.write(_jsp_string6, 0, _jsp_string6.length);
}else if(province.equals("xb")){ /* 甘肃 宁夏 青海 陕西 新疆 */
pageContext.write(_jsp_string7, 0, _jsp_string7.length);
}else if(province.equals("xn")){ /* 贵州 四川 云南 西藏 */
pageContext.write(_jsp_string8, 0, _jsp_string8.length);
}else if(province.equals("go")){ /* 澳门 台湾 香港 */
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
}
pageContext.write(_jsp_string10, 0, _jsp_string10.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
private com.caucho.java.LineMap _caucho_line_map;
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public boolean _caucho_isModified()
{
if (isDead)
return true;
if (com.caucho.util.CauchoSystem.getVersionId() != 2058989997)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Depend depend;
depend = (com.caucho.vfs.Depend) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public com.caucho.java.LineMap _caucho_getLineMap()
{
return _caucho_line_map;
}
public void destroy()
{
isDead = true;
super.destroy();
}
public void init(com.caucho.java.LineMap lineMap,
com.caucho.vfs.Path appDir)
throws javax.servlet.ServletException
{
com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome();
com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
mergePath.addMergePath(appDir);
mergePath.addMergePath(resinHome);
mergePath.addClassPath(getClass().getClassLoader());
_caucho_line_map = new com.caucho.java.LineMap("_showprovince__jsp.java", "/showprovince.jsp");
_caucho_line_map.add(1, 1);
_caucho_line_map.add(1, 29);
_caucho_line_map.add(2, 31);
_caucho_line_map.add(13, 43);
_caucho_line_map.add(27, 55);
_caucho_line_map.add(42, 73);
_caucho_line_map.add(56, 91);
_caucho_line_map.add(68, 107);
_caucho_line_map.add(84, 127);
_caucho_line_map.add(98, 145);
_caucho_line_map.add(109, 161);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/d:/WAPServer/jsp/showprovince.jsp"), 1090236570000L, 4004L);
_caucho_depends.add(depend);
}
private static byte []_jsp_string1;
private static byte []_jsp_string6;
private static byte []_jsp_string7;
private static byte []_jsp_string9;
private static byte []_jsp_string8;
private static byte []_jsp_string5;
private static byte []_jsp_string10;
private static byte []_jsp_string4;
private static byte []_jsp_string0;
private static byte []_jsp_string2;
private static byte []_jsp_string3;
static {
try {
_jsp_string1 = "\r\n<?xml version=\"1.0\" encoding=\"gb2312\"?>\r\n<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\r\n<wml>\r\n<card id = \"main\" title = \"华风天气服务--请选择省\">\r\n".getBytes("GB2312");
_jsp_string6 = "\r\n<a href=\"showcity.jsp?cityName=40\"><img src=\"icon/title2.png\" alt=\"\"/>河南</a><br/>\r\n <a href=\"showcity.jsp?cityName=28\"><img src=\"icon/title2.png\" alt=\"\"/>湖北</a><br/>\r\n <a href=\"showcity.jsp?cityName=29\"><img src=\"icon/title2.png\" alt=\"\"/>湖南</a><br/>\r\n \r\n ".getBytes("GB2312");
_jsp_string7 = "\r\n <a href=\"showcity.jsp?cityName=16\"><img src=\"icon/title2.png\" alt=\"\"/>甘肃</a><br/>\r\n <a href=\"showcity.jsp?cityName=27\"><img src=\"icon/title2.png\" alt=\"\"/>宁夏</a><br/>\r\n <a href=\"showcity.jsp?cityName=15\"><img src=\"icon/title2.png\" alt=\"\"/>青海</a><br/>\r\n <a href=\"showcity.jsp?cityName=39\"><img src=\"icon/title2.png\" alt=\"\"/>陕西</a><br/>\r\n <a href=\"showcity.jsp?cityName=25\"><img src=\"icon/title2.png\" alt=\"\"/>新疆</a><br/>\r\n\r\n ".getBytes("GB2312");
_jsp_string9 = "\r\n<a href=\"showcity.jsp?cityName=21\"><img src=\"icon/title2.png\" alt=\"\"/>澳门</a><br/>\r\n <a href=\"showcity.jsp?cityName=9\"><img src=\"icon/title2.png\" alt=\"\"/>台湾</a><br/>\r\n <a href=\"showcity.jsp?cityName=20\"><img src=\"icon/title2.png\" alt=\"\"/>香港</a><br/>\r\n ".getBytes("GB2312");
_jsp_string8 = "\r\n<a href=\"showcity.jsp?cityName=30\"><img src=\"icon/title2.png\" alt=\"\"/>贵州</a><br/>\r\n <a href=\"showcity.jsp?cityName=17\"><img src=\"icon/title2.png\" alt=\"\"/>四川</a><br/>\r\n <a href=\"showcity.jsp?cityName=38\"><img src=\"icon/title2.png\" alt=\"\"/>云南</a><br/>\r\n <a href=\"showcity.jsp?cityName=14\"><img src=\"icon/title2.png\" alt=\"\"/>西藏</a><br/>\r\n\r\n ".getBytes("GB2312");
_jsp_string5 = "\r\n<a href=\"showcity.jsp?cityName=5\"><img src=\"icon/title2.png\" alt=\"\"/>福建</a><br/>\r\n <a href=\"showcity.jsp?cityName=7\"><img src=\"icon/title2.png\" alt=\"\"/>广东</a><br/>\r\n <a href=\"showcity.jsp?cityName=6\"><img src=\"icon/title2.png\" alt=\"\"/>广西</a><br/>\r\n <a href=\"showcity.jsp?cityName=8\"><img src=\"icon/title2.png\" alt=\"\"/>海南</a><br/>\r\n \r\n ".getBytes("GB2312");
_jsp_string10 = "\r\n</card>\r\n\r\n</wml>".getBytes("GB2312");
_jsp_string4 = "\r\n<a href=\"showcity.jsp?cityName=2\"><img src=\"icon/title2.png\" alt=\"\"/>安徽</a><br/>\r\n <a href=\"showcity.jsp?cityName=31\"><img src=\"icon/title2.png\" alt=\"\"/>江苏</a><br/>\r\n <a href=\"showcity.jsp?cityName=4\"><img src=\"icon/title2.png\" alt=\"\"/>江西</a><br/>\r\n <a href=\"showcity.jsp?cityName=13\"><img src=\"icon/title2.png\" alt=\"\"/>山东</a><br/>\r\n <a href=\"showcity.jsp?cityName=32\"><img src=\"icon/title2.png\" alt=\"\"/>上海</a><br/>\r\n <a href=\"showcity.jsp?cityName=3\"><img src=\"icon/title2.png\" alt=\"\"/>浙江</a><br/>\r\n".getBytes("GB2312");
_jsp_string0 = "\r\n".getBytes("GB2312");
_jsp_string2 = "\r\n <a href=\"showcity.jsp?cityName=22\"><img src=\"icon/title2.png\" alt=\"\"/>黑龙江</a><br/>\r\n <a href=\"showcity.jsp?cityName=24\"><img src=\"icon/title2.png\" alt=\"\"/>吉林</a><br/>\r\n <a href=\"showcity.jsp?cityName=10\"><img src=\"icon/title2.png\" alt=\"\"/>辽宁</a><br/>\r\n".getBytes("GB2312");
_jsp_string3 = "\r\n <a href=\"showcity.jsp?cityName=1\"><img src=\"icon/title2.png\" alt=\"\"/>北京</a><br/>\r\n <a href=\"showcity.jsp?cityName=11\"><img src=\"icon/title2.png\" alt=\"\"/>河北</a><br/>\r\n <a href=\"showcity.jsp?cityName=23\"><img src=\"icon/title2.png\" alt=\"\"/>内蒙</a><br/>\r\n <a href=\"showcity.jsp?cityName=26\"><img src=\"icon/title2.png\" alt=\"\"/>山西</a><br/>\r\n <a href=\"showcity.jsp?cityName=12\"><img src=\"icon/title2.png\" alt=\"\"/>天津</a><br/>\r\n".getBytes("GB2312");
} catch (java.io.UnsupportedEncodingException e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -