>>> "Mac Donell, Marc" <[EMAIL PROTECTED]> 16-Jun-00 9:40:59 PM >>>

>Can someone tell me if the following code will actually
>add the required header to the output?

Yes it will.


>Also is there
>a way to easily determine that said header has been
>added?  Is the doPost() function the proper place for this?

Use a packet sniffer to view the output of the response.

Or you could telnet to the container and issue the request by hand,
eg: if you host is called bob, tour servelt is mapped to: /myservlet
and the container is on port 8080:

telnet bob 8080
GET /myservlet HTTP/1.0
[press return]
[press return]

you will then see the container response.


Nic Ferrier

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to