Hi John,
You may achieve this in two ways :
1. Place the file under your web context (WebApp) and then give the relative
URL of the file in your web page
2. Place your file any where and stream the file content by reading the file
byte by byte
On Thu, Mar 10, 2011 at 8:37 PM, John C wrote:
>
On 3/10/2011 10:57 AM, Mikolaj Rydzewski wrote:
On Fri, 11 Mar 2011 04:44:27 +1300, John C
wrote:
Actually I have one more question that hopefully you can help with.
How do you delete a file after a user downloads/views it or closes the
browser window? Is there any way to track this or is the
On Fri, 11 Mar 2011 04:44:27 +1300, John C
wrote:
Actually I have one more question that hopefully you can help with.
How do you delete a file after a user downloads/views it or closes
the
browser window? Is there any way to track this or is the solution to
clean up the files after a specifi
nd_...@hotmail.com
> To: users@tomcat.apache.org
> Subject: RE: Cannot create a link to a file - suspecting tomcat is the issue
> Date: Fri, 11 Mar 2011 04:40:21 +1300
>
>
> Although you stated the obvious you also answered my naive question :).
> Thank you
> > Subject:
Although you stated the obvious you also answered my naive question :).
Thank you
> Subject: RE: Cannot create a link to a file - suspecting tomcat is the issue
> Date: Thu, 10 Mar 2011 09:29:42 -0600
> From: joseph.mor...@ignitesales.com
> To: users@tomcat.apache.org
>
> John
rch 10, 2011 9:21 AM
To: users@tomcat.apache.org
Subject: RE: Cannot create a link to a file - suspecting tomcat is the
issue
In case I did not explain myself well. I am trying to create a link to a
file in a webpage. The link works fine using Apache + Tomcat if the file
and link are both relative.
doesn't work. Any idea what I am doing wrong?
From: jac_legend_...@hotmail.com
To: users@tomcat.apache.org
Subject: Cannot create a link to a file - suspecting tomcat is the issue
Date: Fri, 11 Mar 2011 04:07:47 +1300
I am trying to create a link to a file in my webpage. The anchors href fo
doing wrong?
> From: jac_legend_...@hotmail.com
> To: users@tomcat.apache.org
> Subject: Cannot create a link to a file - suspecting tomcat is the issue
> Date: Fri, 11 Mar 2011 04:07:47 +1300
>
>
> I am trying to create a link to a file in my webpage. The anchors href for
I am trying to create a link to a file in my webpage. The anchors href for the
link is "file:///C:/Users/OEM/Desktop/testa.txt". When I run my webpage from
file I can click the link
(file:///C:/Users/OEM/Documents/NetBeansProjects/WebApp/web/main.htm). However
when I run my webpage using Apach