Revision: 1129
http://stripes.svn.sourceforge.net/stripes/?rev=1129&view=rev
Author: bengunter
Date: 2009-04-30 15:53:06 +0000 (Thu, 30 Apr 2009)
Log Message:
-----------
Applied fix for STS-681 from trunk.
Modified Paths:
--------------
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/HttpCacheInterceptor.java
Modified:
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/HttpCacheInterceptor.java
===================================================================
---
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/HttpCacheInterceptor.java
2009-04-30 15:50:06 UTC (rev 1128)
+++
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/HttpCacheInterceptor.java
2009-04-30 15:53:06 UTC (rev 1129)
@@ -71,7 +71,7 @@
public Resolution intercept(ExecutionContext ctx) throws Exception {
final ActionBean actionBean = ctx.getActionBean();
final Method handler = ctx.getHandler();
- if (ctx.isResolutionFromHandler() && (actionBean != null) && (handler
!= null)) {
+ if (actionBean != null && handler != null) {
final Class<? extends ActionBean> beanClass =
actionBean.getClass();
// if caching is disabled, then set the appropriate response
headers
logger.debug("Looking for ", HttpCache.class.getSimpleName(), " on
", beanClass
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development