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 the purpose of @conversionerrorfieldvalidator annotation?
while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert
How can we work with error tags?
What’s the utilization of struts.xml configuration file?
In struts how to use regurlar formbeans using validation framework explain?
What is value stack?
why servlet is used as controller not JSP?
Explain about the future of struts?
What’s the difference between struts and turbine?
can we change the order of parameters in execute()?
Can a reducer dispatch an action?
what is diffrence between Dynaactionform,actionform and Dynavalidateform