Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between servlets and struts?

Answer Posted / sandy

servlet is used to web based application.where as struts is
a framework it is easy to configure the validation part
comparing to servlet.
to built an web based application servlet take more amount
of time comparing struts.in struts we use action servlet

struts work under mvc architecture where servlet acts as a
controller part

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exception should be thrown when servlet is not properly initialized?

968


Explain get and post.

1062


Can a jsp be called using a servlet?

1083


What is the directory structure of a war file?

1116


What is the difference between encodeRedirectUrl and encodeURL?

1070


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

2280


What do you mean by web applications? Explain web application directory arrangement?

923


Explain the jar and war files in servlet?

1045


What is servlet api used for conneting database?

1183


What are the types of protocols supported by httpservlet ?

1176


What is string tokenizer?

1039


What is webservlet?

957


Explain Action Servlet?

1037


explain the advantages of servlet life cycle?

934


What is a java servlet?

1012