but I'm sure this applies to JSP as well
Were you suggesting to hard-code full path in an init-param?
Originally posted by Mike London:
Hi Gregg,
So, I'd just create a properties file and on each server, store the full path to the webRoot in there. Then, I could just concatenate the file name I need to create and I'm all set.
I was hoping this could be done programmatically, but perhaps this is the best and most reliable method.
Thanks!!!
- Mike
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Clowns were never meant to be THAT big! We must destroy it with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|