Forums Register Login

Regarding TLD deployment

+Pie Number of slices to send: Send
Hi

If I put the XML schema like this it works fine for me

<?xml version="1.0" encoding="ISO-8859-1" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">

but in HFSJ it is given as

<?xml version="1.0" encoding="ISO-8859-1" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-taglibrary_2_0.xsd"
version="2.0">

Can anybody explain what is the significance of both.
where i am going wrong. I am using tomcat 5.5.9 version.

Thanks

Regards
Senthil
+Pie Number of slices to send: Send
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">

Always works fine for me, and it is how it appears in the J2EE Servlet Spec
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 709 times.
Similar Threads
problem with tld file
Error : Mandatory TLD element jsp-version missing
short-name tag in TLD
Problem with DTD in web.xml
Q: HFSJ Book TLD elements
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 09:48:17.