We have a
Java web application deployed on
Tomcat. In the Action class, I have written the following line
String strFilePath = getPageContext().getServletContext().getRealPath(File.separator);
This line works absolutely fine.
But when I deploy the same application on Weblogic, the above line returns null. Till a few days back it was working fine. Now suddenly it has stopped working.
Can someone please give some clue as to what could be the problem.
Thank you