|Home |Login |Registration |Struts Step by Step Tutorial |Hibernate Step by Step Tutorial |Spring Step by Step Tutorial |JSP Step by Step Tutorial |JDBC Step by Step Tutorial |Web Services Step by Step Tutorial |EJB fundamentals | ORACLE Step by Step Tutorial | SCJP 5.0 and SCJP 6.0 Study Guide | SCWCD 5.0 Study Guide | SCJP Tips
Java mock test | SCJP mock test | SCJP DUMP | SCBCD mock test |Java online test exam | JSP online test | ORACLE online test | Hibernate online test | Servlet online test | Struts online test | EJB online test | C online test | C++ online test | Aptitude online test

Java interview questions | JSP interview questions | ORACLE interview questions | Hibernate interview questions | Servlet interview questions | Struts interview questions | JDBC interview questions | C/C++ interview questions | Spring interview questions | JMS interview questions | Informatica interview questions | EJB interview questions | OOPS and Design Pattern interview questions
1600 PMP mock questions 1400 CAPM mock questions 800 SCJP 6 mock questions 600 OCAJP 7 mock questions 590 OCPJP 7 mock questions 556 SCWCD 5 mock questions 500 OCEJWCD 6 mock questions pdfDownload (java,struts, hibernet etc) JobsJobs and Walkins

 

Recent Questions

!!! Struts Frequently Asked Questions !!!

Q. What are the Advantages of Struts ?

SCJP 1.5/1.6 Exam Kit

!!!Answer!!!- From Technical Expert

Struts follow MVC framework. So the JSP, Java and Action classes are organized and easily maintainable.
Struts offers many advantages to the application programmer while reducing the development time and making the manageability of the application easier.
Advantages of Struts :


Centralized Configuration :
Rather than hard coding information into java programs,many Struts values are represented in XML or property files.
Struts_config.xml file is the place from where you can get all information?s about your web application. This is organized.
Your Action class , Form bean and JSP page information is in Struts_config.xml so don't need to search . All info in one place.



Form Beans :
Don't need to set the form vales to your value object . When you want to capture data from a form ( In the servlet you do request.getParameter()).
In the struts you don't need to do explicitly request.getParameter(). Struts request processor will do for you. All the input data will be set to form bean.



Bean Tags :
Struts provides a set of custom JSP tags (bean:write,in particular) that let you easily output the properties of JavaBeans components.
Basically,these are concise and powerful variations of the standard jsp:useBean and jsp:getProperty tags.


HTML tags :
Struts provides a set of custom JSP tags to create HTML forms that are associated with JavaBeans components.


Form Field Validation :

Apache Struts has built-in capabilities for checking that form values are in the required format.
If values are missing or in an improper format,the form can be automatically redisplayed with error messages and with the previously entered values maintained.
This validation can be performed on the server (in Java),or both on the server and on the client (in JavaScript).

Answered By : null Replied Date : Jan 23 2012
Answer :


Answered By : null Replied Date : Dec 22 2011
Answer :


Answered By : null Replied Date : Dec 9 2011
Answer :


Answered By : null Replied Date : Oct 25 2011
Answer :


Answered By : null Replied Date : Sep 19 2011
Answer :


Answered By : null Replied Date : Aug 19 2011
Answer :


Answered By : null Replied Date : Jun 21 2011
Answer :


Answered By : null Replied Date : Jun 18 2011
Answer :


Answered By : null Replied Date : Jun 18 2011
Answer :


Answered By : null Replied Date : Jun 3 2011
Answer :


Answered By : null Replied Date : May 17 2011
Answer :


Answered By : null Replied Date : Apr 17 2011
Answer :


Answered By : null Replied Date : Apr 13 2011
Answer :


Answered By : null Replied Date : Mar 31 2011
Answer :


Answered By : null Replied Date : Mar 28 2011
Answer :


Answered By : null Replied Date : Mar 9 2011
Answer :


Answered By : null Replied Date : Jan 24 2011
Answer :


Answered By : null Replied Date : Jan 21 2011
Answer :


Answered By : null Replied Date : Jan 15 2011
Answer :


Answered By : null Replied Date : Dec 17 2010
Answer :


Answered By : null Replied Date : Nov 29 2010
Answer :


Answered By : null Replied Date : Nov 27 2010
Answer :


Answered By : null Replied Date : Nov 25 2010
Answer :


Answered By : null Replied Date : Nov 23 2010
Answer :


Answered By : null Replied Date : Nov 22 2010
Answer :


Answered By : null Replied Date : Nov 13 2010
Answer :


Answered By : null Replied Date : Nov 8 2010
Answer :


Answered By : null Replied Date : Nov 2 2010
Answer :


Answered By : null Replied Date : Oct 3 2010
Answer :


Answered By : null Replied Date : Oct 1 2010
Answer :


Answered By : null Replied Date : Sep 23 2010
Answer :


Answered By : null Replied Date : Sep 19 2010
Answer :


Answered By : null Replied Date : Sep 15 2010
Answer :


Answered By : null Replied Date : Sep 5 2010
Answer :


Answered By : null Replied Date : Jul 2 2012
Answer :


Answered By : null Replied Date : Aug 9 2012
Answer :


Answered By : null Replied Date : Oct 10 2012
Answer :


Answered By : null Replied Date : Nov 8 2012
Answer :


Answered By : null Replied Date : Nov 14 2012
Answer :


Answered By : null Replied Date : Dec 7 2012
Answer :


Answered By : null Replied Date : Dec 16 2012
Answer :


Answered By : null Replied Date : Jan 3 2013
Answer :


Answered By : null Replied Date : Jun 2 2013
Answer :


 

You can also contribute to this answer:

Your Name:
Answer:

 
Ask Question and get answer from Expert.
View Answers List from Expert.

The information you are posting should be related to java and ORACLE technology. Not political.