aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Regarding TLD deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Regarding TLD deployment" Watch "Regarding TLD deployment" New topic
Author

Regarding TLD deployment

Senthil Kumar N
Greenhorn

Joined: Nov 30, 2004
Posts: 19
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
Daniel Rhoades
Ranch Hand

Joined: Jun 30, 2004
Posts: 186
<?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


Drinking more tea is the key...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding TLD deployment
 
Similar Threads
Q: HFSJ Book TLD elements
short-name tag in TLD
Error : Mandatory TLD element jsp-version missing
Problem with DTD in web.xml
problem with tld file