tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shanta B <B.Sha...@siemens.com>
Subject RE: send RedirectProblem
Date Tue, 22 Apr 2003 14:36:20 GMT
Hi Tim
          I am getting 403 error not 304 .

-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org]
Sent: Tuesday, April 22, 2003 2:52 PM
To: Tomcat Users List
Subject: Re: send RedirectProblem


304 is not an error. More information about what a 304 is:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.5

-Tim

Shanta B wrote:
> Hi
>   I am facing some pecular problem at my client side.I have a servlet
> which is making redirecting to other servlet(named download
> servlet).This redirect occurs when you are downloading  any file from
> server .
> 
> This is the sample  servlet call to download servlet.This code is
> working at ourside,but it is not working at our client.We are getting
> 304 error.We are using servlet2.3 and tomcat4.1.18 servlet container.
> 
> 
> 
> try {
>  s.atPut("toDownload", messageToDownload);
>  String shref = s.attachSessidToUrl("Download?contentType="
>         + contentType+"&fileName="+fileName);
>  rsp.setHeader("asdasd", "asdasdasdasdasdasd");
>  rsp.sendRedirect(shref);
>  s.logDebug(getClass(),"...redirected");
>     } 
> catch (Exception e)
> {
>         rsp.setContentType("text/html; charset=iso-8859-1");  
>         showError(e.getMessage());
>     }
> 
> Its not throwing any error ,but still i can see (),"...redirected in
> my catalina.out ...Can any body has some idea.I would like to know
> that is there
> any port conflicts at serverside. Client is using https communication.....
> 
> Thanks in Advance
> Shanta.B
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message