Folks, this may be an off topic question, but I am curious to understand why.
We know that Http protocol has features such as Headers. Both response and request
have HTTP headers. It is easy to get the headers in J2EE from a HttpServletRequest
objects using getHeader() and/or getHeaders()
Larry,
I'll go out on a limb here and say that since the
response is being generated on the server by a servlet
or JSP, there is no need for getHeader() or
getHeaders() methods because the developer is setting
them. The HttpServletResponse interface has
addHeader() and addXXXHeader() methods to
Richard,
Thanks for your answers. I think that makes great sense; though I still think to have
getHeader() or getHeaders() may be helpful when doing debug for response object.
Larry
-Original Message-
From: Richard Yee [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 12:06 PM
To:
Larry,
For debugging purposes, the org.apache.soap.util.net.TcpTunnelGui utility is
useful. It's in the Jakarta Soap project jar file. It will let you view the
headers and the markup sent to/from your browser.
-Richard
-Original Message-
From: Zhang, Larry (L.) [mailto:[EMAIL PROTECTED]
4 matches
Mail list logo