This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 30405
    
150

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: action forward