Question

This is my Context definition:

<Context docBase="../myupperProject/" path="/something" />

If I let this run in tomcat the problem is that tomcat adds a absolute path like

c:\something\something../myupperProject

How can I get rid of the first part? I just want to tell tomcat to use a upper folder.

Was it helpful?

Solution

Solved it with maven. The parameter is exchanged with the maven resource filtering.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top