Hello Ralph, thanks for your help! However I can not use a whole webcontainer and http protocol stack in my batch app...
Kindest regards, Alexander Thomas > -----Ursprüngliche Nachricht----- > Von: Ralph Einfeldt [SMTP:[EMAIL PROTECTED] > Gesendet am: Montag, 12. Januar 2004 10:03 > An: Tomcat Users List > Betreff: RE: Invoking JSPs in batch like environment > > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]