I am having a creepy problem opening a fdf file from struts action.
I am creating a new fdf file using the data from the database, and want to display everything in fdf file to the user with a "SUBMIT" button. when user press the button it should store the file as a pdf in the database. here is a sample of my code
//I have already inserted the data in the fdf file.
String templateURL = localhost:8080/project/someaction.do;
fdf.SetFile(templateURL);
//Before this I am doing the code for the submit button
//Prepare to send the FDF stream
// First set the response content type
response.setContentType("application/vnd.fdf");
response.setHeader("Content-Disposition", "inline; filename=\"" + fdf + "\"");
OutputStream os = response.getOutputStream();
fdf.Save(os);
response.flushBuffer();
Everything looks good and the system was working until last week thats when I installed the update of Acrobat Professional (From 7.0 to 7.0.7) since then I am getting a pop up box asking me to SAVE the document in a pdf format, notice there is no option to open it, when I save it it just saves the pdf with put any data. I unstalled and reinstalled both acrobat professional and acrobat reader, still getting this mesasage. When I uninstall reader I get message box with both save or open option when I open the file I see the data in it with bunch of garbage.
anyone know about this problem? I am using IE 6.0