User Comments for the tutorial:

Struts2 Actions

Total comments: 8      View Tutorial    Discuss: Struts2 Actions



update a set of table records
Hi, I have a table that is editable and on submitt, i would need to pass the details as collection of VOs to the server. Usually in the older versions of struts this was done using DynaActionForm with "index" set as true. Is there a way to d 

Good and Usefull
U r doing a very good things.It help me to study very well and share my doubts for answer.Thanks roseindia. 

some errors on this page
1) "public class NewAction implements addDependency {" on this line interface method is wrong, it should look like "public class NewAction implements ServletRequestAware { " 2) "public void String execute() throws Exception ", on this line please r 

I'm not sure "public void String execute() throws Exception" is correct could you please check it ? 

Wrong Interface implemented
There is a wrong interface is implemented for the "NewAction" example. It should be ServletRequestAware not addDependecy 

goog training
You are providing a very goog training on struts 2. This is a very Good tutorial for novice Users. Thanks... 

Hello sir, I am new in structs1 and I want to learn it in detail. then I go through structs2. so please suggest me one of best site or free download of best books of structs1. your tutorial is really very nice and all parts are describe simply. but  

Do correction your content
Please do correction below line in your example //incorrect public void String execute() throws Exception //correct public String execute() throws Exception class NewAction { public void String execute() throws Exception { if ( its-ok( 

Related Tutorial and Articles
Struts 2 Tutorials

Struts2 Actions
Struts2 Actions       When.... However with struts 2 actions you can get different return types other than... generated by a Struts Tag. The action tag (within the struts root node of  

Struts Examples

Struts2 Actions
Struts2 Actions       Struts2 Actions... is usually generated by a Struts Tag.    Struts 2 Redirect Action In this section, you will get familiar with struts 2 Redirect action 


Struts 2 Actions
Struts 2 Actions       In this section we will learn about Struts 2 Actions, which is a fundamental concept in most of the web... request. About Struts Action Interface In Struts 2 all actions may implement 

Struts Examples

Struts1 vs Struts2
. To test the Struts 2 Actions instantiate the Action, set the properties, and invoking... as an Struts 2 Action object. Threading Model Struts 1 Actions... restricts to Struts 1 Actions and requires extra care to make the action resources 

Struts Questions

struts.xml in struts2
struts.xml in struts2  What is the struts.xml file ? Who it is loads?   Hi Samar, The struts.xml is a XML file. Which is used to struts configuration. It divides the application in to modules. Struts use 


Aggregating Actions In Struts Revisited
Aggregating Actions In Struts Revisited... Aggregating Actions in Struts , I have given a brief idea of how to create action aggregations. An action aggregation is a grouping of a set of related actions 

Struts Questions

Actions in Struts
Actions in Struts  Hello Sir, Thanks for the solutions you have sent me. i wanted examples on Struts DispatchAction,Forword Action ,Struts lookupDispatchAction,Struts mappingDispatchAction,Struts DynaActionform.please 

Struts Questions

Is Multiple Actions in Action class - Struts
Is Multiple Actions in Action class  In ActionClass we can use only... question is , we can use multiple actions in Action class if(action.equals("add") ,if(action.equals("update"). Then when to use Action and DispatchAction 

Struts Questions

Actions - Struts
Action struts 2  Please explain the Action Script in Struts 

Struts Questions

struts2  dear deepak sir plz give the struts 2 examples using file