Hello Guy's
Below code will help you to download file from server using liferay 6.2.
Here I am writing a portlet to download file.
For better understanding create portlet in your eclipse and follow below steps :
Step: 1
Edit view.jsp and put below code
When
you click on "Download" link, It's call to
serveResource(ResourceRequest request, ResourceResponse response) which
is defined in below class.
- Read the full Blog at: How to download file in liferay 6.2 ?
FindNerd’s Php questions and answers forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.
Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java questions and answers forum.
Below code will help you to download file from server using liferay 6.2.
Here I am writing a portlet to download file.
For better understanding create portlet in your eclipse and follow below steps :
Step: 1
Edit view.jsp and put below code
- <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
- <%@ taglib prefix="liferay-portlet" uri="http://liferay.com/tld/portlet" %>
- <portlet:defineObjects />
- <a href="<portlet:resourceURL/>">Download</a>
- Read the full Blog at: How to download file in liferay 6.2 ?
FindNerd’s Php questions and answers forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.
Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java questions and answers forum.
