page « Download « JSP-Servlet Q&A





1. How to download page for jad file at servlet?    stackoverflow.com

I have a java me application and now I want to place that application at the server. I want to write the download page with servlet. I mean when the user ...

2. Java Servlets: File download breaks when user navigates away from page    stackoverflow.com

I have a servlet that allows users to download (potentially large) zip files from a web page. If the user clicks on a link to download a zip file, code ...

3. JNLP downloads from JSP page    coderanch.com

I have a JSP page running from an IE browser that open Java Web Start and downloads JNLP page. The code used is: response.setContentType("application/x-java-jnlp-file"); The problem I am having is that the JSP page caches itself in the Temporary Internet File (TIF)Directory on the user machines. On some machines (25%), the file will return an "Unable to Launch Application" error, due ...

4. How to download file from jsp page    coderanch.com

5. download files from jsp page    coderanch.com

6. Download then show page from jsp    java-forums.org

How do you make a response from a jsp that starts the user download on a text file and then displays a page? Here is the code that starts the download: <%@ page import="jgvxb.*" %> <% response.setContentType("text/csv"); response.setHeader("content-disposition","attachment; filename=feed.xml"); Object result = Bvb.writeOut(out); session.setAttribute("result", result); %> Here is the code that generates the page: <%@ page import="jgvxb.*, java.util.*" %> <% Bvb ...