File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling servlet from JSF applications

 
dwarakanathan thiru
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic