• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

HttpServletResponse Interface

 
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have noticed the HttpServletResponse Interface has lot of methods such as : sendRedirect , encodeURL , encodeRedirectURL.
Can anybody tell me where is the method implementation ?

Thanks and regards,
Satya
 
Ranch Hand
Posts: 81
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i don't quite understand your question...
but is this what you are looking for?

http://download.oracle.com/javaee/6/api/javax/servlet/http/HttpServletResponse.html
 
olivier dutranoit
Ranch Hand
Posts: 81
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or maybe something like this is what you want to know?
(via google...)
http://www.codestyle.org/java/servlets/faq-API.shtml#requestorigin
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can download the source code for the Tomcat server and see for yourself how they implemented the interface.

Bill
 
Marshal
Posts: 67447
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That interface, as well as other interfaces defined by the Servlet Specification, are implemented by classes provided by the servlet container (such as Tomcat, Weblogic, Resin, etc).
 
S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi olivier dutranoit ,William Brogden and Bear Bibeault,
for reply

I have found the HttpServletResponseWrapper class implementing the HttpServletResponse .

regards,
Satya
 
S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bear Bibeault wrote:That interface, as well as other interfaces defined by the Servlet Specification, are implemented by classes provided by the servlet container (such as Tomcat, Weblogic, Resin, etc).



Is those implementations are vendor(Tocat,weblogic) specific ?

Thanks and regards,
Satya
 
Saloon Keeper
Posts: 6590
160
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is those implementations are vendor(Tocat,weblogic) specific?


Yes
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Satyabrata Majumder wrote:
Is those implementations are vendor(Tocat,weblogic) specific ?


Of course it is specific, so that I can different from You !
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic