In Action, we often jump from this Action to another Action, if it's just a basic jump, then it's pretty
Simple, just add a lead to the struts configuration file, like: resultname='index'/manager
/managerInfo/account.jsp/result.outcome
There is a form attribute, the variety here may be the dispatcher by default, but in this case, the request cannot be sent amongst actions, then we will use it
redirect, redirect-action, chain, whenever you desire to request an action, you can set the worth of form to certainly one of the above three, such as: resultname='reload'
type='redirectAction'/manager/managerInfo/account.action/result.
If you want to add parameters during the request, it is possible to use 'xx?xx=xx' at the finish like a hyperlink.
Parameters in the form of. For example: resultname='reload'
type='redirectAction'/manager/
managerInfo/account.action?parameter name=parameter value/result, in the event the parameter worth right here isn't a fixed value, you could use '$ref
In the form of 'value', it ought to be noted that the 'parameter value' will have to give a get/set strategy in the corresponding Action, otherwise the parameter value is not going to be obtained, certainly, one can also take a single right here
An attribute value from the object is: $object name. attribute name, if I want to get an account account quantity: result
name='reload'type='redirectAction'
/manager/managerInfo/account.action?account.accountNO=$account.accountNO/result.
If you would like to pass many parameters to connect with '' symbol? NO, since
Use '' will report an error in the XML grammar verify, so replace '' with '' around the line! For
what is a dv file : result
name='reload'type='redirectAction'
/manager/managerInfo/account.action?account.accountNO=$account.accountNOaccount.balance=$account.balance/result.
Note: When working with
sony video camera data recovery software free download ='redirectAction', the .action (the location marked in red above) inside the result is optional, but once you choose to pass the parameter, as well as the parameter contains Chinese characters, it's essential to not add .action, otherwise Your parameter worth cannot be passed. This was found by myself later.Should you be interested, you can attempt it...