New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute paths to / in property files #14

Open
aronhamvas opened this Issue Aug 23, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@aronhamvas
Copy link

aronhamvas commented Aug 23, 2012

We are using a web hotel where absolute paths cannot really be determined in advance. There are backends and frontends, and changing the backend can affect absolute pathsof property files, resource directories etc..
I was wondering if you think it is possible to allow relative paths, and finding out the absolute path in the LifecycleListener. We would do that anyway, but maybe the whole project would benefit from it.

@restsql

This comment has been minimized.

Copy link
Owner

restsql commented Aug 23, 2012

Yes I agree relative paths would be more flexible. This is similar to Issue #8, which requests locating files in the local WAR/exploded WAR area.

@aronhamvas

This comment has been minimized.

Copy link
Author

aronhamvas commented Aug 23, 2012

Yeah, I think we just need to prefix the relative paths with the servlet context path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment