what is the difference between?when we write the code in
following manner?
class One extends httpservlet
{
}
and
class One extends genericservlet
{
}
Answer Posted / ravikiran.chd
the first one will restrict you to make use of http protocol
with the second one we can use other than http protocols as well
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Tell us something about servletconfig interface.
What do you mean by httpservlet and how it is different from the genericservlet?
What are the difference between session and cookies in servlet? Explain
What is servlet attributes and their scope?
Explain the concept of ssi ?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
Is servlet a framework?
What are the mechanisms used by a servlet container for maintaining session information?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
Difference between java beans & servlets?
What are all the ways for session tracking?
Explain the war file?
What is difference between PrintWriter and ServletOutputStream?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?