KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jsp > login_jsp


1 package org.apache.jsp;
2
3 import javax.servlet.*;
4 import javax.servlet.http.*;
5 import javax.servlet.jsp.*;
6 import org.apache.jasper.runtime.*;
7
8 public class login_jsp extends HttpJspBase {
9
10
11   private static java.util.Vector JavaDoc _jspx_includes;
12
13   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_form_action;
14   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_message_key;
15   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_text_style_property;
16   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_errors_property;
17   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_password_style_property;
18
19   public login_jsp() {
20     _jspx_tagPool_html_form_action = new org.apache.jasper.runtime.TagHandlerPool();
21     _jspx_tagPool_bean_message_key = new org.apache.jasper.runtime.TagHandlerPool();
22     _jspx_tagPool_html_text_style_property = new org.apache.jasper.runtime.TagHandlerPool();
23     _jspx_tagPool_html_errors_property = new org.apache.jasper.runtime.TagHandlerPool();
24     _jspx_tagPool_html_password_style_property = new org.apache.jasper.runtime.TagHandlerPool();
25   }
26
27   public java.util.List JavaDoc getIncludes() {
28     return _jspx_includes;
29   }
30
31   public void _jspDestroy() {
32     _jspx_tagPool_html_form_action.release();
33     _jspx_tagPool_bean_message_key.release();
34     _jspx_tagPool_html_text_style_property.release();
35     _jspx_tagPool_html_errors_property.release();
36     _jspx_tagPool_html_password_style_property.release();
37   }
38
39   public void _jspService(HttpServletRequest request, HttpServletResponse response)
40         throws java.io.IOException JavaDoc, ServletException {
41
42     JspFactory _jspxFactory = null;
43     javax.servlet.jsp.PageContext JavaDoc pageContext = null;
44     HttpSession session = null;
45     ServletContext application = null;
46     ServletConfig config = null;
47     JspWriter out = null;
48     Object JavaDoc page = this;
49     JspWriter _jspx_out = null;
50
51
52     try {
53       _jspxFactory = JspFactory.getDefaultFactory();
54       response.setContentType("text/html;charset=ISO-8859-1");
55       pageContext = _jspxFactory.getPageContext(this, request, response,
56                 null, true, 8192, true);
57       application = pageContext.getServletContext();
58       config = pageContext.getServletConfig();
59       session = pageContext.getSession();
60       out = pageContext.getOut();
61       _jspx_out = out;
62
63       out.write("\r\n");
64       out.write("\r\n");
65       out.write("\r\n");
66       out.write("\r\n\r\n");
67       out.write("<html>\r\n");
68       out.write("<head>\r\n\t");
69       out.write("<title>login");
70       out.write("</title>\r\n\t");
71       out.write("<link rel=\"stylesheet\" type=\"text/css\" HREF=\"styles/global.css\">\r\n");
72       out.write("</head>\r\n\r\n");
73       out.write("<body background=\"images/fond.gif\" style=\"cursor:default\">\r\n\r\n");
74       if (_jspx_meth_html_form_0(pageContext))
75         return;
76       out.write("\r\n\r\n");
77       out.write("</body>\r\n\r\n");
78       out.write("</html>");
79     } catch (Throwable JavaDoc t) {
80       out = _jspx_out;
81       if (out != null && out.getBufferSize() != 0)
82         out.clearBuffer();
83       if (pageContext != null) pageContext.handlePageException(t);
84     } finally {
85       if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
86     }
87   }
88
89   private boolean _jspx_meth_html_form_0(javax.servlet.jsp.PageContext JavaDoc pageContext)
90           throws Throwable JavaDoc {
91     JspWriter out = pageContext.getOut();
92     /* ---- html:form ---- */
93     org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_action.get(org.apache.struts.taglib.html.FormTag.class);
94     _jspx_th_html_form_0.setPageContext(pageContext);
95     _jspx_th_html_form_0.setParent(null);
96     _jspx_th_html_form_0.setAction("login");
97     int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
98     if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
99       do {
100         out.write("\r\n\t");
101         out.write("<br>");
102         out.write("<br>\r\n\t");
103         out.write("<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t");
104         out.write("<tr>\r\n\t\t\t");
105         out.write("<td colspan=\"2\">\r\n\t\t\t\t");
106         out.write("<img SRC=\"images/login-tile.gif\" align=\"absmiddle\">\r\n\t\t\t\t");
107         out.write("<span class=\"title\" style=\"font-size:36px\">");
108         out.write("<span style=\"color:black\">back");
109         out.write("</span>.office");
110         out.write("</span>\r\n\t\t\t\t");
111         out.write("<br>");
112         out.write("<br>\r\n\t\t\t");
113         out.write("</td>\t\t\r\n\t\t");
114         out.write("</tr>\r\n\t\t");
115         out.write("<tr>\r\n\t\t\t");
116         out.write("<td class=\"text\" width=\"145\" align=\"right\">");
117         if (_jspx_meth_bean_message_0(_jspx_th_html_form_0, pageContext))
118           return true;
119         out.write(" : &nbsp;");
120         out.write("</td>\r\n\t\t\t");
121         out.write("<td width=\"250\">");
122         if (_jspx_meth_html_text_0(_jspx_th_html_form_0, pageContext))
123           return true;
124         out.write("&nbsp;&nbsp;");
125         out.write("<span class=\"error\">");
126         if (_jspx_meth_html_errors_0(_jspx_th_html_form_0, pageContext))
127           return true;
128         out.write("</span>");
129         out.write("</td>\r\n\t\t");
130         out.write("</tr>\r\n\t\t");
131         out.write("<tr>\r\n\t\t\t");
132         out.write("<td align=\"right\" class=\"text\">");
133         if (_jspx_meth_bean_message_1(_jspx_th_html_form_0, pageContext))
134           return true;
135         out.write(" : &nbsp;");
136         out.write("</td>\r\n\t\t\t");
137         out.write("<td>");
138         if (_jspx_meth_html_password_0(_jspx_th_html_form_0, pageContext))
139           return true;
140         out.write("&nbsp;&nbsp;");
141         out.write("<span class=\"error\">");
142         if (_jspx_meth_html_errors_1(_jspx_th_html_form_0, pageContext))
143           return true;
144         out.write("</span>");
145         out.write("</td>\r\n\t\t");
146         out.write("</tr>\r\n\t\t");
147         out.write("<tr>\r\n\t\t\t");
148         out.write("<td align=\"right\" class=\"text\">");
149         out.write("</td>\r\n\t\t\t");
150         out.write("<td height=\"20\" valign=\"bottom\">");
151         out.write("<input type=\"submit\" class=\"button\" value=\"");
152         if (_jspx_meth_bean_message_2(_jspx_th_html_form_0, pageContext))
153           return true;
154         out.write("\">");
155         out.write("</td>\r\n\t\t");
156         out.write("</tr>\r\n\t");
157         out.write("</table>\r\n\r\n");
158         int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
159         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
160           break;
161       } while (true);
162     }
163     if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
164       return true;
165     _jspx_tagPool_html_form_action.reuse(_jspx_th_html_form_0);
166     return false;
167   }
168
169   private boolean _jspx_meth_bean_message_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_html_form_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
170           throws Throwable JavaDoc {
171     JspWriter out = pageContext.getOut();
172     /* ---- bean:message ---- */
173     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
174     _jspx_th_bean_message_0.setPageContext(pageContext);
175     _jspx_th_bean_message_0.setParent(_jspx_th_html_form_0);
176     _jspx_th_bean_message_0.setKey("login.login");
177     int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag();
178     if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
179       return true;
180     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_0);
181     return false;
182   }
183
184   private boolean _jspx_meth_html_text_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_html_form_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
185           throws Throwable JavaDoc {
186     JspWriter out = pageContext.getOut();
187     /* ---- html:text ---- */
188     org.apache.struts.taglib.html.TextTag _jspx_th_html_text_0 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_style_property.get(org.apache.struts.taglib.html.TextTag.class);
189     _jspx_th_html_text_0.setPageContext(pageContext);
190     _jspx_th_html_text_0.setParent(_jspx_th_html_form_0);
191     _jspx_th_html_text_0.setProperty("login");
192     _jspx_th_html_text_0.setStyle("height:17px;");
193     int _jspx_eval_html_text_0 = _jspx_th_html_text_0.doStartTag();
194     if (_jspx_th_html_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
195       return true;
196     _jspx_tagPool_html_text_style_property.reuse(_jspx_th_html_text_0);
197     return false;
198   }
199
200   private boolean _jspx_meth_html_errors_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_html_form_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
201           throws Throwable JavaDoc {
202     JspWriter out = pageContext.getOut();
203     /* ---- html:errors ---- */
204     org.apache.struts.taglib.html.ErrorsTag _jspx_th_html_errors_0 = (org.apache.struts.taglib.html.ErrorsTag) _jspx_tagPool_html_errors_property.get(org.apache.struts.taglib.html.ErrorsTag.class);
205     _jspx_th_html_errors_0.setPageContext(pageContext);
206     _jspx_th_html_errors_0.setParent(_jspx_th_html_form_0);
207     _jspx_th_html_errors_0.setProperty("login");
208     int _jspx_eval_html_errors_0 = _jspx_th_html_errors_0.doStartTag();
209     if (_jspx_th_html_errors_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
210       return true;
211     _jspx_tagPool_html_errors_property.reuse(_jspx_th_html_errors_0);
212     return false;
213   }
214
215   private boolean _jspx_meth_bean_message_1(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_html_form_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
216           throws Throwable JavaDoc {
217     JspWriter out = pageContext.getOut();
218     /* ---- bean:message ---- */
219     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_1 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
220     _jspx_th_bean_message_1.setPageContext(pageContext);
221     _jspx_th_bean_message_1.setParent(_jspx_th_html_form_0);
222     _jspx_th_bean_message_1.setKey("login.password");
223     int _jspx_eval_bean_message_1 = _jspx_th_bean_message_1.doStartTag();
224     if (_jspx_th_bean_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
225       return true;
226     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_1);
227     return false;
228   }
229
230   private boolean _jspx_meth_html_password_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_html_form_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
231           throws Throwable JavaDoc {
232     JspWriter out = pageContext.getOut();
233     /* ---- html:password ---- */
234     org.apache.struts.taglib.html.PasswordTag _jspx_th_html_password_0 = (org.apache.struts.taglib.html.PasswordTag) _jspx_tagPool_html_password_style_property.get(org.apache.struts.taglib.html.PasswordTag.class);
235     _jspx_th_html_password_0.setPageContext(pageContext);
236     _jspx_th_html_password_0.setParent(_jspx_th_html_form_0);
237     _jspx_th_html_password_0.setProperty("password");
238     _jspx_th_html_password_0.setStyle("height:17px;");
239     int _jspx_eval_html_password_0 = _jspx_th_html_password_0.doStartTag();
240     if (_jspx_th_html_password_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
241       return true;
242     _jspx_tagPool_html_password_style_property.reuse(_jspx_th_html_password_0);
243     return false;
244   }
245
246   private boolean _jspx_meth_html_errors_1(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_html_form_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
247           throws Throwable JavaDoc {
248     JspWriter out = pageContext.getOut();
249     /* ---- html:errors ---- */
250     org.apache.struts.taglib.html.ErrorsTag _jspx_th_html_errors_1 = (org.apache.struts.taglib.html.ErrorsTag) _jspx_tagPool_html_errors_property.get(org.apache.struts.taglib.html.ErrorsTag.class);
251     _jspx_th_html_errors_1.setPageContext(pageContext);
252     _jspx_th_html_errors_1.setParent(_jspx_th_html_form_0);
253     _jspx_th_html_errors_1.setProperty("password");
254     int _jspx_eval_html_errors_1 = _jspx_th_html_errors_1.doStartTag();
255     if (_jspx_th_html_errors_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
256       return true;
257     _jspx_tagPool_html_errors_property.reuse(_jspx_th_html_errors_1);
258     return false;
259   }
260
261   private boolean _jspx_meth_bean_message_2(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_html_form_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
262           throws Throwable JavaDoc {
263     JspWriter out = pageContext.getOut();
264     /* ---- bean:message ---- */
265     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_2 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
266     _jspx_th_bean_message_2.setPageContext(pageContext);
267     _jspx_th_bean_message_2.setParent(_jspx_th_html_form_0);
268     _jspx_th_bean_message_2.setKey("login.enter");
269     int _jspx_eval_bean_message_2 = _jspx_th_bean_message_2.doStartTag();
270     if (_jspx_th_bean_message_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
271       return true;
272     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_2);
273     return false;
274   }
275 }
276
Popular Tags