Please look into the code ...
response.setContentType("application/text");
response.setHeader("Content-Disposition", "attachment; filename=" +
fileName);
ServletOutputStream os = response.getOutputStream();
try {
......
.....
......
}catch(){
}
os.println(<data>);
os.flush();
This cade works fine . But in Windows XP environment it fails. The target is that whenever i click on the link that should open as a text
(CSV also ) open or save dailog comes and if I click on save works fine. But If i click on OPen it is not opening in windows Xp environment but some
times opens in windows 2000 environment.
The error it gives : Cannot find the c:\Decuments and settings\<User>\Local
Settings\Temporary Internet Files\Content.IE5\T2UG9J4K\<filename>.txt file. Do you want to create one ?
Any Idea ???
Thanks in advance.
response.setContentType("application/text");
response.setHeader("Content-Disposition", "attachment; filename=" +
fileName);
ServletOutputStream os = response.getOutputStream();
try {
......
.....
......
}catch(){
}
os.println(<data>);
os.flush();
This cade works fine . But in Windows XP environment it fails. The target is that whenever i click on the link that should open as a text
(CSV also ) open or save dailog comes and if I click on save works fine. But If i click on OPen it is not opening in windows Xp environment but some
times opens in windows 2000 environment.
The error it gives : Cannot find the c:\Decuments and settings\<User>\Local
Settings\Temporary Internet Files\Content.IE5\T2UG9J4K\<filename>.txt file. Do you want to create one ?
Any Idea ???
Thanks in advance.