User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 391,563 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,728 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 2597 | Replies: 2
Reply
Join Date: Aug 2007
Posts: 2
Reputation: devsa is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
devsa devsa is offline Offline
Newbie Poster

Question problem with dialogbox save/open/cancel jsp in IE

  #1  
Aug 13th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2006
Location: Mumbai, India
Posts: 351
Reputation: aniseed is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 4
aniseed's Avatar
aniseed aniseed is offline Offline
Posting Whiz

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

  #2  
Aug 13th, 2007
I'm not sure I understand your problem. A little more code and clear explanation maybe!
Reply With Quote  
Join Date: Aug 2007
Posts: 2
Reputation: devsa is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
devsa devsa is offline Offline
Newbie Poster

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

  #3  
Aug 14th, 2007
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 9:35 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JSP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 10:03 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC