Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJWCD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Web Component Certification (OCEJWCD)
can we call a doPost() inside a doGet(). ?
rehans oberoi
Ranch Hand
Posts: 174
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
can we call a doPost() inside a doGet(). ?
how will it works ?
Richard Green
Ranch Hand
Posts: 536
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
yes u can
MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Christophe Verré
Sheriff
Posts: 14691
16
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Yes you can, by simply calling the doPost method.
void doGet(HttpServletRequest req, HttpServletResponse resp) { doPost(req, resp); }
[My Blog]
All roads lead to JavaRanch
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Servlet Forward
problen implementing doPost
How to make doPost as default service
how to invoke both doGet() and doPost()
Call destroy() method inside the doGet() or doPost() Methods
More...