Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes Invoking Servlet from Managed bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Invoking Servlet from Managed bean" Watch "Invoking Servlet from Managed bean" New topic
Author

Invoking Servlet from Managed bean

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
Please is it possible to invoke a Servlet from my managed bean, i am able to invoke using outputLink but i intend to invoke a servlet from my managed bean
Andres Quinones
Ranch Hand

Joined: Oct 09, 2006
Posts: 57
have you tried doing the mapping in the faces-config.xml and in the Managed Bean output the String in order to redirect you to the servlet you want?
 
 
subject: Invoking Servlet from Managed bean