Even though Servlets and JSP are web based concepts .wht is
the use of using Struts using then
Answers were Sorted based on User's Feedback
Answer / soumik
struts is a frame work ,by following a frame work one can
professionaly and effeciently design a web based project
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / pulkit bhardwaj
Servlets and Jsp can follow mvc1 architecture while Struts
uses MVC2 architecture thus it is more efficient and secure
to develop any web application.Also, it provides its own
TLD's which make it more easier to work upon.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / ramkiran
If ur using jsps internally we are using serlet so for
every request page(jsp)we have internally one servlet so
that container will takes some waht burden. and one more
difference is that session
So Struts Frame work , when ever the reuest will comes
ActionServlet will takes internally and maps the Servlet-
Config.xml file.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / anila
Struts is framework.which has predefined packages to use.
we can apply our business logic by using those things.One of
the feature is re-usability.Struts fallows MVC
architecture,it was one assert for development.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sukumaran
A framework is something where we can organise the web
compnents such as jsps servlets filters .... These are the
web components.But each webcomponent has a seperate
function to do as servlet is meant for controlling (i.e;
page flow ) and the jsps are meant for the view(it can be
as well used for controlling).But the question is where to
write the buisness logic From here arised the frame work of
struts you can have the coordination between each web
component in an efficient manner with the use of
struts .And which is called as MVC - 2 architechture.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / santhoshkumar.shaik
servlet & jsp r web based concepts
here how to use , these componet u don't know ,am i right
here u r the respoceable persone to taking care these
thinings
here struts is tell to u
how to use effitive ,with these componentes
that y they given to us
view components & controler component
by using them only struts is the responceble
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / syed
if we develope web applications using StrutsFramework ,it
implecitly take the support of middleware services &
dynamically generate integration logic.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / chandan
If we are developing a web application following MVC architecture using servlets and JSP and without using struts then then we have founds the following drawbacks:
1)struts provides a built-in controller, but when we develope application without struts then we have to develop our own controller which is not reusable and developing controller is a complex task.
2)using struts tiles concept we can achieve the view code(html code) reusability. Although we can achieve it using JSP include mechanism, but JSP include mechanism has some limitations(designing a composite view leads some limitations).So tiles concept provides the better solution for designing a composite view.
Is This Answer Correct ? | 0 Yes | 0 No |
What is the purpose of execute() method?
What are the main classes which are used in struts application?
How can we display validation errors on jsp page?
What is role of action class?
What validate() and reset() method does ?
How do you find the struts version being used in a project?
What is meant by portals???
what is the difference between SAX Parser and DOM Parser??
14 Answers Cap Gemini, Goldman Sachs, HCL, Hidden Brains, HP,
Can we have more than one struts-config.xml file for a single struts application?
What do you mean by dynaactionform?
Why are struts tightly coupled?
What is the purpose of @result?