Did you take a look at the docs:
http://cwiki.apache.org/S2PLUGINS/convention-plugin.html?

To get you started do this:

1. Create an action in ....actions.TestAction, and write an execute()
method that return "success".
2. Create the file  /WEB-INF/content/test.jsp
3. Point your browser to: http://localhost:8080/context/test

That should be it. Make sure that the plugin is getting deployed to
the lib folder of your app. You can also enable logging to see what is
going on (convention plugin can be quite verbose)

musachy

On Fri, Jun 6, 2008 at 1:33 PM, vikofvan <[EMAIL PROTECTED]> wrote:
>
> How do I configure the plugin to work? I compiled the plugin and xwork using
> the latest source, and am using the latest successful build of struts2
> (build 825) but it does not find the action at runtime. I tried using the
> plugin annotations also. The plugin looks very promising, if only I can get
> it to work. Thanks.
>
> vikram
>
>
> Musachy Barroso wrote:
>>
>> You will have to build xwork also, those classes are new.
>>
>> musachy
>>
>> On Wed, Jun 4, 2008 at 5:18 PM, vikofvan <[EMAIL PROTECTED]> wrote:
>>>
>>> Thanks for providing the link to the source of convention plugin; am
>>> unable
>>> to compile the plugin as
>>> com.opensymphony.xwork2.util.finder.*
>>> is missing from xwork 2.1.1. Thanks.
>>>
>>> vikram
>>>
>>>
>>> Musachy Barroso wrote:
>>>>
>>>> The Convention plugin has not been released yet, it is in the sandbox
>>>> here:
>>>>
>>>> http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-convention-plugin/
>>>>
>>>> musachy
>>>>
>>>> On Wed, Jun 4, 2008 at 4:13 PM, vikofvan <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>> Where can I get hold of the strust2 convention plugin? It seems to be
>>>>> missing
>>>>> from the 2.1.2 build. Thanks.
>>>>>
>>>>> Vikram
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/-Struts2--Convention-Plugin-tp17655614p17655614.html
>>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/-Struts2--Convention-Plugin-tp17655614p17656884.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>> --
>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/-Struts2--Convention-Plugin-tp17655614p17696902.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to