Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: problem regarding chapter 18 of beginning jsp web development


Message #1 by "Raymond Wee" <rcw823@a...> on Thu, 14 Mar 2002 09:27:50
Any specific book support issues should be sent to support@w...




> Hi!
> 
> I recently acquired the book Beginning JSP Web Development, I trying to 
> run the example given about struts framework in chapter 18, in the 
app.tld 
> file, it used to be http://java.sun.com/dtds/web-jsptaglibrary_1_1.dtd
> 
> unfortunately, tomcat 4.03 can't find it, so I used web-
> jsptaglibrary_1_2.dtd, when I try to run the application, i got an 
> error "org.apache.jasper.compiler.ParseException: End of content reached 
> while more parsing required: tag nesting error?" how do I solve this? 
> below is the copy of the app.tld that I modified to run tomcat 4.0.3 
> without errors:
> 
> 
> <?xml version="1.0" ?>
> 
>   <!DOCTYPE taglib
>         PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
> 	"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
> <taglib>
> 
> <tlib-version>1.2</tlib-version>
> <jsp-version>1.2</jsp-version>
> <short-name>User</short-name>
> <description>
> 	This tag library contains employee tag extensions
> </description>
> 
> <tag>
> 	<name>departmentList</name>
> 	<tag-class>com.example.DepartmentTag</tag-class>
> 	<body-content>empty</body-content>
> </tag>
> 
> <tag>
> 	<name>skillsList</name>
> 	<tag-class>com.example.SkillsTag</tag-class>
> 	<body-content>empty</body-content>
> </tag>
> 
> </taglib>
> 
> 				 
> Thanks in advance!
> 
> Raymond

  Return to Index