Hi,

homeURL = getServletContext().getRealPath("/");

wil give you the server root.

Thnx,
Sabari


> -----Original Message-----
> From: ????? ????? ??????????? [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, December 20, 2001 12:13 PM
> To:   [EMAIL PROTECTED]
> Subject:      Root directory of web app
>
> Hellow, people,
> Can anybody tell me how can I get the Root folder for my web application?
> Probably, it's not too difficult question for you, but still.
>
> Best Regards,
> Pavel
>
> __________________________________________________________________________
> _
> 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

  • ... Sabari Arasu (CTC)
    • ... Лысюк Павел Анатольевич
    • ... Bettoni Cesar

Reply via email to