You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/04/24 21:10:34 UTC

DO NOT REPLY [Bug 19283] New: - backslash in application resource file cause tags below the slash to be never found

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19283>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19283

backslash in application resource file cause tags below the slash to be never found

           Summary: backslash in application resource file cause tags below
                    the slash to be never found
           Product: Struts
           Version: 1.0.2 Final
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Validator Framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: michel.wicky@osima.ch


We put a backslash instead a slash in errors.footer tag in our application 
resource file by mystake. This causes the <html:errors> tag in our jsp page to 
return an error because the tag login.fails was not found in the application 
resource file when an error is return by the validate method in a form bean. 
Note the error.header tag was found and was displayed correctly on the page. 
This login.fails tag is just below the errors.footer tag that contain this 
backslash. I think that may be the backslash is terminating the search process 
into the file. Just modifying it to slash (the correct value) causes the 
application to run correctly.

incorrect application resource file content

index.title=JDeveloper Struts Application
index.heading=JDeveloper Struts Application
index.message=See how easy it is to use struts with JDeveloper 9i.
errors.header=Errors list<ul>
errors.footer=<\ul>
login.fails=<li>Connection fails please try again</li>
correct application resource file content

index.title=JDeveloper Struts Application
index.heading=JDeveloper Struts Application
index.message=See how easy it is to use struts with JDeveloper 9i.
errors.header=Errors list<ul>
errors.footer=</ul>
login.fails=<li>Connection fails please try again</li>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org