• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to redirect from backing bean to servlet ?

 
Hatem Alimam
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

my question is how to redirect from backing bean to servlet ?

I have this code which works on OC4J but unfortunately not on GlassFish



what I got here is nothing a blank page .... with no action !!! like this >>> http://localhost/myWeb/faces/myServlet
and I'm wondering why /faces is sticked with my servlet URL !!!


And I tried to dispatch it instead of redirecting with this code



what I got is javax.servlet.ServletException Exceeded maximum depth for nested request dispatches: 20

Please Help me with this issue .

Thanks in advanced .



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!