Is you application running in development mode?
This feature is turned off by default in deployment mode.

Maurice

On Thu, Apr 17, 2008 at 5:14 PM, Geoffrey Gallaway <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  I'm trying to get tomcat and wicket to pick up changes to html files
>  and reload them. I thought this was the default behavior of wicket.
>  I'm wondering if it's not working because I'm keeping my html files in
>  a separate location than beside my java classes:
>
>  public class MyApp extends WebApplication {
>   @Override
>     protected void init() {
>         super.init();
>
>         addComponentInstantiationListener(new SpringComponentInjector(this));
>         IResourceSettings resourceSettings = getResourceSettings();
>         resourceSettings.addResourceFolder("html/");
>         resourceSettings.setResourceStreamLocator(new PathStripperLocator());
>         resourceSettings.setResourcePollFrequency(Duration.ONE_SECOND);
>     }
>  }
>
>  Am I misunderstanding wicket and tomcat's ability to pick up changes
>  to resources on the fly?
>
>  Thanks,
>  Geoff
>
>  ---------------------------------------------------------------------
>  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