Author: simonetripodi
Date: Sun Sep 4 14:36:31 2011
New Revision: 1165032
URL: http://svn.apache.org/viewvc?rev=1165032&view=rev
Log:
Servlets will use ServletWebContext in Chains
Modified:
commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java
Modified:
commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java
URL:
http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java?rev=1165032&r1=1165031&r2=1165032&view=diff
==============================================================================
---
commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java
(original)
+++
commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java
Sun Sep 4 14:36:31 2011
@@ -188,7 +188,7 @@ public class ChainProcessor extends Chai
if (attribute == null) {
request.setAttribute(CATALOG_DEFAULT, theCatalog);
}
- Command command = theCatalog.getCommand(this.command);
+ Command<ServletWebContext> command =
theCatalog.getCommand(this.command);
try {
command.execute(context);
} catch (Exception e) {