| Author |
Doubt with execute() method
|
Rajaprabhu Aravindasamy
Greenhorn
Joined: Dec 26, 2011
Posts: 25
|
|
Hello guys..!
Can we return any other string(for example, String val="hello"; ........ return val; ) from execute method rather than success,error,input,none and login..?
If possible.., then tell me how can we map it in struts.xml , whether in normal way or any specific way to achieve that..?
Thank you..!
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 7921
|
|
|
Yes, you can return any arbitrary string from execute, as long as you have a matching result in the struts xml file.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Doubt with execute() method
|
|
|