Joerg Heinicke wrote:
On 26.05.2004 19:00, Enrico Migliore wrote:
Cocoon 2.1.5 --------------
I modified the CalculatorFlow example and noticed that:
1. if Cocoon is restarded, CalculatorFlow.class is loaded and the java code executed.
1. if Cocoon is NOT restarded, CalculatorFlow.class is never reloaded and the java
code is NOT executed.
I do not really understand. Where is this class placed? Why do you expect it being updated?
Joerg
Hi Joerg,
fact ----
Cocoon places the class "CalculatorFlow.class" in the following directory:
webapp/WEB-INF/classes/org/apache/cocoon/samples/flow/java
---oOo---
what I did ----------
I slightly modified the original "CalculatorFlow.java" and copied my version of "CalculatorFlow.class" in that directory. In order to see my changes, then I reloaded the following URI:
http://localhost:8888/samples/blocks/javaflow/calculator.do
---oOo---
what I noticed --------------
I noticed that Cocoon doesn't reload the new class. If I restart Cocoon, instead, the new class is correctly loaded and I can see the changes.
---oOo---
what I guess -------------
It seems that Cocoon caches the class "CalculatorFlow.class" and doens't reload even if I modify it.
---oOo---
Thanks for any help, Enrico
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
