A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jun 06, 2002
Nov 11, 2004 23:44:00
Usually, when a
are referred by RequestDispatcher through forward() or include(), what HTTP method are used? GET OR POST? Thanks.
Joined: Oct 12, 2000
Nov 12, 2004 00:03:00
It all depends on the original request type.
forward() forwards the request from one servlet to another. If the request was a POST request doPost() will get called on both, if it was a GET request doGet() will get called on both.
I agree. Here's the link:
subject: http method
Sharpen Your Pencil - PN 658
problem regarding empty auth-constraint tag
Hidden variable problem
Query String in Request Dispatcher
No- HTTP method element??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015