This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Struts 2 action result Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 action result" Watch "Struts 2 action result" New topic
Author

Struts 2 action result

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi,

I am newbie in struts 2. I do not understand how in the below struts.xml code the dynamic value will be populated even though in the action class there is no class variable declared?
So my question is how {1} is populated?



Thanks in advance,
Kousik


Thanks in Advance,
Kousik
Yogesh Lonkar
Ranch Hand

Joined: Jul 17, 2012
Posts: 94

May be you should have a look in struts docs Here


Learning some thing New Every Day
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 2 action result