This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I hav a jsp where I'm printing out a list of notes. An Array called "notes" is passed in the request from my Action class. All the notes are displayed in an HTML TABLE, with each note occupying it's own TR. I have to alternate the style of the TR tag. So, even numbered rows should have the "row1" style and odd numbered ones should have "row2" style
So, here's a snippet of my JSP
So, when I run this code, it gives me an error saying org.apache.jasper.JasperException: Validation error messages from tag library c Illegal text inside "c:choose" tag: "...".
The funny thing is that this used to work in Tomcat 4.1.24, but someone else meddled around with the environment and downgraded to Tomcat 4.0.6 (dont ask!!), and it stopped working. As far as I can see they havent changed the JSTL tag libraries
So, does anyone know why I get this error??
I changed the JSP to use c:if instead of c:choose and it works but I'm curious why it doesnt work? [ November 15, 2004: Message edited by: Jayesh Lalwani ]