tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Tomcat not working behind a NAT?
Date Fri, 25 Jul 2003 23:49:26 GMT
No, forward is an internal forward. It does not leave the JVM. In fact, it 
doesn't leave the servlet context.

-Tim

Erin Dalzell wrote:
> OK, I have a question for all the Tomcat gurus out there.
> 
> Here is my scenario:
>   	* tomcat machine is behind NAT
> 	* internal ip address is 2.2.2.2 (ip changed to protect the
> innocent!)
> 	* external ip is 3.3.3.3
> 	* client accesses servlet with ip 3.3.3.3.
> 		* inside servlet we call RequestDispatcher rd =
> getServletContext().getRequestDispatcher( "/another_page.jsp" );
> 		* then we call rd.forward( orig_request, response );
> 
> My question is, is that forward call a full http request? If so, what ip
> address will it use? I "think" that it is trying to use the 3.3.3.3 address
> and the NAT doesn't like it.
> 
> Thoughts?


---------------------------------------------------------------------
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