tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milanez, Marcus" <Marcus.Mila...@diebold.com>
Subject RES: Creating files dynamically and antiJarLocking
Date Tue, 30 Oct 2007 12:12:21 GMT
Kolinko,

Thanks for your reply. I really need this feature to work correctely
'cause doing that we could increase performance significantly in some of
our requests. 

I'm currently using Tomcat 6.0.10. I can't tell you whether this works
in previous or further versions 'cause we have only tested in this one.
And as you mentioned, I guess this behaviuor is not part of any java ee
paper or standard..

Thanks for your help,

Marcus Milanez

-----Mensagem original-----
De: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] 
Enviada em: segunda-feira, 29 de outubro de 2007 15:52
Para: Tomcat Users List
Assunto: Re: Creating files dynamically and antiJarLocking

> This is likely because Tomcat expects all the resources for a web app 
> to be available at deployment time, rather than randomly appearing 
> during the life of the deployed webapp.

Jsps are recompiled when modified, and are compiled on the first access.
Thus I do not see why they cannot appear randomly.

I do not remember whether it is a part of the standard, but it is a
feature, and it supposedly can be turned off by some options.


What Tomcat version is Marcus using?

As for the path to the temp folder:
what is the result of calling ServletContext.getRealPath(...)?


2007/10/29, Christopher Schultz <chris@christopherschultz.net>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Marcus,
>
> Milanez, Marcus wrote:
> > In this case, my files are created
> > correctely, but I just can't reach them using their URLs.
>
> This is likely because Tomcat expects all the resources for a web app 
> to be available at deployment time, rather than randomly appearing 
> during the life of the deployed webapp.
>
> I believe similar questions have been raised in the past, the the 
> answer has been "don't do that". I'm not sure if there's a good way to

> achieve what you're trying to do.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHJfGH9CaO5/Lv0PARAuPxAJ0RUBs4e8Z7F921c8xCq2NTNCMsLQCgnp13
> m3QuNzpZ8L7+wiU0p3bkebA=
> =SkSm
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, 
> e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


---------------------------------------------------------------------
To start a new topic, e-mail: users@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