Hi,
If it were a universal bad idea, it probably wouldn't be available as an
options ;) Although that may just be wishful thinking on my part.
It's not always a bad idea. As usual, if you share your design and give
some more concrete details, we may be able to help more. If you're
getting into
In an Model2 sort of architecture like Struts, you would use this to
forward to your presentation JSP file. So, no, I don't think it is a bad idea.
Jake
At 12:14 PM 1/23/2003 -0500, you wrote:
Is it a bad idea to have a servlet that forwards to another servlet using
Shapira, Yoav wrote:
Hi,
If it were a universal bad idea, it probably wouldn't be available as an
options ;) Although that may just be wishful thinking on my part.
It's not always a bad idea. As usual, if you share your design and give
some more concrete details, we may be able to help more.
Subject: Re: servlets that forward to other servlets
Shapira, Yoav wrote:
Hi,
If it were a universal bad idea, it probably wouldn't be available as an
options ;) Although that may just be wishful thinking on my part.
It's not always a bad idea. As usual, if you share your design and give
Mike Jackson wrote:
You can always dispatch to another servlet. You don't have to redirect.
So the sequence could be something like the following:
- LoginServlet (validated) (dispatch)- MainServlet (dispatch)- *.jsp
It'd look like your page that the MainServlet returned was coming directly
dispatch refers to the RequestDispatcher class which you use to do a
forward(). You are talking about exactly the same thing.
Jake
At 01:53 PM 1/23/2003 -0500, you wrote:
Mike Jackson wrote:
You can always dispatch to another servlet. You don't have to redirect.
So the sequence could be
]
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 10:53 AM
To: Tomcat Users List
Subject: Re: servlets that forward to other servlets
Mike Jackson wrote:
You can always dispatch to another servlet. You don't have to redirect.
So
Oops, ment to say word not work.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 11:24 AM
To: Tomcat Users List
Subject: RE: servlets that forward to other servlets
You get a request