Re: Friendly URL with struts 2

2011-08-28 Thread Frans Thamura
all our work based on cimande (struts2-spring-hibernate), using total REST now.. we use the REST plugins, and work... but u can see the core http://cimande.java.net -> i put here, the latest version. i am glad to discuss, and improve the REST in S2. because we are dedicated to make all total R

Re: Convention plugin can't find Actions

2011-08-28 Thread chengas123
Got it working. I needed to set the constants below in my struts.xml. Could be good to add this to the docs for other people using Jetty in embedded mode. -Ben -- View this message in context: http://struts.1045723.n5.nabble.com/Convention-plugin-can-t-find-Actions-tp4744110p4744666.htm

Friendly URL with struts 2

2011-08-28 Thread Mohamed Rabie Hayoun Ben Maimoun
Hello, I want to implement a frindly URL mapper with struts 2 but i don't find information how i can implement it. Example: www.mydomain.com/ACTION/firstParameter/firstParameter//LastParameter is there someone who can help me or suggest me a plugin? Thnx! -- Mohamed Rabie Hayoun Ben Maimou

Re: Convention plugin can't find Actions

2011-08-28 Thread Dave Newton
IIRC it needs to be in a package ending in action/actions/something-else and the name needs to end in Action, at least that was the case when I wrote the book covering 2.0. If changing the package suffix to "actions" doesn't do it then you'll probably want to take a quick gander and the scanning co

Re: Convention plugin can't find Actions

2011-08-28 Thread chengas123
Thanks for the suggestion. Didn't help though. Shouldn't the fact that it extends ActionSupport be enough anyway? -- View this message in context: http://struts.1045723.n5.nabble.com/Convention-plugin-can-t-find-Actions-tp4744110p4744116.html Sent from the Struts - User mailing list archive at

Re: Convention plugin can't find Actions

2011-08-28 Thread Dave Newton
Try naming it TestAction. Dave On Sun, Aug 28, 2011 at 4:13 PM, chengas123 wrote: > Hi, > > I created the action below in a package ending with "action" and extended > ActionSupport. Yet, the convention plugin is not finding the action. I > installed the config browser plugin and it does not s

Convention plugin can't find Actions

2011-08-28 Thread chengas123
Hi, I created the action below in a package ending with "action" and extended ActionSupport. Yet, the convention plugin is not finding the action. I installed the config browser plugin and it does not see the action. Any tips on how I can debug this? I'm running this in embedded Jetty. Does t

Re: Struts2 POJO population from URL

2011-08-28 Thread Maurizio Cucchiara
In the same way, try to initialize the Ghi and Def object before the action is invoked. Maurizio Cucchiara On 28 August 2011 07:45, James Jithin wrote: > I have a Java Object with many other nested Objects and lists of Objects. > When the request arrives from the client, I see that the Object i

Re: Struts2 POJO population from URL

2011-08-28 Thread Maurizio Cucchiara
did you take a look at log? did you see any error? I don't know if it really help, but I usually prefer to initialize the collection inside the action class directly. For instance: private List defList=new ArrayList(20); Such that you gain more control over the chosen implementation, the lenght, e