tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Short <...@benshort.co.uk>
Subject Re: Using jasper
Date Wed, 21 Oct 2009 12:47:27 GMT
Hi Mark,

Id like to store my jsp files in a database. When a request comes into
my web app I want to look up the jsp file based on the requested url,
compile it, instantiate it, cast it to a servlet and call the service
method.

My application will be spring based.

Now I come to think about it when I get the request I could save the
jsp file to WEB-INF/jsp and then let tomcat handle the compilation if
needed. I'd have to check that the lastmod time of the db version is
greater than the file version before saving it to WEB-INF/jsp.

Regards

Ben Short

2009/10/21 Mark Thomas <markt@apache.org>:
> Ben Short wrote:
>> Hi,
>>
>> I would like to use the Jasper jsp compiler to compile jsp's that I
>> read from a database/jackrabbit/inputstream can anyone give me any
>> pointers?
>
> Can you provide a little more context? Eg is thsi standalone or as part of a
> running Tomcat instance?
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Mime
View raw message