Would this be a bug in jserv's implementation of the Servlet API?

o Configure Apache to listen on both port 80 and 8080 (ie, put LISTEN 80
and LISTEN 8080 in httpd.conf)
o Connect to your servlet via port 8080 (as
http://<domain_name>:8080/servlet...)
o In your servlet, call HttpUtils.getRequestURL.  This method now
returns "http://<domain_name>/servlet...", but I think this method
should return "http://<domain_name>:8080/servlet..."

This is for Apache 1.3.9, Jserv 1.0, and JSDK 2.0.

--
Hsiao "Shao" Su                 Ecom2Ecom
1288 Pear Ave, Suite C          Phone:  (650) 625-9700 x121
Mountain View, CA 94043         Fax:    (650) 625-9701

___________________________________________________________________________
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

Reply via email to