I have a form where user fills up (jsp page). One of the input is of type "file". There is a preview button which will pop up a new window and using javascript to layout the filled up form for display. The "file" input will be display as a hyperlink and when the user clicked on the hyperlink, it is supposed to open the attachment. So if you attached pdf, I would expect that when I clicked on the hyperlink, foxit reader will open. if it is a text file, notepad will open.
I tried using file:// but nothing seems to happened. it seems to be a security feature in MSIE where file:// protocol is locked down.
how do you go about implementing this feature without(ActiveX, ajax) ?