A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Why we can't decare doPost() as default access specifier?
Soumya Ranjan Mohanty
Joined: Mar 07, 2010
Mar 18, 2010 00:43:28
Why We declare the
class as Public and
as public or protected??
Joined: Jan 28, 2008
Mar 18, 2010 02:27:06
You cant reduce the visibility of doPost in Subclass .it is one of the Override rule.
also public servlet class is visible to other packages also.
It is sorta covered in the
JavaRanch Style Guide
subject: Why we can't decare doPost() as default access specifier?
dopost() and doget() methods
doGet(), doPost() implementation
Why Not Overload Service Method.
doGet and doPost
[IMP]Whydoes it give 403 Method not found exception..??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015