Re: compilation error message on tomcat 5.5.27
- From: TSG Todd <tpierzina@xxxxxxxxx>
- Date: Wed, 4 Feb 2009 07:49:19 -0800 (PST)
On Jan 8, 7:53 am, GArlington <garling...@xxxxxxxxxxxxx> wrote:
On Jan 8, 8:01 am, phil89 <pco...@xxxxxxxxxx> wrote:
Hi
I have change tomcat 5.5.26 to 5.5.27 and i have following compilation
error message
Code :
org.apache.jasper.JasperException: /jsp/servlet24/supervisionv2.jsp
(180,35) Attribute value ((servlet24.PosteBean)context.getPoste
("******")).getCodePoste()+"_appletc" is quoted with " which must be
escaped when used within the value
org.apache.jasper.compiler.DefaultErrorHandler.jspError
(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch
(ErrorDispatcher.java:407)
Line is
<jsp:plugin type="applet" jreversion="1.4"
code="dclock.LedClock.class" archive="dclock.jar" height="36"
width="166">
<jsp:params>
<jsp:param name="name" value="<%= ((servlet24.PosteBean)
context.getPoste("******")).getCodePoste()+"_appletc"%>" />
</jsp:params>
What is NOT clear? What does your error message say? What does it
suggest?
(You have double quotes ["] within double quoted string), you can
either escape any double quotes used within the string, or change the
quotes to single quotes ['] around main string as bellow, AFAIR it
will work too...
<jsp:param name="name" value='<%= ((servlet24.PosteBean)
context.getPoste("******")).getCodePoste()+"_appletc"%>' />
</jsp:params>
<jsp:fallback>
<p>Unable to load applet</p>
</jsp:fallback>
</jsp:plugin>
Could you help me ?
Regards
Philippe
Well, my question would be, WHY did this work in Tomcat 5.5.26? Also,
Tomcat 5.0.28 and something in the WLS 9 family?
.
- Prev by Date: Re: canonical conversion of float/double to strings
- Next by Date: Re: Scrollbar code - Need help
- Previous by thread: 100% CPU Utilisation Problem
- Next by thread: Implementing high-performance cache in Java
- Index(es):
Relevant Pages
|