tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lauer, Oliver" <Oliver.La...@AXA.de>
Subject AW: XSL - Reload a resource without restarting
Date Fri, 01 Mar 2002 15:46:30 GMT
Doesn't work thus getLastModified() on a XSL file using URLConnection always
return 0 - at least in my case :-).
Oliver 

> AXA eSolutions GmbH
> AXA Konzern AG Germany
> Oliver Lauer 
> Web Architect
> Wörthstraße 34
> D-50668 Köln
> Germany
> Tel.: +49 221 148 31277
> Fax: +49 221 148 43963
> Mobil: +49 179 59 064 59
> e-Mail: Oliver.Lauer@axa.de
> _____________________________
> 


-----Ursprüngliche Nachricht-----
Von: jeff.guttadauro@abbott.com [mailto:jeff.guttadauro@abbott.com]
Gesendet: Donnerstag, 28. Februar 2002 17:51
An: Tomcat Users List
Betreff: Re: XSL - Reload a resource without restarting



Hi, Oliver.

   I can offer an idea (doubt it would qualify as brilliant though - sorry).
If you do a getResource from the ServletContext, it will give you a
java.net.URL.  Then, maybe you could do an openConnection on the URL to get
a
URLConnection.  Then, try the getLastModified method on that...  Don't know
if
this will work, but figured I'd throw it out there as a suggestion.

Best of luck,
-Jeff

> -----Ursprüngliche Nachricht-----
> Von: Lauer, Oliver [mailto:Oliver.Lauer@AXA.de]
> Gesendet: Donnerstag, 28. Februar 2002 17:16
> An: Tomcat Users List (E-Mail)
> Betreff: XSL - Reload a resource without restarting
[snip]
> somebody a brilliant idea how to reload a resource
> dynamically within a
> webapp without having to restart.
> In my case I want to reload a XSL file only if it was changed.
[snip]



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


------------------------------------------------------------------------------
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich.
Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher
Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht
 ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten
Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir
Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
----------------------------
For legal and security reasons the information provided in this e-mail is not legally binding.
Upon request we would be pleased to provide you with a legally binding confirmation in written
form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the
content of this e-mail is not permitted. This message is exclusively for the person addressed
or their representative. If you are not the intended recipient of this message and its contents,
please notify the sender immediately.

==============================================================================


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message