compilation error message on tomcat 5.5.27

P

phil89

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>



<jsp:fallback>
<p>Unable to load applet</p>
</jsp:fallback>
</jsp:plugin>

Could you help me ?

Regards
Philippe
 
G

GArlington

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"%>' />
 
T

TSG Todd

I have change tomcat 5.5.26 to 5.5.27 and i have following compilation
error message
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top