This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF - Unable to call servlet

 
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!!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic