C
christopher
We are planning to run numerous parallel webapps which access
different resource bundles. Some resources are in files specific to
the webapp, which are currently inside the webapp directory tree. My
thought is to break these files out into a parallel tree so I can jar
up all the class and jsp files and deploy a generic war that is the
same for every app. This would be easy if I can get the webapp name,
but that seems to be hidden. Tomcat 6 BTW
I have seen a solution where I run a system process like pwd (unix)
which will work if there is no Java solution.
BTW the app starts when the context reloads so I cannot wait for a URL
to pick up the webapp name, and for the same reason
ServletContext.getRealPath() is no go.
Thanx!
different resource bundles. Some resources are in files specific to
the webapp, which are currently inside the webapp directory tree. My
thought is to break these files out into a parallel tree so I can jar
up all the class and jsp files and deploy a generic war that is the
same for every app. This would be easy if I can get the webapp name,
but that seems to be hidden. Tomcat 6 BTW
I have seen a solution where I run a system process like pwd (unix)
which will work if there is no Java solution.
BTW the app starts when the context reloads so I cannot wait for a URL
to pick up the webapp name, and for the same reason
ServletContext.getRealPath() is no go.
Thanx!