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 are the 6 mandatory procedures for iso 9001?
Explain how to convert any java object into byte array.
What are implicit objects in java?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
How many types of threads are there in java?
Explain the differences between static and dynamic variables?
How do you reverse sort in java?
What are the benefits of java?
What is t type java?
Does java allow overriding static methods ?
Can you use abstract and final both with a method?
How do you use nextline in java?
Can we override private method?
Can we use static class instead of singleton?
Can we catch more than one exception in single catch block?