Forums Register Login

Hierarchy of Servlet Please

+Pie Number of slices to send: Send
Can you please answer the following simple question.
Which class does a servlet usually inherit from?
Thanks/Rashid Ali
+Pie Number of slices to send: Send
HTTPServlet in most cases.
+Pie Number of slices to send: Send
HttpServlet for Http specific servlets,
Generic servlets for generic protocol independent servlets
+Pie Number of slices to send: Send
I submitted the answer of the above question as follows earlier but it was not accepted:

- javax.servlet.http.HttpServlet
and
- java.servlet.GenericServlet
But both the above answers were not accepted.
Is there anything left in my answers or there is some other answer for this question.
Need your feedback.
Rashid Ali
+Pie Number of slices to send: Send
Who did you submit that answer to?
+Pie Number of slices to send: Send
java.lang.Object
|
+--javax.servlet.GenericServlet
+Pie Number of slices to send: Send
I believe there is a mock exam out there tha he is referring to. I guess it's safe to say the mock exam is incorrect, if that's what it is.
+Pie Number of slices to send: Send
or it could be from mycgiserver for jsp/servlet hosting.
http://www.mycgiserver.com
then try to signup and accept the terms...
[ February 12, 2002: Message edited by: shai koren ]
+Pie Number of slices to send: Send
Yep Shai Koren, at the time of submission of form, i was asked to answer the above question, i answered as mentioned above, but could not succeeded.
What to do with that.
Rashid Ali
+Pie Number of slices to send: Send
Sorry guys, i again tried today and succeeded! The problem was that i was supplying the answer in the quotes (which are not allowed) therefore it was not accepting the answer which is one of the above.
Thank you very much for your time and suggestions.
Kind regards
Rashid Ali
Watchya got in that poodle gun? Anything for me? Or this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1121 times.
Similar Threads
Extracting Query String from URL
Servlet failed to preload on startup in Web application
Servlet context
server respose to client
MVC tutorial Head First
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:41:32.