| Author |
Servlets Vs Struts
|
Sandipan Mukherjee
Greenhorn
Joined: Dec 07, 2006
Posts: 8
|
|
|
What is the difference between Servlets and Struts?Does Struts use Servlets in backend?please explain.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56549
|
|
|
Yes, there is no "versus". Struts is a Model 2 framework built on top of the Servlets and JSP technologies.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Vishal Ashtaputre
Greenhorn
Joined: Nov 18, 2006
Posts: 14
|
|
Hey man, servlets & struts are very different. But struts internally uses servlets somewhere. While using struts technology you don't have to create servlets. It's job of struts itself. There are lot of clases in struts, some important are Action,ActionServlet, ActionForm,ActionErrors,ActionMessages,ActionError,ActionMessage
|
SCJP 1.4 , SCWCD 5.0
|
 |
Janakiram Gattupalli
Greenhorn
Joined: Jul 30, 2006
Posts: 8
|
|
|
Bone up on MVC first (the model-view-controller design pattern). A Servlet is a controller. Struts has its own Servlet and builds on standard functionality to also provide view (as well as controller) .
|
 |
Narayanan Bala
Greenhorn
Joined: Jan 23, 2007
Posts: 3
|
|
|
Can I get more explanation on Model-View-Control Architecture?
|
Regards,<br />Narayanan.K.B
|
 |
Narayanan Bala
Greenhorn
Joined: Jan 23, 2007
Posts: 3
|
|
|
Can I get more explanation on Model-View-Control Architecture?
|
 |
Rama Chandrika
Greenhorn
Joined: Feb 14, 2007
Posts: 1
|
|
Hi narayan. The architecture of the portal UI is based on the Model-View-Control (MVC) design pattern. The MVC paradigm allows you to separate the code that handles business logic from the code that controls presentation and event handling.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56549
|
|
|
This article might be helpful.
|
 |
Narayanan Bala
Greenhorn
Joined: Jan 23, 2007
Posts: 3
|
|
Thank You very much.
|
 |
 |
|
|
subject: Servlets Vs Struts
|
|
|