GeeCON Prague 2014*
The moose likes Portals and Portlets and the fly likes Calling servlet from JSF applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Calling servlet from JSF applications" Watch "Calling servlet from JSF applications" New topic
Author

Calling servlet from JSF applications

dwarakanathan thiru
Ranch Hand

Joined: Oct 14, 2009
Posts: 49
Hi All,

I need to call a servlet from my JSF / xhtml file. But the servlet is not getting called for some reason.


But the page is not getting re-directed to the servlet and it stays on the same page.
I am using RichFaces for the UI framework.

Also, in another application I have used SUN's RI / jsp file and it worked for me.

The difference that I see is I use "javax.portlet.faces.GenericFacesPortlet" in the current application for rich faces to work.
In the working application, I used "com.sun.faces.portlet.FacesPortlet". Why is this issue in rich faces and not in sun's RI.

Any idea on this?

Thanks!!


Thanks,
Dwarak T
 
GeeCON Prague 2014
 
subject: Calling servlet from JSF applications