PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: <h3>Validation error messages from TagLibraryValidator for c in /app/sdv/test.jsp</h3><p>null: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1b) was found in the CDATA section.</p>
I am using JSTL 1.1 core library with tlib-version 1.1 & Tomcat 5.5 on Linux
I just want to know is there any body call my bean's Getter and Setter methods with "Please" in front - My favorite quip from Bugzilla
It appears as if the character sequence \$ is being converted to an escape character (0x1b) by the JSP translator, which is subseuquently tripping up the JSTL validator.
You could try clever escaping to try to avoid this, but it might just be easier to hack it by separating the $ from the preceding slash with something like:
which makes me gag, but avoids the issue.
Anoop Krishnan
Ranch Hand
Joined: May 03, 2001
Posts: 163
posted
0
Thanks a lot I fixed the issue with the following code
But this is a big limitation that you have to be very carefull in writting javascript code when you incluse JSTL
isn't it ?
When I tried to use c.tld in the jar file for the following code I got compilation error.
According to TLD or attribute directive in tag file, attribute value does not accept any expressions
but when I extracted it to the file system and used it, it worked fine .
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Javascript code exploding the JSLT validation