RE: servlets that forward to other servlets

2003-01-23 Thread Shapira, Yoav
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

Re: servlets that forward to other servlets

2003-01-23 Thread Jacob Kjome
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

Re: servlets that forward to other servlets

2003-01-23 Thread Erik Price
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.

RE: servlets that forward to other servlets

2003-01-23 Thread Mike Jackson
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

Re: servlets that forward to other servlets

2003-01-23 Thread Erik Price
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

Re: servlets that forward to other servlets

2003-01-23 Thread Jacob Kjome
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

RE: servlets that forward to other servlets

2003-01-23 Thread Mike Jackson
] -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

RE: servlets that forward to other servlets

2003-01-23 Thread Mike Jackson
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