You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Umer Rashid <um...@highersummit.com> on 2004/03/24 06:38:40 UTC

getContext Problem

I am have used this statement on JBoss to get iamges from another War and it
works perfectly well:

 getServletContext().getContext("/outSideWar").getRealPath("/images").

but I get error while running this on Tomcat 4.1 . Can anyone please sort
out my problem?


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


GetContext() Problem

Posted by Umer Rashid <um...@highersummit.com>.
I have used this statement on JBoss to get images from another "war" and it
works perfectly well:

 getServletContext().getContext("/outSideWar").getRealPath("/images").

but I get error while running this on Tomcat 4.1 . Can anyone please sort
out my problem?





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org