wood burning stoves 2.0*
The moose likes Struts and the fly likes Trying to understand parameter's in the action 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 "Trying to understand parameter Watch "Trying to understand parameter New topic
Author

Trying to understand parameter's in the action

howard franklin
Greenhorn

Joined: Sep 09, 2012
Posts: 20
Do you guys understand the parameter=”function”?

Is the function being being pass to IntakeClerkAction?
Or is it being passed to the forward action?

<action path="/intakeclerk"
type="com.capita.pcms.web.struts.intake.IntakeClerkAction"
name="IntakeEditForm"
validate="false"
input="/intakeMinorForm.do"
scope="request"
parameter="function">

<forward name="editTake" redirect="true" path="/intakeclerk.do?function=editIntake"/>
<forward name="error" path="/intakeHistory.do?function=getInt"/>
<forward name="invalidaddress" path="/intakeclerk.do?function=editIntake&intakeid=-1"/>
</action>

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Trying to understand parameter's in the action
 
Similar Threads
Can't find bean in any scope
Use of Parameter in Struts Action tag
cut&paste changes to DispatchAction fail
problem between Form and Action
need help regarding multiple submit buttons...