Tim, Wiley -
This will help. Windows needs the "lnk" extension on the tiny binary file it saves. Either add Tim's header, or map the Servlet to /FileServlet/* and making a request like: /FileServlet/test.lnk
Otherwise it looks like you're on the right track since "L" is the first byte header of a lnk file.
-Grant
Tim Reilly wrote:
Slightly off topic to your thread. Can't help with your immediate problem but FWIW;
You can give IE a default file name to Save As other than the your servlet name, using the filename= parameter in your response header.
Content-Type = application/download Content-Disposition = attachment; filename=test.lnk
There also a KB ticket (applies to IE5.5 SP1); http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q279667
-TR
--------------------------------------------------------------------- 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]
