944,111 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 8709
  • JSP RSS
Aug 13th, 2007
0

problem with dialogbox save/open/cancel jsp in IE

Expand Post »
hi,
I was looking to solve this problem long time ago.My problem is:
I have a link on jsp page (witch belong to a website ) when I click the link it suppose to give me the open/save/cancel dialog box to choose to open or save the specified file but it didn`t this all the times, i explain more, on an other page i have a submit to upload files on a temporary foledr on the server (.doc, .pdf, .rtf)
when i have the pdf or rtf file it works correctly but with doc files it doesn`t display dialog box it open the fiel as html page so the doc file isn`t correct it is mixed with ascii caracters.
but the real problem is only with IE not with other browsers (firefox, netscap, opera..)
I tryied a lot of thing but still not working, i verify the IE configuration also.
I add mimetype, content type ....
my link is like this:
<a href="<%=request.getContextPath()%>/tmp/<%=row.get("filename")%>?id=<%=row.get("employee_id")%>" class="gray"> click here </a>

any ideas please.
thanks in advance
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
devsa is offline Offline
2 posts
since Aug 2007
Aug 13th, 2007
0

Re: problem with dialogbox save/open/cancel jsp in IE

I'm not sure I understand your problem. A little more code and clear explanation maybe!
Reputation Points: 48
Solved Threads: 7
Posting Whiz
aniseed is offline Offline
353 posts
since Apr 2006
Aug 14th, 2007
0

Re: problem with dialogbox save/open/cancel jsp in IE

ok I try to clarify:
i have a link when i cilck this link i want to have the dialog box open/save/cancel to have choise to open the file or save it (the files i want to open are in a folder on the server, cv`s file)
but when i click the link but it doesn`t give me the dialog box, it open the file directly as an html page and not like the original file.
my files are (.doc, .pdf,.rtf) the problem is only with doc files with IE
if I click the link with fire fox it alwsys give me the dialog box and after that I open the file in the appropriate program (word, acrobat).
the line code that I gave is the like where I click to have the dialog box to open files
if you need more code please tel me witch part you need.
thanks a lot for your interest.

devSa
Last edited by devsa; Aug 14th, 2007 at 10:35 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
devsa is offline Offline
2 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: catch without try error
Next Thread in JSP Forum Timeline: problem with jstl validation





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC