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
- Original Message -
From: Michael Stockhausen prof.dr.moe...@googlemail.com
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
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
prof.dr.moe...@googlemail.com:
-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 the
-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 Klop wrote:
You can use the RequestDispatcher
-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
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 authentication rather than
using
-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 (Example)?!
- From my reading
On 20/09/2010 16:00, Laurence L Leff wrote:
- Original Message -
From: Michael Stockhausen prof.dr.moe...@googlemail.com
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
-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)?!
-Original Message-
From: Christopher Schultz
10 matches
Mail list logo