Answer Posted / gopikrishna
JSP is a scripting language flexible for webdesigners to
undersatnd the tags with java language and this is
espicially for presentation, as in this struts scenario,
Servlet is a component which is responsible for taking the
contents of incomming http requests and decode and process
for furthur forwarding rather than presenation...So this is
genaral way of thinking to understand y they had chossen
servlet instead of jsp. if we are having a beeter
understaning of jsp and servlets then, we ourself can
decide which one is more better if your way of thinking
also considering the load balancing issues.
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
What is the purpose of @beforeresult?
What is the purpose of @result?
When should be opt for struts framework?
What is package name in struts xml?
Can we integrate struts with spring?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
How do u provide security to ur project?(Banking domain project)
What is interceptor? And life cycle methods of interceptor?
How can you create your custom interceptor in struts 2?
Which design pattern is implemented by Struts2 interceptors?
What types of validations are available in xml based validation in struts2?
What is the procedure of operation of a form tag?
What is the purpose of @element?
What is struts in java with example?
How the exceptions are handled in struts?