aspose file tools*
The moose likes Struts and the fly likes struts v/s servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts v/s servlets" Watch "struts v/s servlets" New topic
Author

struts v/s servlets

Deeps Mistry
Ranch Hand

Joined: Jan 31, 2009
Posts: 189
Hi,

Can any one tell me the advantages/disadvantages of using struts over jsp/servlets? Why should i choose struts framework over Servlets?

Thanks
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9319
    
  17

With Struts you get a clean MVC design and the features of struts like validations, tag library, automatic transfer of form values, type conversions .........and the list goes on...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42911
    
  68
Also note that if you're using Struts you'll also be using JSPs as the view layer. And ultimately, Struts is just a servlet - it's possible to add other servlets to an otherwise Struts-based web app; Struts merely adds additional functionality (just like any other web framework such as Wicket, Tapestry, JSF, Stripes, ... does).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts v/s servlets