why we use struts in our web application , means what was
drawbacks of servlet ...pls answer
Answer / maneesha pandey
Programming web applications using servlets only is a very
hard thing, since you will have to write your HTML code
inside the servlet, which will produce complex, unreadable
and unmaintainable code.
The same thing is with JSP. If you program a web application
using JSP alone, you'll have to put your java code in JSP
pages, which will also be very hard to read and maintain.
This was the reason of the rise of the model 2
architecture(srtuts), where the servlet controls the flow of
the request, calls a model class to do the business logic,
decides which view (jsp or other) to send to the user, and
then sends the response to the user. This is known as the
MVC (Model-View-Controller) design pattern.
| Is This Answer Correct ? | 14 Yes | 0 No |
What is purpose of execandwait interceptor?
What is DynaActionForm?
wat happen when the connection is nt closed in jdbc n what vl happen when i interchange in executequery n execute statements
What is the differnce between 2-tier architecture and 3- tier architecture in java?
What is the purpose of action-mappings tag in struct-config.xml?
How is the action mapping specified?
What is the purpose of @validations annotation?
Difference between JSF Framework and Struts Framework.
13 Answers Accenture, BSS, IBM, TCS,
What is value stack?
Is struts efficient?
What is struts.devmode?
what is project architecture?give brief explanation about project architecture?
3 Answers CTS, Etisalat, IBM, Infinite Computer Solutions, Mphasis,