File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to call a servlet from jsf managed bean?
Joined: Oct 15, 2006
May 27, 2009 02:54:57
i need to call a
"myServlet" from my managed bean, how do i do it?
Joined: Dec 27, 2007
May 27, 2009 11:57:09
you can get the ServletContext from
and than dispatch the request
fc = FacesContext.getCurrentInstance();
ServletContext sc = (ServletContext) fc.getExternalContext().getContext();
Business Process Analysis
I agree. Here's the link:
subject: how to call a servlet from jsf managed bean?
How to call servlet from JSF ?
Calling a Managed Bean method from Servlet
how to trigger a servlet from JSF
Accessing JSF sesson bean from a servlet
JSF Url Mapping (Newbie)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015