• Post Reply Bookmark Topic Watch Topic
  • New Topic

doGet(HttpRequest, HttpResponse)... Is this legal  RSS feed

 
mocca az
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
doGet(HttpRequest, HttpResponse)
doPost(HttpRequest, HttpResponse)
Is this legal, why and when?
Thank you
 
Kareem Gad
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is because HttpRequest & HttpResponse are super classes of HttpServletRequest and HttpServletResponse.
Polymorphic behavior!
------------------
KaReEm
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!