2016-03-24 22:09 GMT+01:00 José Antonio Delgado Trujillo <jadt...@gmail.com>:
> I was trying with the convention plugin and the example in the gitHub.
> Now i have a problem with the url to return to index.
> There is no index action so i don’t know how to fix the problem without 
> change the package of the actions.
>
> <p><a href="<s:url action="index"/>">Return to home page.</a></p>
>
>
> I think the best is to use the annotations.

I don't really understand what do you mean by that, first you can use
"namespace" attribute, next Convention plugin support conventio which
means:

    "Default action and result handling (i.e. /products will try
com.example.actions.Products as well as
com.example.actions.products.Index)"

http://struts.apache.org/docs/convention-plugin.html#ConventionPlugin-Introduction


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to