This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Servlets and the fly likes HttpServletResponse Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpServletResponse Interface" Watch "HttpServletResponse Interface" New topic
Author

HttpServletResponse Interface

S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 244
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

Joined: Aug 20, 2011
Posts: 81

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

Joined: Aug 20, 2011
Posts: 81

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

Joined: Mar 22, 2000
Posts: 12769
    
    5
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

Joined: Jan 10, 2002
Posts: 61103
    
  66

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).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 244
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

Joined: Jun 03, 2009
Posts: 244
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
Is those implementations are vendor(Tocat,weblogic) specific?

Yes
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

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

Of course it is specific, so that I can different from You !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpServletResponse Interface