I am having an action class and inside my action class i want to refer to an html file in the following directory : webContent/templates/check.html.
I am able to access this file if i specify absolute path, but when i give relative path, it gives a FileNotFoundException.
How do i solve this?
I was able to do this through the ServletContext
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards
This thread has been viewed 2016 times.
All times above are in ranch (not your local) time.
The current ranch time is
Feb 25, 2018 00:32:41.