This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes data from FORM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "data from FORM" Watch "data from FORM" New topic
Author

data from FORM

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
New to struts. Struts uses FORM so we can get data field values from the FORM. A basic question is -- Suppose I don't use FORM (although I am using struts), are these data field value also stored in Http Request ? Specifically are they stored exactly the same way as "paramemter" values of Http Request ?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Originally posted by Raj Ohadi:
Suppose I don't use FORM (although I am using struts), are these data field value also stored in Http Request ? Specifically are they stored exactly the same way as "paramemter" values of Http Request ?

Yes. They are also stored in the ActionForm if one is defined in the struts config file regardless of whether you use the Struts form tag.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
jQuery in Action, 2nd edition
 
subject: data from FORM
 
Similar Threads
JSP Invoking another JSP in Iframe
enctype="multipart/form-data" request.getParameter() issue
struts flow
request scoped form
the data in form is not being displayed :