> -Original Message-
> From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
> Sent: Monday, September 20, 2010 10:56 AM
> To: 'Tomcat Users List'
> Subject: RE: Howto: call a Servlet from another Servlet (Example)?!
>
>
>
>
On 20/09/2010 16:00, Laurence L Leff wrote:
>
> - Original Message -
> From: "Michael Stockhausen"
>
> I have create two Servlets (LoginServlet & UserListServlet).
> I'm using a JSP for the User credentials. When you press the login-button,
> the LoginServlet is called.
>
> I would like
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 9/20/2010 3:05 PM, Leo Donahue - PLANDEVX wrote:
> Chris,
>
>> -Original Message- From: Christopher Schultz
>> [mailto:ch...@christopherschultz.net] Subject: Re: Howto: call a
>> Servlet from another Servlet
Chris,
>-Original Message-
>From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>Subject: Re: Howto: call a Servlet from another Servlet (Example)?!
>
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>- From my reading, the OP is doing his own au
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 9/20/2010 12:55 PM, Leo Donahue - PLANDEVX wrote:
> I thought that if you were making a request to a UserListServlet and
> it was restricted to authentication, assuming you use Form
> Authentication and structure your login form correctly, you
>-Original Message-
>From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>Subject: Re: Howto: call a Servlet from another Servlet (Example)?!
>
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Ronald,
>
>On 9/20/2010 11:07 AM, Ronald
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 9/20/2010 11:07 AM, Ronald Klop wrote:
> You can use the RequestDispatcher.
>
> RequestDispatcher dispatcher = request.getRequestDispatcher("/userlist");
> dispatcher.forward(request, response);
Of course, you can also issue a redirect to
You can use the RequestDispatcher.
RequestDispatcher dispatcher = request.getRequestDispatcher("/userlist");
dispatcher.forward(request, response);
Google gives you a lot of examples.
Ronald.
Op maandag, 20 september 2010 16:47 schreef Michael Stockhausen
:
Hello,
I have create two S
- Original Message -
From: "Michael Stockhausen"
I have create two Servlets (LoginServlet & UserListServlet).
I'm using a JSP for the User credentials. When you press the login-button,
the LoginServlet is called.
I would like to call the UserListServlet, when the username and password a
Hello,
I have create two Servlets (LoginServlet & UserListServlet).
I'm using a JSP for the User credentials. When you press the login-button,
the LoginServlet is called.
I would like to call the UserListServlet, when the username and password are
correct.
How can I call UserListServle from the
10 matches
Mail list logo