Let's make sure issue is not already fixed in latest builds first.
Steps to reproduce
From a fresh installation and clean workspace:
I tried
- We have deployed the .war file of our application in tomcat application server. And we have to get the real path of Tomcat using SerlvetContext.getRealPath("/")
- But the above thing is giving null always. It works fine in RAP 3.12. I need to know what has changed in SerlvetContext from 3.12 to 3.23 version of RAP
- I am expecting the Real Path as " C:\Program Files\Apache Software Foundation\Tomcat 9.0_Tomcat9.86\webapps\WebSphere131
- We need these because we have an license file present inside WEB_INF/eclipse folder, once we get the above path then we append the /WEB_INF/eclipse to get full path and find for license file"
I expected: < To get Real path of tomcat using SerlvetContext >
But got: < Real Path is getting null using SerlvetContext >
Tested under this environment:
- OS & version: Windows 10
- Eclipse IDE/Platform version (as shown in Help > About): Eclipse 2022-12
- RAP version is 3.23
- Java version is 11
- Tomcat version is 9.0.86
Community
Let's make sure issue is not already fixed in latest builds first.
Steps to reproduce
From a fresh installation and clean workspace:
I tried
I expected: < To get Real path of tomcat using SerlvetContext >
But got: < Real Path is getting null using SerlvetContext >
Tested under this environment:
Community