I am using "jsp:include" to include a static file in one of my jsp files. It works fine when the static html file is located inside the application folder. However if its kept outside the application folder it is not included in the JSP file.
Note: I have created a context for the folder where the static file is saved and I m able to view the html file with direct url.
Please help..
I have solved this problem using the c:import tag.
To define the dynamic URL I have used the bean:define tag. Thank you friends for the suggestions and help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With