• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding taglib-uri

 
Gaurav Chikara
Ranch Hand
Posts: 412
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic