Answer Posted / javasheavenforu
JSP can be used as controller because it is converted into
servlet ultimately.But this is a violation of MVC pattern.
If you want to follow the pattern then you need to seperate
your presentation part and controller part.
| Is This Answer Correct ? | 31 Yes | 1 No |
Post New Answer View All Answers
What's the purpose of execute method of action class?
Why are frameworks used?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
What is struts? Explain
Are struts thread safe?
What are the classes used as part of struts framework ?
What are action errors?
What kind of mvc is struts 2?
How can we display all validation errors to user on jsp page?
What is the purpose of @intrangefieldvalidator annotation?
How client side validation is enabled on a jsp form?
What is spring and struts in java?
What is the apache struts vulnerability?
What are the two types of validations supported by validator framework?
Explain how can we upload files in struts2 application?