I have to programmatically install (from a servlet or jsp) a personal client certificate in Netscape browser and then take them to another page which says your cert is successfully istalled etc.
For this I am using multipart/x-mixed-replace content type. 1. The first part being the certificate and 2. the second part being the "Success Page" Now this works fine for Netscape 4.7 to 4.79 and 7.0 and above versions of Netscape. But the browser crashes for Netscape 6.22 and 6.23. There is not much help on the internet regarding these browsers but I was thinking if there is a workaround to this solution so that I am not forced to use the multipart/x-mixed-replace content type. Here is a snippet of my code which works for all versions of netscape except 6.22 and 6.23 String responseDelimiter = "ResponseDelimiter" + System.currentTimeMillis(); response.setContentType("multipart/x-mixed-replace;boundary=\"" + responseDelimiter + "\""); // Flush writer out.flush(); out.println("--" + responseDelimiter); // Code needed to install certificate on Netscape browsers out.println("Content-type: application/x-x509-user-cert"); out.println(); out.println(pkcs7); out.flush(); // Change content type for html and set charset out.println("--" + responseDelimiter); //out.println("Content-type: text/html; charset=UTF-8"); out.println(); %> <html> <head></head> <body> Cert successfully installed. Please click on the link below to update ldap with the cert serial number </body> </html> _______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib