Struts "process-action" chain should not depend on ServletActionContext because
ServletActionContext is not an interface.
-------------------------------------------------------------------------------------------------------------------------
Key: STR-3175
URL: https://issues.apache.org/struts/browse/STR-3175
Project: Struts 1
Issue Type: Improvement
Environment: n/a
Reporter: ori
Several commands in package org.apache.struts.chain.commands.servlet depend on
the specified context being an instance of ServletActionContext which is not an
interface.
Users that wish to use a custom ActionContext implementation must subclass
ServletActionContext, which is not ideal.
It would be much easier to have interfaces for ServletContext and WebContext
and require that the context be an instance of those interfaces. I've opened up
an issue with the chain project for this:
See http://issues.apache.org/jira/browse/CHAIN-47
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.