Hi Donghyeok,

Did you make sure you are redirecting to both the right web page and the
right port? For example, http://www.jspbook.com/index.jsp assumes port
80. However, if you are running the web app on port 8088 you would have
to send the redirect to http://www.jspbook.com:8088/index.jsp.

In general when using the non-default port you have to make sure to
explicitly state the port in the URL.

Cheers,
Jayson Falkner
[EMAIL PROTECTED]
Servlets and JavaServer Pages; the J2EE Web Tier - Author
(http://www.jspbook.com)

On Mon, 2003-10-06 at 02:19, Donghyeok Kang wrote:
> Hi, all...
>
> I'm using Apache HTTP server and Jakarta Tomcat as a servlet engine.
>
> Apache is running on port 8088 and the direct connection to Tomcat is closed.
>
> The problem is that when some action in jsp has been operated and the jsp has called 
> the "response.sendRedirect()" method to move into the view jsp, the target jsp 
> cannot be found.
>
> I guess that the reason is resonse.sendRedirect() method would make ONLY a URL of 
> tomcat server.
>
> In this case, I shoud use the javascript and write the code like 
> "document.location.hre=blah blah..." instead of "response.sendRedirect()", shouldn't 
> I?
>
> Any suggestion will be welcome. Thanks in advance.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to