Thanks for your reply David,

Actually, I need to know that the user pressed the SAVE Button in the first
window (OPEN/SAVE/CANCEL) and the SAVE button again in the second window
SAVE/CANCEL).

Remember that he can hit the SAVE button on the first window, select which
directory he wants to store the file on the second window but CANCEL the
download (on the second window).

I've been searching for a solution on the WEB but had no success.

Any help is welcome.

Siomara

-----Mensagem original-----
De: David Wall [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 13 de novembro de 2008 16:50
Para: Tomcat Users List
Assunto: Re: Download Tracking


> I have a java application under Tomcat that is supposed to track people'
> downloads.
>
>  
>
> The user clicks on a link (to download a file) and a new record has to be
> inserted into a postgreSQL table informing which file was downloaded.
>
>  
>
> However, I need to insert into postgreSQL only after the user hits the
save
> button of the second window that windows shows. The one that the user
> selects the physical place to store the file.
>
>  
>
> I don't know how can I get which button the user clicked since the
download
> manager window is provided by Windows and not one of mine.
>   
I don't think it's possible to know if they click Open/Save/Cancel, at 
least not if using a standard web browser function and not a plug-in of 
some sort.

David

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to