Dear Ranchers,
We have following code that generates
rtf file and writes to the browser. This works fine (like a charm) without SSL. With SSL turned on, however, we receive following error message:
"Internet Explorer can not open 'URL' on webserverhost. Internet Explorer
was not able to open this Internet site. The requested site is either
unavailable or cannot be found. Please try again later."
Any pointers on how to make this work with SSL?
----------- --------------
.../* Headers */
ServletOutputStream out = resp.getOutputStream ();
resp.setContentType("application/msword");
resp.setHeader("Content-disposition", "attachment; filename=" +
resumevo.getResumeName() + ".rtf" );
/* Resume type */
String xslFO = "resume-functional.xsl";
String resumeType = (String)req.getParameter("resumeType");
if (resumeType != null && resumeType.equalsIgnoreCase("Chronological")) {
xslFO = "resume-cronological.xsl";
} else {
xslFO = "resume-functional.xsl";
}
xslFO = getServletContext().getRealPath("/WEB-INF/XSL/" + xslFO);
/* XML */
CreateXML createResumeXML = new CreateXML();
String letterXML = createResumeXML.makeResume(resumevo);
try {
RTFGen.createResumeRtf(letterXML, xslFO, out);
} catch (Exception e1) {
throw new ServletException(e1);
}
...
----------
Thanks,