File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes calling my servlet  when jsf jsp  submitted Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "calling my servlet  when jsf jsp  submitted" Watch "calling my servlet  when jsf jsp  submitted" New topic
Author

calling my servlet when jsf jsp submitted

indra sen
Greenhorn

Joined: Jun 08, 2007
Posts: 27
In our application there is a controller servlet.
now we want to add jsf screen into it.

so i want when jsf-jsp page got submitted,it should invoke my servlet instead of face servlet and then from my servlet i will forward request to face servlet.
But i found when jsf jsp got submitted it reads url pattern from web.xml ,
and append that into req and invokes the face servlet.

<url-pattern>/faces/*</url-pattern>

My question is how i can set jsf jsp action towards my servlet instead of face servlet.
Thanks in advance....
Shailesh Kini
Ranch Hand

Joined: Oct 17, 2001
Posts: 153
Indra,

Use a filter instead.


Shailesh Kini.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling my servlet when jsf jsp submitted
 
Similar Threads
<url-pattern> element
..jsp extension JSF web.xml
related to .do and .faces
servlet mapping
config.getInitParameter