• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpServletResponse Interface

 
S Majumder
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
 
olivier dutranoit
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is those implementations are vendor(Tocat,weblogic) specific?

Yes
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 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 !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic