| | |
problem with dialogbox save/open/cancel jsp in IE
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2007
Posts: 2
Reputation:
Solved Threads: 0
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
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
•
•
Join Date: Aug 2007
Posts: 2
Reputation:
Solved Threads: 0
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
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.
![]() |
Similar Threads
- Opening a .pdf file at the clientside without the open/save dialog box (ASP.NET)
- "Save Target As.." isn't working in IE6 (Web Browsers)
- how to display the message in jsp (JSP)
- jsp command for open a page (JSP)
- file save load problems (C++)
- verify that a file was downloaded (save as was clicked) (ASP)
- ASP.NET problem (ASP.NET)
- Links will not open in new window IEv.6 (Web Browsers)
- IE save html problem! (Web Browsers)
Other Threads in the JSP Forum
- Previous Thread: catch without try error
- Next Thread: problem with jstl validation
Views: 6123 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for JSP
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient project read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write





