Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to find the current path  RSS feed

 
Shiv Sidhaarth
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My servlets are running in one path(folder). How can i find the path in which my java servlets are running in Netscape suitespot server? When i use the following:
File file = new FIle(".");
file.getCanonicalPath();
It gives config path (folder) of the server and not the path where java servlets are running. Can somebody pleasee help me?
Thanks,
Sankar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!