Hi all:

I'm using tomcat 3.2.3 with apache, and I have a problem with the
response.sendRedirect method. When I use it with a relative URL the port 0
was added to the result url, but the original didn't have it.

For example:
I call the servlet with the URL "http://www.logic-factory.com/servlet/Hello";
and in the code I write:
      res.sendRedirect("../index.jsp");

The servlet redirect the browser to the URL
http://www.logic-factory.com:0/index.html

Can anyone help me? Is a problem with the tomcat configuration or with the
sendRedirect Method.

Than you.

-------------------------------------------------------------
Miguel Ángel Medina López
Logic Factory: www.logic-factory.com
Granada - España






--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to