Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Re: Schoolschedule Tutorial
Re: Schoolschedule Tutorial [message #209290] Sun, 02 March 2008 12:05 Go to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Wen,

It seems best to ask on the Web Tools newsgroup, which I've added to the
"to" list of the reply. (As a guess, maybe doGet has a default
implementation that doesn't need to be overridden?)


Wen wrote:
> Hi:
>
> Can anybody tell me why doGet() is not implemented in this tutorial?
>
> My understanding: doPost is called when a form is submitted from the
> browser, and doPost is called when the browser request information to
> display.
> So why doGet() is not needed when displaying the added class info?
> http://www.eclipse.org/webtools/community/tutorials/SchoolSc hedule/BuildingAScheduleWebApp.html
>
>
> Thank you very much
>
> Wen
>
Re: Schoolschedule Tutorial [message #209312 is a reply to message #209290] Sun, 02 March 2008 15:28 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3243
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

Ed Merks wrote:
> Wen,
>
> It seems best to ask on the Web Tools newsgroup, which I've added to the
> "to" list of the reply. (As a guess, maybe doGet has a default
> implementation that doesn't need to be overridden?)
>
>
> Wen wrote:
>> Hi:
>>
>> Can anybody tell me why doGet() is not implemented in this tutorial?
>>
>> My understanding: doPost is called when a form is submitted from the
>> browser, and doPost is called when the browser request information to
>> display.
>> So why doGet() is not needed when displaying the added class info?
>> http://www.eclipse.org/webtools/community/tutorials/SchoolSc hedule/BuildingAScheduleWebApp.html
>>
>>
>> Thank you very much
>>
>> Wen
>>
If only POST is coming from your HTML back to the servlet, then there's
no need to implement doGet. Yes, there's a "default" doGet in the parent
class.
Previous Topic:Re: Gettings WSDL Editor
Next Topic:WTP Validation
Goto Forum:
  


Current Time: Sat Nov 22 21:31:28 GMT 2014

Powered by FUDForum. Page generated in 0.01931 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software