Answer Posted / madan mohan
Servlets are server side components used to develop server
side applications.. servlet acts as a controller between
two or more pages...if any changes made in web.xml, we need
to redeploy the application
where as Jsp are java server pages which is combination of
html and jsp tags, directly run at explorer page, no need
to compile
both having similar life cycles like init(), doPOst() or
doGet() and destroy()...
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What is tostring () method?
What is the exact difference in between Unicast and Multicast object?
What are keyboard events?
What is the collections api in java programming?
Which is bigger float or double java?
What is method overloading with type promotion?
What does exclamation mean in java?
How java enabled high performance?
Is it possible to specify multiple jndi names when deploying an ejb?
Define an enumeration?
How would you format a date in java? I.e. In the ddmmyyy format?
what is encapsulation in java? Explain
What is parameters example?
What is return type in java?
what are the states associated in the thread? : Java thread