wood burning stoves
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
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: 17146
    
  27

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.


An IDE is no substitute for an Intelligent Developer.
 
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?
 
jQuery in Action, 3rd edition