hello friends i am using liferay portal 5.2.4.
i am creating a
jsp page which provide a link to download a file stored at particular location.
but i tried a lot but didn't found a solution so please help me...
the code i have tried is....
project name is try3-portlet and file which i want to download is kept in try3-portlet/docroot/WEB-INF/data/(any file).
<a href="<%=renderRequest.getContextPath()%>/docroot/WEB-INF/data/test.xml">Google</a>
when i execute this code it gives error like....
The requested resource was not found. and
"http://localhost:8080/web/guest/try3-portlet/docroot/WEB-INF/data/test.xml"