Hi,

You can try doing it as follows :

<script languaje="javascript">
    location="file:///c:/prueba.doc"
</script>

Rgds,
Pradeep

"Pablo J." wrote:

> Hello, I have the following problem, I need to open a word document in a
> new window of the browser when a link is clicked. I vahe used a portion
> of javascript code like this in my jsp.
> <script languaje="javascript">
>     location="c:\prueba.doc"
> </script>
> It works with internet Explorer but it does not work with Netscape
> Navigator.
>
> Thanks
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to