See mixed comments below...
----- Original Message ----- 
From: "Sonny Sukumar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 4:29 PM
Subject: How to force XSP recompilation?


>
> My problem is this:  A snippet of Java code in my XSP references a
constant
> of one of my backend Java classes (in a JAR file in WEB-INF/lib).
However,
> I changed that constant value, recompiled and remade the JAR, restarted
> Tomcat, etc, but my XSP didn't get recompiled simply because I didn't edit
> the XSP file after that.
>
> But since any file depending on a constant in another class needs to be
> recompiled if that constant value changes, I was for awhile wondering why
> the XSP output wasn't changing.
>
> Does anybody know how to get Cocoon to handle this without having to
> remember everywhere (in what XSPs) that constant is referenced?

The constant is changed only by you as the webapp admin?  And then restarted
to serve for your users?  If it is under your control you can delete the
files under %TOMCAT_HOME%/work/Catalina/localhost/%YOUR_WEBAPP%.  maybe just
all *_xsp.java and *_xsp.class files. When you restart tomcat and go to
these pages you should see it take a little time to recompile and then be
live.

>
> Thanks,
>
> Sonny
>
> _________________________________________________________________
> Get MSN 8 and enjoy automatic e-mail virus protection.
> http://join.msn.com/?page=features/virus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to