Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

AW: Invoking JSPs in batch like environment

Alexander Thomas

2004-01-12


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:ralph.einfeldt@(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: Alexander.Thomas@(protected)
> > [mailto:Alexander.Thomas@(protected)]
> > Sent: Monday, January 12, 2004 9:42 AM
> > To: tomcat-user@(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: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.