• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Work with both JSP(NO FACES) and JSF, how i config my web.xml?

 
Andres Granados
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, I really need help, I'm new with JSF, actually I'm trying to implement in a project that uses jsp(NO FACES) some new applications that works with JSF, both jsp and jsf works fine if I change my faces config file, the problem its the view handler of faces

<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>

how can I change my web.xml so it can use faces config only to my new applications???

please help me, regards!
 
Balaji Manoharan Bm
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't get it fully.

Did you try mapping FacesServlet only for JSF urls?

Verify your <servlet-mapping> once.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't get it at all.

However, it's very easy to add JSF into a JSP/servlet webapp. The JSF requests get routed to the FacesServlet and the existing code continues to operate as it did before.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic