File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts

 
Malli Raman
Ranch Hand
Posts: 312
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to know about Struts. Can anyone give me a basic idea about the struts.
Thanks & Regards,
M.S.Raman
 
Vladimir Ergovic
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is MVC framework for building web apps.
It has ActionServlet which servers as controler and in struts-config.xml you map your Actions (code to perform - commands).
you have specific taglibs which you can use they are quite helpfull but you have to learn them. Plus you have Forms (javabeans) which are populated automaticly if you have the same names for the fields as in HTML (to use struts taglibs is really helpfull in this case). DynaBeas let you specify fields in external files so you don't have to code it!
 
Malli Raman
Ranch Hand
Posts: 312
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vladimir Ergovich:
It is MVC framework for building web apps.
It has ActionServlet which servers as controler and in struts-config.xml you map your Actions (code to perform - commands).
you have specific taglibs which you can use they are quite helpfull but you have to learn them. Plus you have Forms (javabeans) which are populated automaticly if you have the same names for the fields as in HTML (to use struts taglibs is really helpfull in this case). DynaBeas let you specify fields in external files so you don't have to code it!

Thanks Vladimir. Why struts are so popular compared to normal jsp->servlet->EJB/JavaBeans for MVC patterns. Is there any advantages of using struts. In struts normal classes are replaced by taglibs. Seems to be XML format based MVC pattern. Am I right?
Regards,
M.S.Raman
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts' biggest advantage comes in the maintenance stage. The MVC setup makes maintenance / updates / changes MUCH MUCH easier than the normal JSP/Servlet model.
We even have a full forum dedicated to Struts
Check it out! (also, check out the two articles in our newsletter about struts -- theres links at the top of the Struts forum)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic