hi,
I need to set the System Property "user.dir" equal to the Context-path docbase directory of my servlet. Sombody knows how can I get the Context-path docbase in a java class?
I think that it's possible by using SevletConfig interface in the init method of the servlet but I don't know where that path is.
tnx
fabiano
I need to set the System Property "user.dir" equal to the Context-path docbase directory of my servlet. Sombody knows how can I get the Context-path docbase in a java class?
I think that it's possible by using SevletConfig interface in the init method of the servlet but I don't know where that path is.
tnx
fabiano