This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSF and the fly likes Work with both JSP(NO FACES) and JSF, how i config my web.xml? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Work with both JSP(NO FACES) and JSF, how i config my web.xml?" Watch "Work with both JSP(NO FACES) and JSF, how i config my web.xml?" New topic
Author

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

Andres Granados
Greenhorn

Joined: Oct 18, 2013
Posts: 2
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

Joined: Sep 22, 2013
Posts: 13
I didn't get it fully.

Did you try mapping FacesServlet only for JSF urls?

Verify your <servlet-mapping> once.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16158
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Work with both JSP(NO FACES) and JSF, how i config my web.xml?