You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Dave Oxley <to...@hotmail.com> on 2001/02/11 13:46:31 UTC

Fwd: SSL response

I am using Flash to make a https request to a servlet. Flash seems to send 
the request and it gets to the servlet, but it hangs when reading/getting 
the response. It works fine when getting a text file containing the same 
info over https. Therefore two questions:

1. This is how I create the response:
            resp.setContentType("text/plain");
            resp.setHeader("Cache-Control", "no-cache");
            out = resp.getWriter();
Is this correct? Am I missing something? Should the mime type be different? 
Do I need to set the response size? etc.
2. Is there a program to snoop on the http response so I can tell the 
difference between the reponse from the servet and from the text file?

Thanks.
Dave.
Dave@JungleMoss.com
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.