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
Does Struts2 action and interceptors are thread safe?
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?
Which technologies can be used at view layer in struts?
Explain how to work with error tags?
What is the difference between requestaware and servletrequestaware interface?
Give an example of validates method used to avoid errors.
What is the purpose of @urlvalidator annotation?
What does the term struts mean?
Why was reload removed from struts (since 1.1)?
What is struts? Explain
What is container struts2?
What steps are required to for an application migration from Struts1 to Struts2?
When should we use SwtichAction?
What is the purpose of '@keyproperty'?
Where should struts xml be placed?