struts 1.x and struts2.0

struts 1.x and struts2.0

View Answers

January 5, 2009 at 3:28 AM

Hi friend,


Struts1 extends the abstract base class by its action class. The problem with struts1 is that it uses the abstract classes rather than interfaces.


While in Struts 2, an Action class implements an Action interface, along with other interfaces use optional and custom services. Struts 2 provides a base ActionSupport class that implements commonly used interfaces. Although an Action interface is not necessary, any POJO object along with an execute signature can be used as an Struts 2 Action object.


-------------------------------------------------

Visit for more information:

http://www.roseindia.net/struts/struts1-vs-struts2.shtml

Thanks.

Amardeep









Related Tutorials/Questions & Answers:
struts 1.x and struts2.0 - Struts
struts 1.x and struts2.0  what are the differences between struts1.x version and struts2.0? Its urgent please reply soon..........  Hi.... While in Struts 2, an Action class implements an Action interface, along
struts 1.x
struts 1.x   hi... sir. This is sreenu sir. I am learning struts2 but i have a small doubt i am using include tag. ex include tag is not displayed pls telll me sir.? i using this tag using but it is not work pls give
Advertisements
Struts2.0 - Struts
Struts2.0  Hi, How wrote separate Form (not in Action) so define bean tag in struts.xml ( struts2.0) how map dat bean to tag... plz any one help me... thanks& regards kalyani
Struts 1.X with GWT
Struts 1.X with GWT  Hi RoseInda, Can you please provide me information on how to use GWT with Struts 1.x Regards, Hari
Struts2.0 - Struts
Struts2.0  Hi , I am Kalyani, im very new to struts2.0 , just i fetch 1 recond im dao using SQL database , i want to display those in jsp for that i wrote following code... plz verify my plz,plz help me any one....plz
Excel File data upload into postgresql database in struts 1.x
Excel File data upload into postgresql database in struts 1.x  Dear members please explain how Excel Files data upload into postgresql database in struts 1.x
how to display default radio button in struts2.0 for first time login - Struts
how to display default radio button in struts2.0 for first time login  hi, this is suresh jampala, i have one question regarding struts2.0,how can i display default radio button in struts2.0 when ever i loggedin first time
Struts 1.x Vs Struts 2.x
Struts 1.x Vs Struts 2.x      ... frameworks. Struts 2.x  is very simple as compared to struts 1.x,  few... but in case of Struts 2, Actions are not container dependent because they are made simple
New to struts2.0
New to struts2.0  hi am new to struts2.0 in my application i have declared a list in static how to get the static list values in my result.jsp??? if i remove the static in the list the result is getting displayed.why
Error from struts2.0
Error from struts2.0  Hi All, I run the struts2.0 i get this error please give the solution. My versions jre,jdk,and jvm are 1.6. Tomcat 6.0. My error: The requested resource (/struts2-blank-2.0.6/) is not available. I
integrate hibernate and struts2.0 in eclips ide
integrate hibernate and struts2.0 in eclips ide  I want to know how to integrate hibernate with struts2.0 in eclips ide
STRUTS2.0 Validation Errors
STRUTS2.0 Validation Errors   <!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"> <validators> <
venkat,struts developer
venkat,struts developer  what isthe purpose of <Results>tag in struts2.0
struts programming - Framework
struts programming  how to start programming using the struts2.0 by using eclipse europa and along with the jboss server
struts programming - Framework
struts programming  how to start programming using the struts2.0 by using eclipse europa and along with the jboss server
Two forms submission to one Action Class in Struts2.0
Two forms submission to one Action Class in Struts2.0  Hi, I have two forms.I want to submit two forms with only one submit button to the same action, same method. How can i get this. Please reply me
Struts
Struts   How to retrive data from database by using Struts
STRUTS
STRUTS  MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2
STRUTS
STRUTS  MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2
Struts
Struts  what is SwitchAction in struts
Struts
Struts  how to learn struts
STRUTS
STRUTS   Request context in struts? SendRedirect () and forward how to configure in struts-config.xml
struts
struts  in industry, struts 1 and struts 2. which is the best? which is useful as a professuional   Have a look at the following link: Struts Tutorials
Struts
Struts  Tell me good struts manual
struts
struts  what are the 4 methods of struts framework
struts
struts shopping cart project in struts with oracle database connection  shopping cart project in struts with oracle database connection   Have a look at the following link: Struts Shopping Cart using MySQL
Differences from HTML 4.01 and XHTML 1.x
Differences from HTML 4.01 and XHTML 1.x   The HTML5 has been updated with adding some advanced features, removing some hindering features and modifying some useful features in a better way. Here are the list of some
struts 2.0 - Struts
struts 2.0  i am new to struts2.0. i have to use struts 2.0 in my project. give sample examples for storing retrieving the data using oracle 10g. give examples on insertions(using struts2.0+oracle 10g). and send the code
Struts
Struts   When Submit a Form and while submit is working ,press the Refresh , what will happen in Struts
struts
struts  Hi what is struts flow of 1.2 version struts? i have struts applicatin then from jsp page how struts application flows Thanks Kalins Naik   Please visit the following link: Struts Tutorial
struts
struts   how to write Dao to select data from the database
struts
struts  why doc type is not manditory in struts configuration file
struts
struts  why doc type is not manditory in struts configuration file
struts
struts  why doc type is not manditory in struts configuration file
struts
struts  why doc type is not manditory in struts configuration file
Struts
Struts  Hi i am new to struts. I don't know how to create struts please in eclipse help me
struts
struts   Hi how struts flows from jsp page to databae and also using validation ? Thanks Kalins Naik
Struts
Setter methods of form bean class in Struts applications  who calls the setter methods of form bean class in struts applications
Struts
Struts   What is called properties file in struts? How you call the properties message to the View (Front End) JSP Pages
Struts
Struts   in struts I want two struts.xml files. Where u can specify that xml files location and which tag u specified
struts
struts  which is the best book to study struts on own? please tell me   You can learn struts through the following books: 1)Programming Jakarta Struts By Chuck Cavaness 2)Professional Jakarta Struts By James Goodwill
struts
struts  which is the best book to study struts on own? please tell me   You can learn struts through the following books: 1)Programming Jakarta Struts By Chuck Cavaness 2)Professional Jakarta Struts By James Goodwill
Struts
Struts  How Struts is useful in application development? Where to learn Struts? Thanks   Hi, Struts is very useful in writing web... performance Java web applications that runs on Java enabled application servers. Struts
add cookies to login form in jsp by using struts2.0 framework
add cookies to login form in jsp by using struts2.0 framework  hi sir i implemented login.jsp page it include username and password field I used struts2.0 and hibernate3.0 and mysql database for login .jsp now i want to add
Struts - Struts
Struts for beginners  struts for beginners example
struts
struts  how to start struts?   Hello Friend, Please visit the following links:ADS_TO_REPLACE_1 http://www.roseindia.net/struts/ http... through which you can easily learn the struts. ThanksADS_TO_REPLACE_2
struts
struts  i have no any idea about struts.please tell me briefly about struts?**   Hi Friend, You can learn struts from the given link:ADS_TO_REPLACE_1 Struts Tutorials Thanks
struts
struts  hi i would like to have a ready example of struts using "action class,DAO,and services" for understanding.so please guide for the same. thanks  Please visit the following link: Struts Tutorials
Struts
Struts  Am newly developed struts applipcation,I want to know how to logout the page using the strus   Please visit the following link: Struts Login Logout Application
Struts
Struts   1)in struts server side validations u are using programmatically validations and declarative validations? tell me which one is better ? 2) How to enable the validator plug-in file

Ads