*
The moose likes Struts and the fly likes action forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action forward" Watch "action forward" New topic
Author

action forward

raj joe
Ranch Hand

Joined: Mar 17, 2005
Posts: 99
In struts i have an action with a form bean associatethe scope of the form bean is request.Now I enter values in this form through a jsp and call the action.

In the action if I forward to an other action with same form mapping what happens?will i get the form values acction with my jsp and first action

In the action if I forward to an other action with different form mapping what happens?will i get the form values acction with my jsp and first action
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

Raj,
Either way, the values that the user submitted get passes. At a HTTP level, these are just request parameters.


[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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: action forward
 
Similar Threads
problem in getting data from request
No getter method for property finame of bean org. apache. struts. taglib. html. BEAN
Actionform not populating JSP
populate the form field with the submitted input
writing to an Action form