Hii there,
I hope you can help me out here.
I have two webapps in my tomcat that is app1 and app2
in my app1 i am doing this
ServletContext sc=getServletContext().getContext("/app2");
But the above statement is returning me null.
I am stuck here where i am unable to figure out where instead of specifying "/app2" i should give the whole path like
"D:/program files/Tomcat/webapps/app2"
can you help me out with this