{"id":69,"date":"2021-04-12T11:19:06","date_gmt":"2021-04-12T11:19:06","guid":{"rendered":"http:\/\/javatraininginchennai.com\/blog\/?p=69"},"modified":"2021-08-14T03:48:41","modified_gmt":"2021-08-14T03:48:41","slug":"advantages-of-struts","status":"publish","type":"post","link":"https:\/\/javatraininginchennai.com\/blog\/advantages-of-struts\/","title":{"rendered":"Advantages of Struts"},"content":{"rendered":"
Struts provide a set of custom JSP tags to create HTML forms that are associated with JavaBeans components. This bean\/form association serves two useful purposes:
\nIt lets you get initial form-field values from Java objects.
\nIt lets you redisplay forms with some or all previously entered values intact.<\/p>\n
Struts have a robust, extensible validator that can be used to uniformly validate your form fields. This validation can be performed on the server (in Java), or both on the server and on the client (in JavaScript).<\/p>\n
If you have to leave the project and\/or someone else has to maintain it then using a well-known and well documented framework will make that job much easier. A homebrewed framework just can’t match that.<\/p>\n
Since Struts is used in plenty web-apps the framework will get looked at by many more eyes than anything you could write alone. Usually, but not always, that means any problems you have will have been seen by someone else (and hopefully resolved) first.<\/p>\n
These are the few of the many advantages of using struts.<\/p>\n
Related Course\u00a0<\/strong><\/p>\n Spring training in Chennai<\/strong><\/a> | Hibernate training in Chennai\u00a0<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":" Centralized File-Based Configuration. Struts values\/mapping is represented in XML or property files. This loose coupling means that many changes can be made without modifying or recompiling Java code, and that wholesale changes can be made by editing a single file.… <\/p>\n","protected":false},"author":1,"featured_media":70,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-struts"],"yoast_head":"\n