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 |
How nested beans can be used in Struts applications?
What is java struts?
What is used to display the intermediate result in an interceptor?
what is the difference between *.do & /do.*/? So what is the diffenence btn extension mapping & path mapping.What is those difference in work effect?
diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)
8 Answers Athena Health Care, Symphony, TCS,
Why was reload removed from struts (since 1.1)?
Are the struts tags xhtml compliant ?
What is the role of a handler in mvc based applications?
What are the two types of validations supported by validator framework?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
In how many ways duplicate form submission can occurs?
i have 500 jsps in my application,and i have same forward name for each jsp,so it lokks in strutsconfig.xml,from 1 to 500,but i want send 498 page directly,how can i cingigure my application