Grosse MàJ

This commit is contained in:
olivier
2008-11-25 22:11:16 +01:00
parent 53195fdfcd
commit 3e719157ea
2980 changed files with 343846 additions and 0 deletions

View File

@ -0,0 +1,149 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class erreurs_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;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems.release();
}
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/html;charset=UTF-8");
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;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\r\n");
out.write(" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write(" <head>\r\n");
out.write(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
out.write("\t\t<link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\" />\r\n");
out.write(" <title>RandoOnLine - Erreurs</title>\r\n");
out.write(" </head>\r\n");
out.write(" <body>\r\n");
out.write("\r\n");
out.write(" <h1>RandoOnLine</h1>\r\n");
out.write(" <table border=\"0\" width=\"100%\">\r\n");
out.write(" <thead>\r\n");
out.write(" <tr>\r\n");
out.write(" <th><a href=\"./index.jsp\">Accueil</a></th>\r\n");
out.write(" <th><a href=\"./Panier\">Panier</a></th>\r\n");
out.write(" <th><a href=\"./Articles\">Liste des articles</a></th>\r\n");
out.write(" </tr>\r\n");
out.write(" </thead>\r\n");
out.write(" </table>\r\n");
out.write(" \r\n");
out.write("\t\t<h2>Les erreurs suivantes se sont produites : </h2>\r\n");
out.write("\t\t<ul>\r\n");
out.write("\t\t\t");
if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t</ul>\r\n");
out.write("\t\t\r\n");
out.write(" \t<p><a href=\"./index.jsp\">Accueil</a></p>\r\n");
out.write("\t</body>\r\n");
out.write("</html>\r\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_005fforEach_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_005fforEach_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005fforEach_005f0.setParent(null);
// /erreurs.jsp(30,3) name = items type = java.lang.Object reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005fforEach_005f0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${erreurs}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
// /erreurs.jsp(30,3) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005fforEach_005f0.setVar("err");
int[] _jspx_push_body_count_c_005fforEach_005f0 = new int[] { 0 };
try {
int _jspx_eval_c_005fforEach_005f0 = _jspx_th_c_005fforEach_005f0.doStartTag();
if (_jspx_eval_c_005fforEach_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t<li>\r\n");
out.write("\t\t\t\t\t\t");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${err.message}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\r\n");
out.write("\t\t\t\t\t</li>\r\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_c_005fforEach_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_005fforEach_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_005fforEach_005f0[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_005fforEach_005f0.doCatch(_jspx_exception);
} finally {
_jspx_th_c_005fforEach_005f0.doFinally();
_005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f0);
}
return false;
}
}

View File

@ -0,0 +1,84 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class index_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;
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/html;charset=UTF-8");
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;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\r\n");
out.write(" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write(" <head>\r\n");
out.write(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
out.write("\t\t<link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\" />\r\n");
out.write(" <title>RandoOnLine</title>\r\n");
out.write(" </head>\r\n");
out.write(" <body>\r\n");
out.write("\r\n");
out.write(" <h1>RandoOnLine</h1>\r\n");
out.write(" <br/>\r\n");
out.write(" <a href=\"./Articles\">Afficher les articles</a>\r\n");
out.write(" \r\n");
out.write(" </body>\r\n");
out.write("</html>\r\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@ -0,0 +1,94 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class panierVide_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;
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/html;charset=UTF-8");
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;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\r\n");
out.write(" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write(" <head>\r\n");
out.write(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
out.write("\t\t<link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\" />\r\n");
out.write(" <title>RandoOnLine - Contenu du Panier</title>\r\n");
out.write(" </head>\r\n");
out.write(" <body>\r\n");
out.write(" <h1>RandoOnLine</h1>\r\n");
out.write(" <table border=\"0\" width=\"100%\">\r\n");
out.write(" <thead>\r\n");
out.write(" <tr>\r\n");
out.write(" <th><a href=\"./index.jsp\">Accueil</a></th>\r\n");
out.write(" <th>Panier</th>\r\n");
out.write(" <th><a href=\"./Articles\">Liste des articles</a></th>\r\n");
out.write(" </tr>\r\n");
out.write(" </thead>\r\n");
out.write(" </table>\r\n");
out.write(" \r\n");
out.write("\t\t<h2>Contenu de votre panier</h2>\r\n");
out.write("\t\t<P>Votre panier est vide</P>\r\n");
out.write(" \t<a href=\"./Articles\">Continuez vos achats</a>\r\n");
out.write("\t</body>\r\n");
out.write("</html>\r\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@ -0,0 +1,105 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class bonjour_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("/librairie.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/html");
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;
out.write("\n");
out.write("<html>\n");
out.write("<head>\n");
out.write("\t<title></title>\n");
out.write("</head>\n");
out.write("<body>\n");
out.write("\t<div id=\"contenu_principal\">\n");
out.write("\t\t<div id=\"tete\">\t<h1>Notre outil applicatif</h1></div>\n");
out.write("\t\t<div id=\"menu\">\n");
out.write("\t\t\t<ul id=\"Tests\">\n");
out.write("\t\t\t\t<li><a href=\"/bonjour.jsp\">Bonjour tout le monde</a></li>\n");
out.write("\t\t\t</ul>\n");
out.write("\t\t</div>\n");
out.write("\t\t<div id=\"contenu_secondaire\">\n");
out.write("\t\t\t");
if (_jspx_meth_balise_005fbonjour_005f0(_jspx_page_context))
return;
out.write("\n");
out.write("\t\t</div>\n");
out.write("\t</div>\n");
out.write("</body>\n");
out.write("</html>\n");
out.write("\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_balise_005fbonjour_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// balise:bonjour
jsp2.bonjour _jspx_th_balise_005fbonjour_005f0 = new jsp2.bonjour();
org.apache.jasper.runtime.AnnotationHelper.postConstruct(_jsp_annotationprocessor, _jspx_th_balise_005fbonjour_005f0);
_jspx_th_balise_005fbonjour_005f0.setJspContext(_jspx_page_context);
_jspx_th_balise_005fbonjour_005f0.doTag();
org.apache.jasper.runtime.AnnotationHelper.preDestroy(_jsp_annotationprocessor, _jspx_th_balise_005fbonjour_005f0);
return false;
}
}

View File

@ -0,0 +1,258 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class erreurs_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(2);
_jspx_dependants.add("/includes/entete.jsp");
_jspx_dependants.add("/includes/enqueue.jsp");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.release();
_005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems.release();
}
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/html;charset=UTF-8");
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;
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n");
out.write(" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n");
out.write("\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\n");
out.write("\n");
if (_jspx_meth_c_005furl_005f0(_jspx_page_context))
return;
out.write("\n");
out.write("<head>\n");
out.write("\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n");
out.write("\t<title>I comme Herse</title>\n");
out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${charte}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" />\n");
out.write("</head>\n");
out.write("<body>\n");
out.write("<div id=\"contenu_principal\">\n");
out.write("\n");
out.write("\t<div id=\"tete\"><h1 title=\"I, comme Herse\">I, comme Herse</h1></div>\n");
out.write("\n");
out.write("\t<div id=\"menu\">\n");
out.write("\t\t<ul id=\"menu_principal\">\n");
if (_jspx_meth_c_005furl_005f1(_jspx_page_context))
return;
out.write('\n');
if (_jspx_meth_c_005furl_005f2(_jspx_page_context))
return;
out.write('\n');
if (_jspx_meth_c_005furl_005f3(_jspx_page_context))
return;
out.write("\n");
out.write("\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${accueil}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">Accueil</a></li>\n");
out.write("\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${article}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">Articles</a></li>\n");
out.write("\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${panier}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">Panier</a></li>\n");
out.write("\t\t</ul>\n");
out.write("\t</div>\n");
out.write("\n");
out.write("\t<div id=\"contenu_secondaire\">\n");
out.write("\t\t<h2>Erreur !</h2>\r\n");
out.write("\t\t\t");
if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context))
return;
out.write('\r');
out.write('\n');
out.write("\t</div>\n");
out.write("\n");
out.write("\t<div id=\"pied\"><p>Propulsé par J2EE sur Tomcat5, écrit à l'aide de VIM</p></div>\n");
out.write("</div>\n");
out.write("</body>\n");
out.write("</html>\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_005furl_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f0 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f0.setParent(null);
// /includes/entete.jsp(6,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f0.setVar("charte");
// /includes/entete.jsp(6,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f0.setValue("/style.css");
int _jspx_eval_c_005furl_005f0 = _jspx_th_c_005furl_005f0.doStartTag();
if (_jspx_th_c_005furl_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f0);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f0);
return false;
}
private boolean _jspx_meth_c_005furl_005f1(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f1 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f1.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f1.setParent(null);
// /includes/entete.jsp(19,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f1.setVar("accueil");
// /includes/entete.jsp(19,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f1.setValue("/");
int _jspx_eval_c_005furl_005f1 = _jspx_th_c_005furl_005f1.doStartTag();
if (_jspx_th_c_005furl_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f1);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f1);
return false;
}
private boolean _jspx_meth_c_005furl_005f2(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f2 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f2.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f2.setParent(null);
// /includes/entete.jsp(20,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f2.setVar("article");
// /includes/entete.jsp(20,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f2.setValue("/Articles");
int _jspx_eval_c_005furl_005f2 = _jspx_th_c_005furl_005f2.doStartTag();
if (_jspx_th_c_005furl_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f2);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f2);
return false;
}
private boolean _jspx_meth_c_005furl_005f3(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f3 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f3.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f3.setParent(null);
// /includes/entete.jsp(21,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f3.setVar("panier");
// /includes/entete.jsp(21,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f3.setValue("/Panier");
int _jspx_eval_c_005furl_005f3 = _jspx_th_c_005furl_005f3.doStartTag();
if (_jspx_th_c_005furl_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f3);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f3);
return false;
}
private boolean _jspx_meth_c_005fforEach_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_005fforEach_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005fforEach_005f0.setParent(null);
// /erreurs.jsp(2,3) name = items type = java.lang.Object reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005fforEach_005f0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${erreurs}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
// /erreurs.jsp(2,3) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005fforEach_005f0.setVar("err");
int[] _jspx_push_body_count_c_005fforEach_005f0 = new int[] { 0 };
try {
int _jspx_eval_c_005fforEach_005f0 = _jspx_th_c_005fforEach_005f0.doStartTag();
if (_jspx_eval_c_005fforEach_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t<p>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${err.message}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</p>\r\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_c_005fforEach_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_005fforEach_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_005fforEach_005f0[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_005fforEach_005f0.doCatch(_jspx_exception);
} finally {
_jspx_th_c_005fforEach_005f0.doFinally();
_005fjspx_005ftagPool_005fc_005fforEach_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f0);
}
return false;
}
}

View File

@ -0,0 +1,209 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class index_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(2);
_jspx_dependants.add("/includes/entete.jsp");
_jspx_dependants.add("/includes/enqueue.jsp");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.release();
}
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/html;charset=UTF-8");
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;
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n");
out.write(" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n");
out.write("\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\n");
out.write("\n");
if (_jspx_meth_c_005furl_005f0(_jspx_page_context))
return;
out.write("\n");
out.write("<head>\n");
out.write("\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n");
out.write("\t<title>I comme Herse</title>\n");
out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${charte}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" />\n");
out.write("</head>\n");
out.write("<body>\n");
out.write("<div id=\"contenu_principal\">\n");
out.write("\n");
out.write("\t<div id=\"tete\"><h1 title=\"I, comme Herse\">I, comme Herse</h1></div>\n");
out.write("\n");
out.write("\t<div id=\"menu\">\n");
out.write("\t\t<ul id=\"menu_principal\">\n");
if (_jspx_meth_c_005furl_005f1(_jspx_page_context))
return;
out.write('\n');
if (_jspx_meth_c_005furl_005f2(_jspx_page_context))
return;
out.write('\n');
if (_jspx_meth_c_005furl_005f3(_jspx_page_context))
return;
out.write("\n");
out.write("\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${accueil}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">Accueil</a></li>\n");
out.write("\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${article}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">Articles</a></li>\n");
out.write("\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${panier}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">Panier</a></li>\n");
out.write("\t\t</ul>\n");
out.write("\t</div>\n");
out.write("\n");
out.write("\t<div id=\"contenu_secondaire\">\n");
out.write("<p>Bienvenue dans le site d'Ecommerce</p>");
out.write("\t</div>\n");
out.write("\n");
out.write("\t<div id=\"pied\"><p>Propulsé par J2EE sur Tomcat5, écrit à l'aide de VIM</p></div>\n");
out.write("</div>\n");
out.write("</body>\n");
out.write("</html>\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_005furl_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f0 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f0.setParent(null);
// /includes/entete.jsp(6,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f0.setVar("charte");
// /includes/entete.jsp(6,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f0.setValue("/style.css");
int _jspx_eval_c_005furl_005f0 = _jspx_th_c_005furl_005f0.doStartTag();
if (_jspx_th_c_005furl_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f0);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f0);
return false;
}
private boolean _jspx_meth_c_005furl_005f1(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f1 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f1.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f1.setParent(null);
// /includes/entete.jsp(19,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f1.setVar("accueil");
// /includes/entete.jsp(19,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f1.setValue("/");
int _jspx_eval_c_005furl_005f1 = _jspx_th_c_005furl_005f1.doStartTag();
if (_jspx_th_c_005furl_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f1);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f1);
return false;
}
private boolean _jspx_meth_c_005furl_005f2(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f2 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f2.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f2.setParent(null);
// /includes/entete.jsp(20,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f2.setVar("article");
// /includes/entete.jsp(20,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f2.setValue("/Articles");
int _jspx_eval_c_005furl_005f2 = _jspx_th_c_005furl_005f2.doStartTag();
if (_jspx_th_c_005furl_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f2);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f2);
return false;
}
private boolean _jspx_meth_c_005furl_005f3(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f3 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f3.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f3.setParent(null);
// /includes/entete.jsp(21,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f3.setVar("panier");
// /includes/entete.jsp(21,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f3.setValue("/Panier");
int _jspx_eval_c_005furl_005f3 = _jspx_th_c_005furl_005f3.doStartTag();
if (_jspx_th_c_005furl_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f3);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f3);
return false;
}
}

View File

@ -0,0 +1,211 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class panierVide_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(2);
_jspx_dependants.add("/includes/entete.jsp");
_jspx_dependants.add("/includes/enqueue.jsp");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.release();
}
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/html;charset=UTF-8");
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;
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n");
out.write(" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n");
out.write("\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\n");
out.write("\n");
if (_jspx_meth_c_005furl_005f0(_jspx_page_context))
return;
out.write("\n");
out.write("<head>\n");
out.write("\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n");
out.write("\t<title>I comme Herse</title>\n");
out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${charte}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" />\n");
out.write("</head>\n");
out.write("<body>\n");
out.write("<div id=\"contenu_principal\">\n");
out.write("\n");
out.write("\t<div id=\"tete\"><h1 title=\"I, comme Herse\">I, comme Herse</h1></div>\n");
out.write("\n");
out.write("\t<div id=\"menu\">\n");
out.write("\t\t<ul id=\"menu_principal\">\n");
if (_jspx_meth_c_005furl_005f1(_jspx_page_context))
return;
out.write('\n');
if (_jspx_meth_c_005furl_005f2(_jspx_page_context))
return;
out.write('\n');
if (_jspx_meth_c_005furl_005f3(_jspx_page_context))
return;
out.write("\n");
out.write("\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${accueil}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">Accueil</a></li>\n");
out.write("\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${article}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">Articles</a></li>\n");
out.write("\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${panier}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">Panier</a></li>\n");
out.write("\t\t</ul>\n");
out.write("\t</div>\n");
out.write("\n");
out.write("\t<div id=\"contenu_secondaire\">\n");
out.write("\t\t<h2>Contenu Panier</h2>\r\n");
out.write("\t\t<p>Rien</p>\r\n");
out.write(" \t<a href=\"./Articles\">Continuez les achats</a>\r\n");
out.write("\t</div>\n");
out.write("\n");
out.write("\t<div id=\"pied\"><p>Propulsé par J2EE sur Tomcat5, écrit à l'aide de VIM</p></div>\n");
out.write("</div>\n");
out.write("</body>\n");
out.write("</html>\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_005furl_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f0 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f0.setParent(null);
// /includes/entete.jsp(6,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f0.setVar("charte");
// /includes/entete.jsp(6,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f0.setValue("/style.css");
int _jspx_eval_c_005furl_005f0 = _jspx_th_c_005furl_005f0.doStartTag();
if (_jspx_th_c_005furl_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f0);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f0);
return false;
}
private boolean _jspx_meth_c_005furl_005f1(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f1 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f1.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f1.setParent(null);
// /includes/entete.jsp(19,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f1.setVar("accueil");
// /includes/entete.jsp(19,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f1.setValue("/");
int _jspx_eval_c_005furl_005f1 = _jspx_th_c_005furl_005f1.doStartTag();
if (_jspx_th_c_005furl_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f1);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f1);
return false;
}
private boolean _jspx_meth_c_005furl_005f2(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f2 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f2.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f2.setParent(null);
// /includes/entete.jsp(20,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f2.setVar("article");
// /includes/entete.jsp(20,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f2.setValue("/Articles");
int _jspx_eval_c_005furl_005f2 = _jspx_th_c_005furl_005f2.doStartTag();
if (_jspx_th_c_005furl_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f2);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f2);
return false;
}
private boolean _jspx_meth_c_005furl_005f3(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:url
org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_005furl_005f3 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class);
_jspx_th_c_005furl_005f3.setPageContext(_jspx_page_context);
_jspx_th_c_005furl_005f3.setParent(null);
// /includes/entete.jsp(21,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f3.setVar("panier");
// /includes/entete.jsp(21,0) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005furl_005f3.setValue("/Panier");
int _jspx_eval_c_005furl_005f3 = _jspx_th_c_005furl_005f3.doStartTag();
if (_jspx_th_c_005furl_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f3);
return true;
}
_005fjspx_005ftagPool_005fc_005furl_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005furl_005f3);
return false;
}
}

View File

@ -0,0 +1,176 @@
package org.apache.jsp.jsp.jsp2.el;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class basic_002darithmetic_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;
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/html");
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;
out.write("<!--\r\n");
out.write(" Licensed to the Apache Software Foundation (ASF) under one or more\r\n");
out.write(" contributor license agreements. See the NOTICE file distributed with\r\n");
out.write(" this work for additional information regarding copyright ownership.\r\n");
out.write(" The ASF licenses this file to You under the Apache License, Version 2.0\r\n");
out.write(" (the \"License\"); you may not use this file except in compliance with\r\n");
out.write(" the License. You may obtain a copy of the License at\r\n");
out.write("\r\n");
out.write(" http://www.apache.org/licenses/LICENSE-2.0\r\n");
out.write("\r\n");
out.write(" Unless required by applicable law or agreed to in writing, software\r\n");
out.write(" distributed under the License is distributed on an \"AS IS\" BASIS,\r\n");
out.write(" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n");
out.write(" See the License for the specific language governing permissions and\r\n");
out.write(" limitations under the License.\r\n");
out.write("-->\r\n");
out.write("<html>\r\n");
out.write(" <head>\r\n");
out.write(" <title>JSP 2.0 Expression Language - Basic Arithmetic</title>\r\n");
out.write(" </head>\r\n");
out.write(" <body>\r\n");
out.write(" <h1>JSP 2.0 Expression Language - Basic Arithmetic</h1>\r\n");
out.write(" <hr>\r\n");
out.write(" This example illustrates basic Expression Language arithmetic.\r\n");
out.write(" Addition (+), subtraction (-), multiplication (*), division (/ or div), \r\n");
out.write(" and modulus (% or mod) are all supported. Error conditions, like\r\n");
out.write(" division by zero, are handled gracefully.\r\n");
out.write(" <br>\r\n");
out.write(" <blockquote>\r\n");
out.write(" <code>\r\n");
out.write(" <table border=\"1\">\r\n");
out.write(" <thead>\r\n");
out.write("\t <td><b>EL Expression</b></td>\r\n");
out.write("\t <td><b>Result</b></td>\r\n");
out.write("\t </thead>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${1}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${1}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${1 + 2}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${1 + 2}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${1.2 + 2.3}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${1.2 + 2.3}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${1.2E4 + 1.4}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${1.2E4 + 1.4}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${-4 - 2}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${-4 - 2}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${21 * 2}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${21 * 2}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${3/4}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${3/4}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${3 div 4}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${3 div 4}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${3/0}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${3/0}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${10%4}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${10%4}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${10 mod 4}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${10 mod 4}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>${(1==2) ? 3 : 4}</td>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${(1==2) ? 3 : 4}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write("\t</table>\r\n");
out.write(" </code>\r\n");
out.write(" </blockquote>\r\n");
out.write(" </body>\r\n");
out.write("</html>\r\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@ -0,0 +1,210 @@
package org.apache.jsp.jsp.jsp2.el;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class basic_002dcomparisons_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;
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/html");
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;
out.write("<!--\r\n");
out.write(" Licensed to the Apache Software Foundation (ASF) under one or more\r\n");
out.write(" contributor license agreements. See the NOTICE file distributed with\r\n");
out.write(" this work for additional information regarding copyright ownership.\r\n");
out.write(" The ASF licenses this file to You under the Apache License, Version 2.0\r\n");
out.write(" (the \"License\"); you may not use this file except in compliance with\r\n");
out.write(" the License. You may obtain a copy of the License at\r\n");
out.write("\r\n");
out.write(" http://www.apache.org/licenses/LICENSE-2.0\r\n");
out.write("\r\n");
out.write(" Unless required by applicable law or agreed to in writing, software\r\n");
out.write(" distributed under the License is distributed on an \"AS IS\" BASIS,\r\n");
out.write(" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n");
out.write(" See the License for the specific language governing permissions and\r\n");
out.write(" limitations under the License.\r\n");
out.write("-->\r\n");
out.write("<html>\r\n");
out.write(" <head>\r\n");
out.write(" <title>JSP 2.0 Expression Language - Basic Comparisons</title>\r\n");
out.write(" </head>\r\n");
out.write(" <body>\r\n");
out.write(" <h1>JSP 2.0 Expression Language - Basic Comparisons</h1>\r\n");
out.write(" <hr>\r\n");
out.write(" This example illustrates basic Expression Language comparisons.\r\n");
out.write(" The following comparison operators are supported:\r\n");
out.write(" <ul>\r\n");
out.write(" <li>Less-than (&lt; or lt)</li>\r\n");
out.write(" <li>Greater-than (&gt; or gt)</li>\r\n");
out.write(" <li>Less-than-or-equal (&lt;= or le)</li>\r\n");
out.write(" <li>Greater-than-or-equal (&gt;= or ge)</li>\r\n");
out.write(" <li>Equal (== or eq)</li>\r\n");
out.write(" <li>Not Equal (!= or ne)</li>\r\n");
out.write(" </ul>\r\n");
out.write(" <blockquote>\r\n");
out.write(" <u><b>Numeric</b></u>\r\n");
out.write(" <code>\r\n");
out.write(" <table border=\"1\">\r\n");
out.write(" <thead>\r\n");
out.write("\t <td><b>EL Expression</b></td>\r\n");
out.write("\t <td><b>Result</b></td>\r\n");
out.write("\t </thead>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${1 &lt; 2}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${1 < 2}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${1 lt 2}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${1 lt 2}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${1 &gt; (4/2)}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${1 > (4/2)}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${1 &gt; (4/2)}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${1 > (4/2)}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${4.0 &gt;= 3}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${4.0 >= 3}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${4.0 ge 3}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${4.0 ge 3}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${4 &lt;= 3}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${4 <= 3}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${4 le 3}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${4 le 3}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${100.0 == 100}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${100.0 == 100}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${100.0 eq 100}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${100.0 eq 100}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${(10*10) != 100}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${(10*10) != 100}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${(10*10) ne 100}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${(10*10) ne 100}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t</table>\r\n");
out.write(" </code>\r\n");
out.write(" <br>\r\n");
out.write(" <u><b>Alphabetic</b></u>\r\n");
out.write(" <code>\r\n");
out.write(" <table border=\"1\">\r\n");
out.write(" <thead>\r\n");
out.write("\t <td><b>EL Expression</b></td>\r\n");
out.write("\t <td><b>Result</b></td>\r\n");
out.write("\t </thead>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${'a' &lt; 'b'}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${'a' < 'b'}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${'hip' &gt; 'hit'}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${'hip' > 'hit'}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t <tr>\r\n");
out.write("\t <td>${'4' &gt; 3}</td>\r\n");
out.write("\t <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${'4' > 3}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t </tr>\r\n");
out.write("\t</table>\r\n");
out.write(" </code>\r\n");
out.write(" </blockquote>\r\n");
out.write(" </body>\r\n");
out.write("</html>\r\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@ -0,0 +1,116 @@
package org.apache.jsp.jsp.jsp2.simpletag;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class hello_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/jsp2/jsp2-example-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/html");
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;
out.write("<!--\r\n");
out.write(" Licensed to the Apache Software Foundation (ASF) under one or more\r\n");
out.write(" contributor license agreements. See the NOTICE file distributed with\r\n");
out.write(" this work for additional information regarding copyright ownership.\r\n");
out.write(" The ASF licenses this file to You under the Apache License, Version 2.0\r\n");
out.write(" (the \"License\"); you may not use this file except in compliance with\r\n");
out.write(" the License. You may obtain a copy of the License at\r\n");
out.write("\r\n");
out.write(" http://www.apache.org/licenses/LICENSE-2.0\r\n");
out.write("\r\n");
out.write(" Unless required by applicable law or agreed to in writing, software\r\n");
out.write(" distributed under the License is distributed on an \"AS IS\" BASIS,\r\n");
out.write(" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n");
out.write(" See the License for the specific language governing permissions and\r\n");
out.write(" limitations under the License.\r\n");
out.write("-->\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write(" <head>\r\n");
out.write(" <title>JSP 2.0 Examples - Hello World SimpleTag Handler</title>\r\n");
out.write(" </head>\r\n");
out.write(" <body>\r\n");
out.write(" <h1>JSP 2.0 Examples - Hello World SimpleTag Handler</h1>\r\n");
out.write(" <hr>\r\n");
out.write(" <p>This tag handler simply echos \"Hello, World!\" It's an example of\r\n");
out.write(" a very basic SimpleTag handler with no body.</p>\r\n");
out.write(" <br>\r\n");
out.write(" <b><u>Result:</u></b>\r\n");
out.write(" ");
if (_jspx_meth_mytag_005fhelloWorld_005f0(_jspx_page_context))
return;
out.write("\r\n");
out.write(" </body>\r\n");
out.write("</html>\r\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_mytag_005fhelloWorld_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// mytag:helloWorld
jsp2.examples.simpletag.HelloWorldSimpleTag _jspx_th_mytag_005fhelloWorld_005f0 = new jsp2.examples.simpletag.HelloWorldSimpleTag();
org.apache.jasper.runtime.AnnotationHelper.postConstruct(_jsp_annotationprocessor, _jspx_th_mytag_005fhelloWorld_005f0);
_jspx_th_mytag_005fhelloWorld_005f0.setJspContext(_jspx_page_context);
_jspx_th_mytag_005fhelloWorld_005f0.doTag();
org.apache.jasper.runtime.AnnotationHelper.preDestroy(_jsp_annotationprocessor, _jspx_th_mytag_005fhelloWorld_005f0);
return false;
}
}

View File

@ -0,0 +1,103 @@
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class _401_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;
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/html");
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;
response.setHeader("WWW-Authenticate", "Basic realm=\"Tomcat Manager Application\"");
out.write("\r\n");
out.write("<html>\r\n");
out.write(" <head>\r\n");
out.write(" <title>401 Unauthorized</title>\r\n");
out.write(" <style>\r\n");
out.write(" <!--\r\n");
out.write(" BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}\r\n");
out.write(" H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}\r\n");
out.write(" PRE, TT {border: 1px dotted #525D76}\r\n");
out.write(" A {color : black;}A.name {color : black;}\r\n");
out.write(" -->\r\n");
out.write(" </style>\r\n");
out.write(" </head>\r\n");
out.write(" <body>\r\n");
out.write(" <h1>401 Unauthorized</h1>\r\n");
out.write(" <p>\r\n");
out.write(" You are not authorized to view this page. If you have not changed\r\n");
out.write(" any configuration files, please examine the file\r\n");
out.write(" <tt>conf/tomcat-users.xml</tt> in your installation. That\r\n");
out.write(" file will contain the credentials to let you use this webapp.\r\n");
out.write(" </p>\r\n");
out.write(" <p>\r\n");
out.write(" You will need to add <tt>manager</tt> role to the config file listed above.\r\n");
out.write(" For example:\r\n");
out.write("<pre>\r\n");
out.write("&lt;role rolename=\"manager\"/&gt;\r\n");
out.write("&lt;user username=\"tomcat\" password=\"s3cret\" roles=\"manager\"/&gt;\r\n");
out.write("</pre>\r\n");
out.write(" </p>\r\n");
out.write(" <p>\r\n");
out.write(" For more information - please see the\r\n");
out.write(" <a href=\"/docs/manager-howto.html\">Manager App HOW-TO</a>.\r\n");
out.write(" </p>\r\n");
out.write(" </body>\r\n");
out.write("\r\n");
out.write("</html>\r\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);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}