struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Issue with maven archetypes - jetty plugin version 8 not refreshing JSPs
Date Tue, 06 Nov 2012 12:12:16 GMT
2012/10/31 Miguel Almeida <miguel@almeida.at>

> Hey Lukasz,
>
> Does your jetty configuration match the ones I provided? More
> specifically, did you remove the  <scanTargets> element? With
> scanTargets you will see the JSP changes, but only after the automatic
> container reload (so, worse case scenario in 10 seconds, as defined in
> the <scanIntervalSeconds> element.
>
> If you remove scanTargets, the page will not be refreshed on JSP change
> in jetty 8 but will be refreshed in jetty 6! And reloading the entire
> container for every JSP change seems like an overkill (and slows down
> development process considerably when your webapp has session variables
> and security).
>
> Could you try the configuration without <scanTargets> for jetty 6 and 8?


Yes, I did that and even committed the change [1], there was no Jetty
restarts when I've been changing jsp file.

[1] https://issues.apache.org/jira/browse/WW-3916


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message