the final jsp is huge. it is composed of many included jsps. trust me, it is pretty nasty. i spent several solid hours on this so far. i manually assembled the jsp together (ie. as if there were no includes at all) and it came to around 1700 lines long, and this is with all the tags intact (ie. not the final html rendered form). and i searched everywhere i used <c:choose> to see if anything funny resembling the error messages, but didn't see anything.
as i said, the jsp works fine without a hitch in my old setup. without any modifications at all to the jsp, it is choking in the new Tomcat/JDK/Struts configuration. how do i go about debugging such a problem? is there a way to debug in real-time the jsp as it's being assembled and compiled (ie. setting breakpoints and stepping through the code)? i'm at a loss at how to debug this situation... woodchuck --- David Schwartz <[EMAIL PROTECTED]> wrote: > Where's the jsp code? > > Quoting Woodchuck <[EMAIL PROTECTED]>: > > >> hihi all!! > >> > >> this is my 8th jakarta mailing list and my first question to > >> taglibs-user!! :) > >> > >> my question is, how do i debug something like this: > >> > >> org.apache.jasper.JasperException: <h3>Validation error messages > from > >> TagLibraryValidator for c_rt</h3><p>894: Illegal text inside > "c:choose" > >> tag: "<table ...".</p><p>894: Illegal text inside "c:choose" tag: > >> "<tr>...".</p><p>894: Illegal text inside "c:choose" tag: "<td > >> sty...".</p><p>894: Illegal text inside "c:choose" tag: > >> "</td>...".</p><p>894: Illegal text inside "c:choose" tag: > >> "<td>...".</p><p>923: Illegal text inside "c:choose" tag: > >> "</td>...".</p><p>923: Illegal text inside "c:choose" tag: > >> "</tr>...".</p><p>923: Illegal text inside "c:choose" tag: > >> "</table...".</p> > >> > >> > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) > >> > >> > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) > >> > >> > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:72) > >> > >> > org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1549) > >> > org.apache.jasper.compiler.Validator.validate(Validator.java:1495) > >> > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:157) > >> org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) > >> org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) > >> org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) > >> > >> > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556) > >> > >> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293) > >> > >> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) > >> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >> > >> > org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063) > >> > >> > org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) > >> > >> > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) > >> > >> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) > >> > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >> > >> > org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063) > >> > >> > org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) > >> > >> > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) > >> > >> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) > >> > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >> > >> > >> > >> to give some context about this, i am upgrading my web app from: > >> - windows 2000 > >> - jdk1.4.2_07 > >> - tomcat 4.1.24 > >> - struts 1.1 > >> > >> to this: > >> - windows 2003 server > >> - jdk1.5.0_03 > >> - tomcat 5.5.9 > >> - struts 1.2.7 > >> > >> my web app worked fine in my original setup, but in the new > >> configuration the majority of pages are fine, but i'm getting this > >> error on one page which i do not know why. > >> > >> i have done the following: > >> - changed to version 2.4 dtd in my web.xml > >> - changed to version 1.2 dtd in struts-config.xml > >> - referenced the run-time TLDs in my jsps (ie. core_rt, fmt_rt) > >> > >> but now i get this TagLibraryValidator error messages. > >> > >> how do i go about finding what my problem is? how do i use the > unique > >> id's given in the error message? (ie. the 894 or 923 id numbers) > >> > >> please and thanks!! > >> woodchuck > >> > >> __________________________________________________ > >> Do You Yahoo!? > >> Tired of spam? Yahoo! Mail has the best spam protection around > >> http://mail.yahoo.com > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: > [EMAIL PROTECTED] > >> For additional commands, e-mail: > [EMAIL PROTECTED] > >> > >> > > > David Schwartz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]