The usual suspects are:
1) not granting public access to the file you're trying to download.
2) your http server not allowing access to the directory or file type
specified.

Just in case the obvious isn't so obvious today.

Regards,
John

[EMAIL PROTECTED]
Ph (09) 372-5010


|---------+---------------------------->
|         |           "Jim Barrows"    |
|         |           <[EMAIL PROTECTED]|
|         |           m>               |
|         |                            |
|         |           03/08/2004 11:54 |
|         |           AM               |
|         |           Please respond to|
|         |           "Struts Users    |
|         |           Mailing List"    |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                          |
  |       To:       <[EMAIL PROTECTED]>                                                
                     |
  |       cc:                                                                          
                          |
  |       Subject:  Brain fart - allowing user to download file                        
                          |
  
>--------------------------------------------------------------------------------------------------------------|




Okay.. this is something so simple I'll probably shoot myself for missing
it.....
<a href="/path/to/downloadable/file.pdf">file</a>
and the user should be able to just click and the blasted thing will
download... only problem is user clicks and gets a 404 error.  Set the
mime-type in the web.xml.
Running on Websphere 5.1.  What am I forgetting to do?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to