hi,
im using jsp and i need to create custom folders for people on my tomcat webserver inside the current webapp directory.
at the moment i have this hard coded which is a nusance as i need to change it depending on where its installed on each different machine.
is there a way to find what this is?
eg:- this is what it is on one machine
C:/Tomcat5/webapps/CompanysName/
but it could be installed as this by another user on another machine.
C:/Program Files/Tomcat 5.0.28/webapps/CompanysName/
thanks for the help
im using jsp and i need to create custom folders for people on my tomcat webserver inside the current webapp directory.
at the moment i have this hard coded which is a nusance as i need to change it depending on where its installed on each different machine.
is there a way to find what this is?
eg:- this is what it is on one machine
C:/Tomcat5/webapps/CompanysName/
but it could be installed as this by another user on another machine.
C:/Program Files/Tomcat 5.0.28/webapps/CompanysName/
thanks for the help