--- Robert Nicholson <[EMAIL PROTECTED]> wrote:
> Any get the forProperty and ifProperty tag examples working
> with Tomcat?
>
> I'm getting this error when I try the jsp's from the source deployed on
> tomcat 3.1
>
> org.apache.jasper.JasperException: Parse Error in the tag library descripto
> ement "web-app" does not allow "servlet" here.
> at org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java:156)
>
> this is the contents of my web.xml
Can you post the contents of the TLD file? There is a problem with the code
that the Manning book has listed for TLD files. (I already submitted it to
their errata email address, so it'll be fixed in future releases of the book.)
Check the <!DOCTYPE> tag in the TLD file, and make sure it reads:
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
In the book, the last part of the tag read: '.../dtds/web-jsptaglib_1_1.dtd">'
-David Castro
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets