This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
overwriting service method
Joined: Jul 07, 2007
Jul 07, 2007 03:47:00
what wil happen when we overwrite service method.
Are there any advantages or disadvantages.
Joined: Mar 08, 2007
Jul 07, 2007 04:16:00
It's preferred not to override the service() method.
Override either doGet() or doPost() methods and let the service() method call the right one.
Best of luck ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Joined: Dec 11, 2004
Jul 07, 2007 06:04:00
This question gets asked quite a lot here so if the FAQ doesn't answer it for you, search this forum and you'll find plenty of discussions on the subject.
How to ask a question...
Simple Servlet Examples
Have you checked out
subject: overwriting service method
Did implicit objects are instance variables or local variables in _jspService
Post to Servlet from Applet doesn't work
protected Method service???
Web service method call behaviour?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015