• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to redirect from backing bean to servlet ?

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .



reply
    Bookmark Topic Watch Topic
  • New Topic