wood burning stoves 2.0*
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


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 "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.
 
Don't get me started about those stupid light bulbs.
 
subject: calling my servlet when jsf jsp submitted