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 : |
|