Im developing a project with servlets in my office with internals ip�s
addresses.
In this moment I want to put the project in the internet, with another IP
address, but I have a trouble
Im using APACHE web server with IP: xxx.yyy.zzz
I use an Static NAT Configuration
xxx.yyy.zzz --> aaa.bbb.ccc
Im using HttpUtils.getRequestURL(pvRequest).toString() to put it in the
form's action
out("<form action="+HttpUtils.getRequestURL(pvRequest).toString() +"
method=\"post\" name=frm1 target=\"_top\">");
but when any person access from outside to the application with the
aaa.bbb.ccc, the HttpUtils.getRequestURL(pvRequest).toString() returns
xxx.yyy.zzz
Somebody can help me?
thanks
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html