Re: getContext() returns null

2004-04-18 Thread Umer Rashid
; <[EMAIL PROTECTED]> Sent: Friday, April 16, 2004 5:55 PM Subject: RE: getContext() returns null Hi, Did you try setting crossContext to true for the A context as well? ;) Yoav Shapira Millennium Research Informatics >-----Original Message- >From: Umer Rashid [mailto:[EMAIL PR

getContext() returns null

2004-04-16 Thread Umer Rashid
Hello, I was able to acess A.war from B.war, but after I set B.war as ROOT (by setting Context path="" in server.xml), getServletContext().getContext("/A") in B.war return null, even though I have set crossContext ="true" in Context tag of B. Can anyone tell me how this problem can be fixed?

Mapping Images and Style sheets

2004-04-15 Thread Umer Rashid
Hi, "myapp" has been successfully mapped as root webapp , but when I go to http://localhost:8080 , the images and styles don't display. Can anyone help me? Regards, umer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Mapping a WAR

2004-04-15 Thread Umer Rashid
Hi, I have done it. In server.xml, i have written . But when I type http://localhost:8080, it is still directed to ROOT/index.jsp, even after when I remove ROOT folder from /webapps folder. Can you please guide me further? Regards, Umer - Original Message - From: "Shapira, Yoav" <[EMA

Mapping a WAR

2004-04-15 Thread Umer Rashid
I want "myapp.war" to be mapped so that instead of writing "http://www.mydomain.com/mywar"; , I simply type "http://www.mydomain.com"; and the page is directed to the "index.jsp" of "myapp.war", but the URL in the addess bar remains "http://www.mydomain.com"; . Can anyone help me in doing this? Re

Setting up a Default WepApp

2004-04-15 Thread Umer Rashid
I want "myapp.war" to be mapped so that instead of writing "http://www.mydomain.com/mywar"; , I simply type "http://www.mydomain.com"; and the page is directed to the "index.jsp" of "myapp.war", but the URL in the addess bar remains "http://www.mydomain.com"; . Can anyone help me in doing this?

GetContext() Problem

2004-03-23 Thread Umer Rashid
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? -

getContext Problem

2004-03-23 Thread Umer Rashid
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? ---