aspose file tools*
The moose likes JSF and the fly likes Unable to read html_basic.tld from jsf-impl-2.1.2.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Unable to read html_basic.tld from jsf-impl-2.1.2.jar" Watch "Unable to read html_basic.tld from jsf-impl-2.1.2.jar" New topic
Author

Unable to read html_basic.tld from jsf-impl-2.1.2.jar

Andrew Mike
Greenhorn

Joined: Aug 04, 2011
Posts: 5
I deployed my JSF webapp in Tomcat7 and while accessing the page I am getting the




Why I am getting this error? I found this tld present inside the jar. How to resolve this?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16142
    
  21

Welcome to the JavaRanch, Andrew!

It looks like your real problem is that you're trying to create a web-inf login page in JSF.

There are certain types of web pages that cannot be done in JSF. That's because they're not requested by a URL, they're served up automatically by the appserver when it needs them and retrieves a resource pathname from web.xml. Because it's the appserver handling the operation and not the webapp, the internally-generated request doesn't have an actual URL and without a URL request to be routed to the FacesServlet, you can't have JSF functionality.

Sounds confusing, I know, but the net effect is that resources defined as file path references in web.xml for use by the appserver cannot be JSF, Or, for that matter, they can't be Struts, either. Only straight HTML or JSP.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Consider Paul's rocket mass heater.
 
subject: Unable to read html_basic.tld from jsf-impl-2.1.2.jar