• Post Reply Bookmark Topic Watch Topic
  • New Topic

problems - displaying a jsp page with jsf tags  RSS feed

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a parent.jsp page. this page contains a javascript function to open a popup window.

this popup window is a Faces JSP page, with JSF components. If I use odinary JSP tags, the page and functins work fine...if I put JSF tags, i get the following error:



My WEB-INF/lib folder contains the following jar files:
commons-beanutils.jar
commons-logging.jar
commons-collections.jar
commons-digester.jar
jsf-api.jar
jsf-impl.jar
jsf-ibm.jar
jstl.jar
standard.jar
odc-jsf.jar
jstl_el.jar

My web.xml is like this:



I wonder wht the problem is...can anybody plz help!
 
Rick Beaver
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to reference your jsp using /faces/ after the context path.


So if you have a jsp at http://localhost/App/index.jsp for JSF to work you need to go to http://localhost/App/faces/index.jsp
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!