IntelliJ Java IDE
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Regarding taglib-uri Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Regarding taglib-uri" Watch "Regarding taglib-uri" New topic
Author

Regarding taglib-uri

Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
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


SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
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


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
jQuery in Action, 2nd edition
 
subject: Regarding taglib-uri
 
Threads others viewed
q on taglibs
taglibs distributed in jars
mock exam question
about taglib
taglibray prefix question
MyEclipse, The Clear Choice