tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From graghupa...@aegonuk.co.uk
Subject RE: executing jsp from linux shell
Date Mon, 07 Apr 2003 13:37:55 GMT
yeah !!! i forgot that ..... Since i am now too much into java .. all i
think is a java based solution ....
apologies for an inefcient way of gettting something done ...!!!

Guru

-----Original Message-----
From: John Turner [mailto:tomcat-user@johnturner.com]
Sent: 07 April 2003 14:35
To: Tomcat Users List
Subject: Re: executing jsp from linux shell



I say overkill.  :)

Any shell script can call a JSP and put the results in a file using wget.

John

On Mon, 7 Apr 2003 14:17:22 +0100, <graghupathy@aegonuk.co.uk> wrote:

> write a java threaded class ( say URLDisplayer ) and use 
> httpURLConnection
> class to open the JSP file(s) using this class ...
> put this java class ( URLDisplayer ) into the crontag and output the out 
> put
> of the jsp page to some log file ....
>
> in this way you know what is the outout ( through the log file ) and the 
> jsp
> will execute what it needs to do ..
> what do you say ?????
>
> Regards
> Guru
>
>
>
>
>
> -----Original Message-----
> From: Paul Ekeland [mailto:ekeland@maths.fr]
> Sent: 07 April 2003 14:10
> To: tomcat-user@jakarta.apache.org
> Subject: executing jsp from linux shell
>
>
> Hello,
>
> here is my concern: i would like to execute daily *.jsp files from the a
> linux
> environment.
> This means creating a script calling by the crontable and executing the
> compiled
> jsp's. The server is tomcat (as you might have guessed) and i wonder how 
> to
> call
> these jsp's from a shell command.
> Does anyone have the solution??
> Thanks!
> Paul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message