How to Include a file outside the application (war) using jsp include
Posted
by Pratheeswaran.R
on Stack Overflow
See other posts from Stack Overflow
or by Pratheeswaran.R
Published on 2009-05-06T10:24:25Z
Indexed on
2010/04/17
9:13 UTC
Read the original article
Hit count: 637
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..
© Stack Overflow or respective owner