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
How does varargs work in java?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
Explain about the security aspect of java?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
What is the best definition for data?
What is the symbol for average?
Why we cannot override static method?
how are methods defined?
What is exception handling in java?
What is the difference between error and an exception?
What are design patterns and please explain?
What is an immutable class?
What happens if we override only equals?
What is == in java?
Write code to implement bubble sort in java?