Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Servlets
Error adding taglib in web.xml
rajiv jackz
Greenhorn
Posts: 29
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi anyone please provide me solution.
when i add following to
web.xml
<taglib>
<taglib-uri>
http://java.sun.com/jstl/fmt</taglib-uri>
;
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>
http://java.sun.com/jstl/core</taglib-uri>
;
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>
http://java.sun.com/jstl/sql</taglib-uri>
;
<taglib-location>/WEB-INF/sql.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>
http://java.sun.com/jstl/x</taglib-uri>
;
<taglib-location>/WEB-INF/x.tld</taglib-location>
</taglib>
eclipse shows
cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/
j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/
xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param, "http://java.sun.com/xml/ns/j2ee":filter, "http://
java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/j2ee":listener, "http://java.sun.com/xml/ns/j2ee":
servlet
,
"http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/
j2ee":mime-mapping, "http://java.sun.com/xml/ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://
java.sun.com/xml/ns/j2ee":jsp-config, "http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/
j2ee":login-config, "http://java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://
java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref,
"http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/
j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/j2ee":locale-
encoding-mapping-list}' is expected.
Abimaran Kugathasan
Ranch Hand
Posts: 2066
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I think, this old style. May be Eclipse doesn't support that.
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
rajiv jackz
Greenhorn
Posts: 29
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
then what is the new style.
how to add taglib to web.xml . how can i use in
jsp
.
. provide me solution.
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You haven't needed to put taglibs in the web.xml for many years now.
Are you actually unable to use the taglibs? What container are you running?
Han Jie
Greenhorn
Posts: 24
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
JSP Configuration
I don't know whether this can help you?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Deploying a struts application.
problem creating a URI for a tld in the web.xml
Getting error while upgrading my running application from jboss-4.2.1.GA to jboss-6.0.0.Final.
Unable to find taglib in project--please help
custom tag handler
More...