Sorry, missed dependent ByteBuffer class.

-Grant


Grant Gongaware wrote:
Attached is the shortcut building class. Currently it can only make webfolder shortcuts, though someday I hope for more features like Local-drive/NetBIOS-share shortcuts and maybe other shortcuts like internal Outlook links or application launchers.

Here's an example usage in a doGet() method of a Servlet -

        Win32Link lnk = new Win32Link();
         lnk.setWebfile("files on " + request.getServerName(),
                    "http://abc.org/pub/docs/report.xls",
                    "http://abc.org/pub/");
        response.setContentType("application/octet-stream");
        byte [] data = "">         response.setContentLength(data.length);
        OutputStream out = response.getOutputStream();
        out.write(data);
        out.close();

-Grant

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


Attachment: ByteBuffer.java
Description: java/

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

Reply via email to