tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woodchuck <woodchuc...@yahoo.com>
Subject how to debug jsp compilation error in Tomcat 5.5 ?
Date Thu, 16 Jun 2005 21:14:04 GMT
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: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message