This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding taglib-uri  RSS feed

 
Gaurav Chikara
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using tomcat 3.2
while working with taglibs i noticed
following behaviour
1 if i remove <taglib-uri> element from web.xml
and also make jsp like <@ taglib uri = "" prefix = 'jspx'>
then compiler gives String index out of range exception
2. if i remove only the value of <taglib-uri> element
in web.xml
and do the same thing with jsp
<%@ taglib uri = "" prefix = 'jspx'%>
then it works fine
can anyone explain the reasoning behind this behaviour
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Tag libs for the SCWCD exam are all based on JSP 1.2 Spec. Tomcat 3.2 doesn't support this. Hence it is recommended that you use Tomcat 4.0.*.
There is quite a good amount of change in this area.
- satya
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!