tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: Strange Error Tomcat 6
Date Mon, 04 Jun 2007 10:47:28 GMT
${sbean.totProgrammi>0}


This expression should be ${sbean.totProgrammi gt 0} or 
${sbean.totProgrammi &gt; 0} as the '>' character is probably messing up 
the parsing.

--David

Davide Manca wrote:
>> HTTP Status 500 - 
>>     
>
> ________________________________________________________________________
>
> type Exception report
>
> message 
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception 
>
> org.apache.jasper.JasperException: Unable to compile class for JSP: 
>
> An error occurred at line: 80 in the jsp file: /cgi/commons/listing.cgi
> Syntax error, insert "while ( Expression ) ;" to complete BlockStatements
> 77: <c:choose>
> 78: 	<c:when test="${sbean.totProgrammi>0}">
> 79: 	<table cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td><div
id="box-tit"><div id="data">
> 80: 		<%=htgiorni.get(fmt3.format(new java.util.Date(yyyy+"/"+mm+"/"+gg)))%> <%=fmt2.format(new
java.util.Date(yyyy+"/"+mm+"/"+gg))%> <%=htmesi.get(fmt4.format(new java.util.Date(yyyy+"/"+mm+"/"+gg)))%></div><%if
(!oraCheck.equals("-2")){%><div id="box-ora">&nbsp; cambia fascia oraria<table
cellpadding="0" cellspacing="0" border="0" id="cambia-ora"><tr><td><%if
(Integer.parseInt(ora) >= 2) {%><a href="?day=<%=fmt.format(new java.util.Date(yyyy+"/"+mm+"/"+gg))%>&hour=<%=Integer.parseInt(ora)-2%>&type=<%=request.getParameter("type")%>&chtype=<%=request.getParameter("chtype")%>&channel=<%=request.getParameter("channel")%>&tipo=2"><%}%><img
src="/guida_tv/images/freccia_indietro.gif" alt="indietro" border="0"/><%if (Integer.parseInt(ora)
>= 2) {%></a><%}%></td><td>&nbsp;<%=ora%>.00-<%=orapiudue%>.00&nbsp;</td><td><%if
(Integer.parseInt(ora) < 22) {if (Integer.parseInt(ora) >= 21) {%><a href="?day=<%=fmt.format(new
java.util.Date(yyyy+"/"+mm+"/"+gg))%>&hour=<%=Integer.parseInt(ora
>  )+1%>&type=<%=request.getParameter("type")%>&chtype=<%=request.getParameter("chtype")%>&channel=<%=request.getParameter("channel")%>&tipo=2"><%}
else {%><a href="?day=<%=fmt.format(new java.util.Date(yyyy+"/"+mm+"/"+gg))%>&hour=<%=Integer.parseInt(ora)+2%>&type=<%=request.getParameter("type")%>&chtype=<%=request.getParameter("chtype")%>&channel=<%=request.getParameter("channel")%>&tipo=2"><%}%><%}%><img
src="/guida_tv/images/freccia_avanti.gif" alt="avanti" border="0"/><%if (Integer.parseInt(ora)
< 22) {%></a><%}%></td></tr></table></div></div><%}%></td></tr></table><br><!--/data
e fascia oraria --><%}%>
> 81: 	</c:when>
> 82: </c:choose>
> 83: <%
>
>
>
> Stacktrace:
>         at
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
>         at
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
>         at
> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
>         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
>         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
>         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
>         at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
>         at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
>         at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
>         at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
>         at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>         at
> org.apache.jsp.cgi.programmi.body_cgi._jspService(body_cgi.java:68)
>         at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
>         at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
>         at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
>         at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
>         at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>         at org.apache.jsp.cgi.index_cgi._jspService(index_cgi.java:113)
>         at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
>         at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
>         at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
>         at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>         at
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
>         at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
>         at org.apache.jk.common.ChannelSocket
> $SocketConnection.runIt(ChannelSocket.java:889)
>         at org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(ThreadPool.java:686)
>         at java.lang.Thread.run(Thread.java:595)
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message