Edit C:\galaxie\deploy\Tomcat6\work\Catalina\localhost\galaxie\org\apache\jsp\login_005fajax_jsp.java
package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import com.edeal.frontline.navigation.FlRequest; import com.edeal.frontline.Utils; public final class login_005fajax_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); private static java.util.List _jspx_dependants; static { _jspx_dependants = new java.util.ArrayList(1); _jspx_dependants.add("/WEB-INF/taglib.tld"); } private javax.el.ExpressionFactory _el_expressionfactory; private org.apache.AnnotationProcessor _jsp_annotationprocessor; public Object getDependants() { return _jspx_dependants; } public void _jspInit() { _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory(); _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName()); } public void _jspDestroy() { } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { response.setContentType("text/plain;charset=ISO-8859-1"); 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; /****************************************************************************** * Copyright (c) 2000-2004 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. * * ******************************************************************************/ String queryString = request.getQueryString(); final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); String forwardPage = flRequest.getRequestParameterOrAttribute("forwardPage"); response.addHeader("EDEAL_login","true"); out.write("\n"); out.write("var div = document.getElementById('login_div');\n"); out.write("if (div == null) {\n"); out.write("\tdiv = document.createElement('div');\n"); out.write("\tdiv.setAttribute('id', 'login_div');\n"); out.write("\tdiv.id = 'login_div';\n"); out.write("\tdocument.body.appendChild(div);\n"); out.write("} else {\n"); out.write("\twhile (div.hasChildNodes()) {\n"); out.write("\t\tdiv.removeChild(div.firstChild);\n"); out.write("\t}\n"); out.write("}\n"); out.write("var formNode = document.createElement('form');\n"); out.write("formNode.name = 'login_form';\n"); out.write("formNode.id = 'login_form';\n"); out.write("formNode.onsubmit = login_ajax;\n"); out.write("div.appendChild(formNode);\n"); out.write("var hidden = document.createElement('input');\n"); out.write("hidden.setAttribute('id', 'forwardPage');\n"); out.write("hidden.setAttribute('name', 'forwardPage');\n"); out.write("hidden.setAttribute('type', 'hidden');\n"); out.write("hidden.setAttribute('value', '"); out.print( Utils.formatToJavascript(forwardPage) ); out.write("');\n"); out.write("formNode.appendChild(hidden);\n"); out.write("hidden = document.createElement('input');\n"); out.write("hidden.setAttribute('id', 'resolutionX');\n"); out.write("hidden.setAttribute('name', 'resolutionX');\n"); out.write("hidden.setAttribute('type', 'hidden');\n"); out.write("hidden.setAttribute('value', screen.width);\n"); out.write("formNode.appendChild(hidden);\n"); out.write("hidden = document.createElement('input');\n"); out.write("hidden.setAttribute('id', 'resolutionY');\n"); out.write("hidden.setAttribute('name', 'resolutionY');\n"); out.write("hidden.setAttribute('type', 'hidden');\n"); out.write("hidden.setAttribute('value', screen.height);\n"); out.write("formNode.appendChild(hidden);\n"); out.write("var tbl = document.createElement('table');\n"); out.write("tbl.setAttribute('cellpadding', '0');\n"); out.write("tbl.setAttribute('cellspacing', '0');\n"); out.write("tbl.setAttribute('border', '0');\n"); out.write("formNode.appendChild(tbl);\n"); out.write("var thead = document.createElement('thead');\n"); out.write("tbl.appendChild(thead);\n"); out.write("var tbody = document.createElement('tbody');\n"); out.write("tbl.appendChild(tbody);\n"); out.write("var tr = document.createElement('tr');\n"); out.write("tbody.appendChild(tr);\n"); out.write("var td = document.createElement('td');\n"); out.write("td.setAttribute('colspan', '4');\n"); out.write("td.colSpan = '4';\n"); out.write("tr.appendChild(td);\n"); out.write("var img = document.createElement('img');\n"); out.write("img.src = 'icons/nav/spacer.gif';\n"); out.write("img.height = '91';\n"); out.write("img.width = '300';\n"); out.write("img.border = '0';\n"); out.write("td.appendChild(img);\n"); out.write("/* deuxième ligne */\n"); out.write("tr = document.createElement('tr');\n"); out.write("tbody.appendChild(tr);\n"); out.write("td = document.createElement('td');\n"); out.write("tr.appendChild(td);\n"); out.write("var img = document.createElement('img');\n"); out.write("img.src = 'icons/nav/spacer.gif';\n"); out.write("img.width = '40';\n"); out.write("img.height = '18';\n"); out.write("img.border = '0';\n"); out.write("td.appendChild(img);\n"); out.write("td = document.createElement('td');\n"); out.write("td.setAttribute('class', 'tableLog');\n"); out.write("tr.appendChild(td);\n"); out.write("var txt = document.createTextNode('Login');\n"); out.write("td.appendChild(txt);\n"); out.write("td = document.createElement('td');\n"); out.write("tr.appendChild(td);\n"); out.write("var input = document.createElement('input');\n"); out.write("input.setAttribute('class', 'chpsTextNorm');\n"); out.write("input.setAttribute('type', 'text');\n"); out.write("input.setAttribute('name', 'login');\n"); out.write("input.setAttribute('id', 'login');\n"); out.write("td.appendChild(input);\n"); out.write("td = document.createElement('td');\n"); out.write("tr.appendChild(td);\n"); out.write("var img = document.createElement('img');\n"); out.write("img.src = 'icons/nav/spacer.gif';\n"); out.write("img.width = '12';\n"); out.write("img.height = '12';\n"); out.write("img.border = '0';\n"); out.write("td.appendChild(img);\n"); out.write("/* troisième ligne */\n"); out.write("tr = document.createElement('tr');\n"); out.write("tbody.appendChild(tr);\n"); out.write("td = document.createElement('td');\n"); out.write("tr.appendChild(td);\n"); out.write("var img = document.createElement('img');\n"); out.write("img.src = 'icons/nav/spacer.gif';\n"); out.write("img.width = '40';\n"); out.write("img.height = '38';\n"); out.write("img.border = '0';\n"); out.write("td.appendChild(img);\n"); out.write("td = document.createElement('td');\n"); out.write("td.setAttribute('class', 'tableLog');\n"); out.write("tr.appendChild(td);\n"); out.write("var txt = document.createTextNode('Password');\n"); out.write("td.appendChild(txt);\n"); out.write("td = document.createElement('td');\n"); out.write("tr.appendChild(td);\n"); out.write("var input = document.createElement('input');\n"); out.write("input.setAttribute('class', 'chpsTextNorm');\n"); out.write("input.setAttribute('type', 'password');\n"); out.write("input.setAttribute('name', 'pwd');\n"); out.write("input.setAttribute('id', 'pwd');\n"); out.write("td.appendChild(input);\n"); out.write("td = document.createElement('td');\n"); out.write("tr.appendChild(td);\n"); out.write("var img = document.createElement('input');\n"); out.write("img.type = 'image';\n"); out.write("img.src = 'icons/ico/valider.gif';\n"); out.write("img.width = '17';\n"); out.write("img.height = '17';\n"); out.write("img.border = '0';\n"); out.write("td.appendChild(img);\n"); } catch (Throwable t) { if (!(t instanceof SkipPageException)){ out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) {} if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } } }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de