Re: Use relative path in Java code hosted in tomcat server.

2019-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kaushal, On 9/19/19 13:06, Kaushal Shriyan wrote: > I am adding the below absolute path in java code and compiled in a > war file and uploaded in tomcat 9.0.24 servlet/jsp container. > >

Use relative path in Java code hosted in tomcat server.

2019-09-19 Thread Kaushal Shriyan
Hi, I am adding the below absolute path in java code and compiled in a war file and uploaded in tomcat 9.0.24 servlet/jsp container. file=createPDF("/opt/tomcat9/webapps/statementspdf/"+accountId+statementId+".pdf", > statementsEntityATOS); Is there a way to use relative path instead of