Hello,

I hope someone can help me on this. 
I am using Struts version 2.0.9 in my project. 
Using struts tags in JSP I am trying to open a doc from a file system. The
tag is as follows:

<s:a href="%{onlineManualUrl}"> ${pageContext.request.contextPath}/<s:text
name= /<s:text name="images.online.manual"/>"
onclick='window.open("file://c:/RightFax.doc")'/></s:a> 
where,
RightFax.doc is a file outside the web application contained in my local
c:drive(just for testing puposes).

When I run the JSP with the above-mentioned struts tag in Interner Explorer,
the application successfully opens the word document from my local c: drive.
But,
When I do the same in Mozilla Firefox, the application seems to just bypass
the onclick() event in the JSP and does NOT open the word document from my
local c: drive.

I would really appreciate if someone can help me resolve this problem I am
having to open a document using Firefox.

-- 
View this message in context: 
http://www.nabble.com/Problem-opening-a-file-in-Mozilla-using-window.open%28%29-tf4884494.html#a13980090
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to