Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.3.9
-
None
Description
The methods in chain.commands.servlet.PerformForward are private. To extend PerformInclude to make it easier to deal with prefix matching in the action servlet (e.g. "/main/" instead of ".do") it would be nice if I could override resolveModuleRelativePath().
With the overridden method I could omit the action servlet prefix in the whole struts-config.xml:
<action...>
old: <forward name="success" path="/main/anotherAction" module="..."/>
new: <forward name="success" path="/anotherAction" module="..."/>
</action>