Meaningless Drivel is fun!*
The moose likes JSF and the fly likes Jsf Request forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Jsf Request forward" Watch "Jsf Request forward" New topic
Author

Jsf Request forward

rajesh babu Y
Ranch Hand

Joined: Nov 12, 2010
Posts: 31
Hi All,

how to bypass the request to Jsf controllers from a servlet?


Thanks,
Rajesh Yarlagadda
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15957
    
  19

Welcome to the JavaRanch, Rajest!

I'm not sure what you mean here. The JSF controller is a servlet. The FacesServlet, in fact. To bypass it, just code a URL that doesn't match the servlet's URL selection pattern.

However, if you do, don't expect to be able to use the FacesContext, since FacesContext by the FacesServlet is constructed when a JSF request is processed and destroyed when the request has completed. So if you bypass FacesServlet, you won't have a FacesContext.


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: Jsf Request forward
 
Similar Threads
Web Framework Recommendation
what is request processor in JSF
Can we Access FacesContext outside FacesServlet
select a row
Spring+ hibernate or JSF+EJB3