• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic