my dog learned polymorphism
The moose likes Servlets and the fly likes Servlet chaining - ServletRunner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet chaining - ServletRunner" Watch "Servlet chaining - ServletRunner" New topic

Servlet chaining - ServletRunner

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Is ServletChaining possible in Servletrunner ? If so how do i set up ?
I have developed an application. In this first, user and password are captured and sent to Servlet1. On validating, i would like to call another servlet (Servlet2) to output a new form.
Is servlet chaining a good design for this?
please suggest?
Thanks in advance.

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
one way is u can use servlet chaining for this or the other way is once the authentication is over, use directly redirect to the servlet which u want to pass
I agree. Here's the link:
subject: Servlet chaining - ServletRunner
jQuery in Action, 3rd edition