You can alway execute the generated servlet in the context of tomcat. But I can't think of a solution that works just with jasper. (Jasper is just a code generator and no servlet engine)
Depending on your needs there are different solutions to achieve this: - Write a programm that requests an url from tomcat and processs the result. - just use wget/curl to trigger the servlet > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, January 12, 2004 9:42 AM > To: [EMAIL PROTECTED] > Subject: Invoking JSPs in batch like environment > > > I would like to use JSPs in oder to generate textfile like > output in a batch program. > The idea is to invoke the Servlets which have been gerenated > on the basis of the JSPs. > Also, the OutputStream of the JSP/Servlet Response class has to be > configured and necessary bean instances have to be added as attributes > before invokation. > > I would like to know if the Jasper library (or something > else) can be used > in some way to alleviate the setup of the necessary > environment for the JSP > execution. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]