On 27/04/2009, Ed Young <[email protected]> wrote:
> "bingo" he said with embarrassment.

I should have twigged sooner too...

>  I know you asked me what the content type was on your first reply, but
>  I kept thinking I needed to set the content type of the request not
>  the response.
>
>  I was looking for something like
>  HttpServletRequest setContentType("text/html");
>  But of course that method doesn't exist.
>
>  I just now added
>
>  HttpServletResonse setContentType("text/html");

Might be better as "text/plain" unless it really is HTML.

>
>  to my servlet and it is now showing up in the response view.
>
>  Oh, well. Now I have experience using the Save Responses to File
>  element and I have some ideas as to how I can use that on this
>  project.
>
>  Thanks again for your help!
>

Glad it's sorted.

>  > Just realised that if there is no content-type then it does not set
>  > the response data type, which means it won't be displayed.
>  >
>  >>
>
>
>
>
>
> --
>
> - Ed
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [email protected]
>  For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to