tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Short <>
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

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.


Ben Short

2009/10/21 Mark Thomas <>:
> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message