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
This thread has been viewed 2130 times.
All times above are in ranch (not your local) time.
The current ranch time is
Nov 12, 2018 10:34:51.