3:33 AM
To: Struts Users Mailing List
Subject: RE: Mandatory use of form rather than request object
Hi ,
Can you elaborate a bit? The situation in my mind is, a jsp page with a
list of records, but no form at all.
Like
Orange
Of course the a links are generate by struts. Then how couldthe fo
the hidden value to the id, and call the form submit.
Rgds,
Patrick.
-Original Message-
From: Richard Hightower [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 3:08 PM
To: Struts Users Mailing List
Subject: RE: Mandatory use of form rather than request object
forgive mebut
Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 7:41 PM
To: Struts
Subject: RE: Mandatory use of form rather than request object
Yeh, your right though. Taking it out is a bit drastic and the request
object tends to be needed for various other things as well so
PROTECTED]
Sent: Monday, January 12, 2004 11:25 AM
To: Struts Users Mailing List
Subject: Re: Mandatory use of form rather than request object
This precludes you from storing data in the request scope, though - so
you're left with only storing things in the session scope, which I
wouldn't cons
sMentoring
-Original Message-
From: Patrick Cheng [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 7:34 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Mandatory use of form rather than request object
Hi,
I understand that the request.getParameter should not be
best check that your company doesnt have an OHS
policy against it first ;-> )
-Original Message-
From: Patrick Cheng [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 13 January 2004 10:34
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Mandatory use of form rather than request obj
ll [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 10:09 AM
To: Struts Users Mailing List
Subject: RE: Mandatory use of form rather than request object
No. He would provide setters in the form for anything that needs to be
passed along in request scope. This has the dual advantages of t
January 2004 02:25
To: Struts Users Mailing List
Subject: Re: Mandatory use of form rather than request object
This precludes you from storing data in the request scope, though - so
you're left with only storing things in the session scope, which I
wouldn't consider ideal.
Right
This precludes you from storing data in the request scope, though - so
you're left with only storing things in the session scope, which I
wouldn't consider ideal.
Right?
Richard Hightower wrote:
Create a superclass that overides the execute method and calls an abstract
execute method that does
Create a superclass that overides the execute method and calls an abstract
execute method that does not pass the request object.
The subclasses overide the execute method without the request object being
passed.
Also look into the ProcessAction, which is part of the scaffold.
You can get the scaf
model.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 11:53 AM
To: [EMAIL PROTECTED]
Subject: RE: Mandatory use of form rather than request object
Hi,
Its a good idea to use just form.getAttribute than use
request.getparameter..I
Hi,
Its a good idea to use just form.getAttribute than use request.getparameter..I think
that is major advantage with struts...You should no longer be using this syntax.The
form should be a complete container as far as actions are concerned.The advantage is
that just by looking at the form you s
12 matches
Mail list logo