File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts v/s servlets" Watch "struts v/s servlets" New topic

struts v/s servlets

Deeps Mistry
Ranch Hand

Joined: Jan 31, 2009
Posts: 189

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

Ankit Garg

Joined: Aug 03, 2008
Posts: 9466

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

Joined: Mar 22, 2005
Posts: 42965
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:
subject: struts v/s servlets
It's not a secret anymore!