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
Can we create object of static class?
What are the java ide’s?
What are java threads?
What is string in java?
Why we override equals() method?
What is a percentage sign called?
What is the static method?
What is a boolean expression in java?
What are the two main uses of volatile in Java?
What are basic data types?
Is null a value?
what do you mean by marker interface in java?
What is the syntax and characteristics of a lambda expression? Explain
Why is it called boolean?
What are the advantages of inner classes?