You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by BugRat Mail System <to...@cortexity.com> on 2001/01/25 10:37:43 UTC

BugRat Report #837 has been filed.

Bug report #837 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/837>

REPORT #837 Details.

Project: Struts
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: low
Severity: serious
Confidence: public
Environment: 
   Release: struts 0.5
   JVM Release: jdk1.3
   Operating System: Win NT
   OS Release: 4.0
   Platform: Windows, Tomcat 3.1

Synopsis: 
<struts:link>  tag has a bug

Description:
Hello,
Well I am not able to decide whether it is a bug in Struts 0.5 or JSP.

whenever <struts:link> tag is used with parameters as given

eg. 
<struts:link href="editRegistration.do?action=Create"><struts:message key="index.registration"/></struts:link>

then the JSP gives an error as following

org.apache.jasper.JasperException: Unable to compile class for JSPwork\localhost_8080%2Fstruts-example\_0002fregistration_0002ejspregistration_jsp_1.java:1376: Invalid escape character.
    JspRuntimeLibrary.introspecthelper(_jspx_th_app_link_0,"href","editRegistration.do\?action=Create",null,null,false);

i.e.
it prepends \ before the '?' or '&' or any special character.

So please check that out. And if its not a bug then why does every JSP in the struts-example.war give such an error.


Regards,