aspose file tools*
The moose likes Struts and the fly likes Question with respect to execute Method in Action class (Struts2) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Question with respect to execute Method in Action class (Struts2)" Watch "Question with respect to execute Method in Action class (Struts2)" New topic
Author

Question with respect to execute Method in Action class (Struts2)

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Struts Action :



Assuming that there is a getName() .This is the default syntax of an Action class.
I am having a question here , why SUCCESS is hardcoded (The outcome of this method can be anything know)


Save India From Corruption - Anna Hazare.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You would probably have to ask whoever wrote that class.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question with respect to execute Method in Action class (Struts2)