Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

getServletContext().getRealPath("/") returns null? #119

Open
yushulx opened this issue Apr 9, 2015 · 1 comment
Open

getServletContext().getRealPath("/") returns null? #119

yushulx opened this issue Apr 9, 2015 · 1 comment

Comments

@yushulx
Copy link

yushulx commented Apr 9, 2015

If I deploy the generated war file to Tomcat directly, the code can work. But with the Tomcat plugin, it returns null. Why?

@bmuschko
Copy link
Owner

Not sure. Might be a different in the implementation of embedded Tomcat vs. the full container setup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants