According to JSP 2.0 the container automatically builds a map between TLD files and <uri> names, so if tld files are stored in /WEB-INF/* and handler classes are in /WEB-INF/classes/* you don't have to specify taglib in web.xml, isn't it?2. Keep loose (or unbundled) classes in WEB-INF/classes. You can keep the *.tld in WEB-INF (or any sub directory of WEB-INF) where the webapp can access it but you have to specify that in the <taglib-location>. For example, if you put mylib.tld in WEB-INF then you should give: <taglib-location>/WEB-INF/mylib.tld</taglib-uri>
About Question enthuware.jwpv6.2.1197 :
Moderators: Site Manager, fjwalraven
-
- Posts: 2
- Joined: Thu Feb 16, 2012 7:24 am
- Contact:
About Question enthuware.jwpv6.2.1197 :
-
- Site Admin
- Posts: 10386
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1197 :
You are right. It is not required now. This has been updated.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 10 guests