pageContext.getServletContext().getContext("/myContext").getRealPath("/ myfile.jsp")));
Asim Alp Educational Networks 55 Broad Street, 10th Floor New York, NY 10004 www.educationalnetworks.net
Tel: +1 (212) 269-0200 Fax: +1 (212) 269-1446 On Feb 27, 2004, at 1:00 PM, Sjoerd van Leent wrote:
Every web-app is in a context. Every context is in a path on the system. The
question is, how can I translate a context to a system path.
For example a context is in the following path:
E:\xxx\yyy\myContext
The web-app is in:
http://localhost:8080/myContext
How can I translate that using a PageContext or something similar into the
path mentioned above. Any suggestions?
Thanks in advance,
Sjoerd van Leent
