Main reasons for using servlet as a controller in struts.
why not jsp
Answer Posted / rajesh r
As per the Jsp spec we should limit the scriptlets usage.
and Jsp is designed for presentation(VIew) part based on
these points it is not recommended to use Jsp as a
Controller.
Regards
Rajesh
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What do you mean by actionform?
How do u provide security to ur project?(Banking domain project)
What is defeult result type?
What is actioncontext?
How to override the default error message that can come during file uploading process?
What is difference between lookupdispatchaction and dispatchaction?
What is the procedure of operation of a form tag?
Briefly tell the two kinds of form beans.
Give an alternative way to protect jsp’s with not much features from direct access.
What are the two different types of validations that the validator framework supports?
What are the steps involved in creating a strut application?
Why is action servlet a singleton in struts?
If the framework doesn’t do what I want, can I request that a feature be added?
State the procedure for using forward attribute of link tag’s.
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?