Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling my servlet when jsf jsp submitted

 
indra sen
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indra,

Use a filter instead.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic