Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling servlet from JSF applications

dwarakanathan thiru
Ranch Hand
Posts: 49
  • 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?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic