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
 

Reply via email to