]
Sent: 12 May 2006 13:34
To: Struts Users Mailing List
Subject: Re: displaying document in pop up window
Hello, maybe this helps:
...
href="openfile.jsp?doc_id=1&size=5&origname=myfile.pdf>file
...
openfile.jsp:
<[EMAIL PROTECTED] import="java.io.*
In the below example did you send a request parameter through of name
content_type too. With a value of pdf or msword etc???
-Original Message-
From: Avramucz István [mailto:[EMAIL PROTECTED]
Sent: 12 May 2006 13:34
To: Struts Users Mailing List
Subject: Re: displaying document in pop up
Hello, maybe this helps:
...
href="openfile.jsp?doc_id=1&size=5&origname=myfile.pdf>file
...
openfile.jsp:
<[EMAIL PROTECTED] import="java.io.*"%><%
response.reset();
response.setContentType(request.getParameter("content_type"));
response.setContentLength(Integer.parseInt(reque
Hi All,
I am wanting to know how to display an uploaded document from clicking on a
link on my JSP. I have managed to save the document into the database, and
I can load the document from the database.
When I click to open the document I have to save it to my file system first
then open it. Has
4 matches
Mail list logo