Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSP
doGet or doPost: to servlet from JSP
Nelson Nadal
Ranch Hand
Posts: 170
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If I just redirect my
JSP
to
servlet
what does the servlet execute? doGet or doPost? Thanks.
Brian Smith
Ranch Hand
Posts: 232
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i believe it should execute doGet unless you explicitly specify doPost. others might want to comment if i am wrong.
Tim Baker
Ranch Hand
Posts: 541
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
doGet is default, or should be, unless you have a very wierd and strange browser.
Kim Jong II (North Korea's Dear Leader) said:
Nuclear weapons don't kill people, people kill people.
Nelson Nadal
Ranch Hand
Posts: 170
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I just issue a request.sendRedirect(req,res) command.
I don't know how can I send it by POST or GET, I only know that it can pass its request attributes automatically.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
overriding both doget() and dopost()
POST or GET
Error 400:
is servlet doGet and doPost method are threadsafe?
doGet,doPost
More...