How about:
String realPath = getServletContext().getRealPath("");Then modify to get to the correct directory.
Thanx, PLA
Ashish Kulkarni wrote:
Hi
Here is a data structure in my web project,
c:\myproject - | - pages - | my.jar WEB-INF- | classes lib
all my servlets are in classes folder, how do i get the absoulte path for my.jar in my servlet, I need to read manifest in this jar file through my servlet. this code should work on all platforms
Ashish
A$HI$H
__________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

