Hi Gjivo, It seems you are using the code from community.
Please look at: http://ulc-community.canoo.com/snipsnap/space/Printing and follow the instructions given there. Moreover make sure that you are specifying correct URL for your file resource and that you have signed all your applet jars. Thanks and regards, Janak -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gjivo Tikvica Sent: Friday, February 16, 2007 12:05 PM To: [EMAIL PROTECTED] Subject: [ULC-developer] HTML printing Hello! I use this code to print HTML file : SampleHtmlMemoryProvider htmlProvider = new SampleHtmlMemoryProvider(makeHTMLReport()); String id = DownloadManager.INSTANCE.put(htmlProvider); try { DownloadManager.INSTANCE.showDocument(id, "template"); } catch (IOException ioe) { new ULCAlert("Error", "Could not show document with id.", "OK").show(); } I can get html file in developer environment, but can’t get it in Servlet Container Environment. I have message : The requested resource (/Project/download) is not available. I tried to extend web.xml file with ResourceDownloadServlet but I got : javax.servlet.ServletException: Wrapper cannot find servlet class com.canoo.template.util.download.ResourceDownloadServlet Gjivo -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.0/689 - Release Date: 15.2.2007 17:40 _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
