Hi,
   I think you are looking for environment variable SCRIPT_FILENAME.


Manu.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  MANU TAYAL                   |      WIPRO INFOTECH                     #
#                               |      30,Mission Road, 1st Main,         #
#  Software Engineer            |      S.R.Nagar,                         #
#                               |      Bangalore-560027,India.            #
#  Technology Solutions         |                                         #
#                               |      TEL: 080-2241730/2275590           #
#  WIPRO INFOTECH.              |      EXT: 3322,3321,3323                #
#                               |   E-Mail: [EMAIL PROTECTED]       #
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On Thu, 15 Apr 1999, Sivagamasundari wrote:

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

___________________________________________________________________________
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