Re: Struts mapping failing when using struts2-convention-plugin

2011-01-24 Thread stanlick
Thanks my good brother. I'll attribute my weirdness to trying to code and watch football at the same time! Peace, Scott 2011/1/24 Paweł Wielgus > Hi Scott, > i use them side by side, > normal action by conention and freaks in xml. > > Best greetings, > Paweł Wielgus. > > > 2011/1/23 stanlick :

Re: Struts mapping failing when using struts2-convention-plugin

2011-01-24 Thread Paweł Wielgus
Hi Scott, i use them side by side, normal action by conention and freaks in xml. Best greetings, Paweł Wielgus. 2011/1/23 stanlick : > > Do you guys know if using the convention plugin is mutually exclusive of > having an action mapping xml file?  IOW, is the convention plugin an all or > nothin

Re: Struts mapping failing when using struts2-convention-plugin

2011-01-23 Thread stanlick
Do you guys know if using the convention plugin is mutually exclusive of having an action mapping xml file? IOW, is the convention plugin an all or nothing proposition? I know it alters the request handling machinery but cannot find anywhere in the docs if it is "expected" to play alongside conv

Re: Struts mapping failing when using struts2-convention-plugin

2009-03-10 Thread wkbutler
I resolved this by removing a struts.properties in our resources/ dir that had snuck in. It had defined properties conflicting with our struts.xml, in particular the 'spring' configuration type caused trouble. Unfortunately I deleted the .properties file from CVS already and don't have access

Re: Struts mapping failing when using struts2-convention-plugin

2009-03-06 Thread Musachy Barroso
Yes, try convention first and then get on REST. You need to include the config browser plugin, for that url to be available. I don't know much of REST myself, but with your config settings, Convention should be mapping http://localhost:8080/lotmap/subdivision to the mentioned class. Look at the l

Re: Struts mapping failing when using struts2-convention-plugin

2009-03-06 Thread wkbutler
Thanks Musachy, that page (http://struts.apache.org/2.1.6/docs/convention-plugin.html) was very useful and now I think I understand the "locators" property much better. So here's my class: com.tousa.ws.rest.SubdivisionController and I think I told Convention to use suffix "Controller" via the p

Re: Struts mapping failing when using struts2-convention-plugin

2009-03-06 Thread Musachy Barroso
Ah the little things that drive us crazy :). Your class is "com.tousa.ws.rest.SubdivisionController" and the locator is "rest" which means the the action won't have a namespace, so the url will be /subdivision instead of /rest/subdivision, because the namespace is what follows the locator, for exam