RE: jsp vs do

2001-07-02 Thread Rey Francois
Probably because you want to remain faithful to the MVC approach: only the controller should decide where to dispatch a request. Linking JSPs together directly can lead to a spaghetti mess. What you want is one central point where the request dispacthing is done (the ActionServlet) so you can easi

RE: jsp vs do

2001-07-02 Thread Rey Francois
Oops forget my answer, I did not read well enough the question in the first instance, sorry. Fr. -Original Message- From: Rey Francois Sent: 02 July 2001 18:56 To: '[EMAIL PROTECTED]' Subject: RE: jsp vs do Probably because you want to remain faithful to the MVC approach

Re: jsp vs do

2001-07-02 Thread Timothy Shadel
e actions do not need any input at all. (e. g. /admin/restart.do) It wouldn't be very bad to go directly to login.do without any data, since this would simply report an error and forward to its input (login.jsp) itself. -- gR > > -Original Message- > From: Gregor

Re: jsp vs do

2001-07-02 Thread Gregor Rayman
/admin/restart.do) It wouldn't be very bad to go directly to login.do without any data, since this would simply report an error and forward to its input (login.jsp) itself. -- gR > > -Original Message- > From: Gregor Rayman [mailto:[EMAIL PROTECTED]] > Sent: Monday, July

RE: jsp vs do

2001-07-02 Thread Anthony Martin
/logon.do?username=foo&password=bar Anthony -Original Message- From: Gregor Rayman [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 10:28 AM To: [EMAIL PROTECTED] Subject: Re: jsp vs do "Anthony Martin" <[EMAIL PROTECTED]> wrote: > This is how I understand it.

Re: jsp vs do

2001-07-02 Thread Gregor Rayman
"Anthony Martin" <[EMAIL PROTECTED]> wrote: > This is how I understand it. A .do maps to an action then to a .jsp. If > you link directly to a .jsp, the action never executes. Actions are mapped > to a .jsp in the struts-config.xml file. > > I'm sure there are more clear explanations to foll

RE: jsp vs do

2001-07-02 Thread Anthony Martin
This is how I understand it. A .do maps to an action then to a .jsp. If you link directly to a .jsp, the action never executes. Actions are mapped to a .jsp in the struts-config.xml file. I'm sure there are more clear explanations to follow. Anthony -Original Message- From: Bob Byro