Hi,
I am trying out a simple implementation of a URL shortener such as tinyurl.com or bit.ly. Currently I do a response.sendRedirect(targetURL)
in my servlet - which works fine for http/ftp target URLs.
However, I'm having problems redirecting to targets such as file:///c:/temp
(where c:\temp
is of course on the local/client system).
Typing file:///c:/temp
on the Firefox address bar works, but a redirection from a server seems to do nothing.
Is this not possible for some security reason? Or am I doing something wrong here?
Thanks in advance!