wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes Download Link ...?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Download Link ...??" Watch "Download Link ...??" New topic
Author

Download Link ...??

Tapan Thakkar
Greenhorn

Joined: Mar 09, 2010
Posts: 24
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"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Download Link ...??