[ https://issues.apache.org/struts/browse/WW-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Musachy Barroso resolved WW-3242.
---------------------------------
Resolution: Not A Problem
actionPackages is not used by the Convention, see the documentation for details.
> Conventions plugin + the <actionPackages> filter parameter
> ----------------------------------------------------------
>
> Key: WW-3242
> URL: https://issues.apache.org/struts/browse/WW-3242
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Convention
> Affects Versions: 2.1.6
> Environment: ubuntu 8.10, tomcat 6.1
> Reporter: Sander Sõnajalg
>
> If i use the conventions plugin and StrutsPrepareAndExecuteFilter to configure my app,
the "actionPackages" init-param seems to be ignored for good. I want to specify the packages
scanned for actions by hand, rather than to relay on the default to name my action-packages
to "actions" or sthg. after a lot of messing around i found that i can do the same by adding
this to my struts.xml:
> <constant name="struts.convention.action.packages" value="org.examples" />
> .. but then again, is the old way now officially removed? your showcase demo app still
uses the actionPackages init-param, though it doesn't use Conventions plugin but the old deprecated
CodeBehind plugin. Anyhow, even if this is not a bug the documentation on this stuff is far
from complete. (Why i'm so concerned about this (even though that i got it working for me
in another way) is that I'm writing a Struts2.1 plugin for the JRebel class-reloading tool,
and I would like to be sure i am 100% familiar with all the possible ways the framework end
user could set up his app..).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|