I am working on a Jboss based application.
There are many jsp pages included and I want
it to be easier to retrieve sources (for example,
images in the "myapp/images" folder and some
jsp modules in "myapp/modules" folder). What I
can do to retrieve the absolution path for
the current web application (the myapp.war)?
Thanks,
-Y.C.
http://www.OneImageHost.com/
Johann Burkard - 28 Mar 2004 19:44 GMT
> I am working on a Jboss based application.
> There are many jsp pages included and I want
[quoted text clipped - 3 lines]
> can do to retrieve the absolution path for
> the current web application (the myapp.war)?
javax.servlet.ServletContext#getRealPath(String)
Johann

Signature
ich habe diese news-netze besucht, lang bevor es irgendwelcher regeln
erfolgte. seinerzeit waren wir verpönt und wurden als geisteskranke
abgestempelt !!! ("-=[Admin] Team:WonneWoelkchen [=-" in
<ajjt45$4c5$1@news.eusc.inter.net>)