01: package org.apache.jsp;
02:
03: import javax.servlet.*;
04: import javax.servlet.http.*;
05: import javax.servlet.jsp.*;
06: import org.apache.jasper.runtime.*;
07:
08: public class mainwindow_jsp extends HttpJspBase {
09:
10: private static java.util.Vector _jspx_includes;
11:
12: public java.util.List getIncludes() {
13: return _jspx_includes;
14: }
15:
16: public void _jspService(HttpServletRequest request,
17: HttpServletResponse response) throws java.io.IOException,
18: ServletException {
19:
20: JspFactory _jspxFactory = null;
21: javax.servlet.jsp.PageContext pageContext = null;
22: HttpSession session = null;
23: ServletContext application = null;
24: ServletConfig config = null;
25: JspWriter out = null;
26: Object page = this ;
27: JspWriter _jspx_out = null;
28:
29: try {
30: _jspxFactory = JspFactory.getDefaultFactory();
31: response.setContentType("text/html;charset=ISO-8859-1");
32: pageContext = _jspxFactory.getPageContext(this , request,
33: response, null, true, 8192, true);
34: application = pageContext.getServletContext();
35: config = pageContext.getServletConfig();
36: session = pageContext.getSession();
37: out = pageContext.getOut();
38: _jspx_out = out;
39:
40: //The incoming request is from a WAP Phone, send it to the WAP interface.
41: if (request.getHeader("x-up-subno") != null) {
42: RequestDispatcher rd = request
43: .getRequestDispatcher("login.wml.jsp");
44: if (rd != null)
45: rd.forward(request, response);
46: }
47:
48: out.write("\r\n\r\n");
49: out
50: .write("<FRAMESET NAME=mainwindowframe ROWS=\"60, *\">\r\n\t\t\t");
51: out
52: .write("<FRAME name=topbar id=topbar SRC=\"topbar\" scrolling=no noresize frameborder=0>\r\n\t\t\t");
53: out
54: .write("<FRAME name=\"content\" id=\"content\" SRC=\"frontpage\" noresize frameborder=0>\r\n");
55: out.write("</FRAMESET>\r\n");
56: } catch (Throwable t) {
57: out = _jspx_out;
58: if (out != null && out.getBufferSize() != 0)
59: out.clearBuffer();
60: if (pageContext != null)
61: pageContext.handlePageException(t);
62: } finally {
63: if (_jspxFactory != null)
64: _jspxFactory.releasePageContext(pageContext);
65: }
66: }
67: }
|