Hi,
Is there any CGI variable equivalant to 'getRealPath' (of JSDK) which
returns the physical path after resolving the virtual host alias? We
are using Oracle Application Server (OAS 4.0.6) and want a method
equivalent to getRealPath in JSDK.This is possible provided we know the
CGI variable for 'real path'.....
for example,
if the URL is http://host:port/Default/
then the method getPathInfo() returns "/" and getRealPath("/") returns
the physical path that the virtual host is mapped to ..i.e. the docroot
say C:\www\xyz\
and if the URL is http://host:port/Default/abc/
then the method getPathInfo() returns "/abc" and getRealPath("/abc")
returns the physical path C:\www\xyz\abc\
can anyone give us some info?
thanks
Sundari
___________________________________________________________________________
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