Re: Custom URL in Struts 2

2007-08-22 Thread Dale Newfield
Aram Mkhitaryan wrote: try to specify the action like this should work (check the I don't know if "*+*" will work, but assuming it will, you have a couple typos: Missing close " on value attribute of first param, value attribute misspelled as vlaue in second. -Dale -

Re: Custom URL in Struts 2

2007-08-22 Thread Aram Mkhitaryan
try to specify the action like this should work (check the

Re: Custom URL in Struts 2

2007-08-15 Thread Ian Roughley
The Restful2ActionMapper will call different methods of the action class depending on the HTTP type. If this is not important, or you are using different actions then the UrlRewriteFilter is a great option. The Restful2ActionMapper is also part of Struts2 ;-) /Ian mraible wrote: What's the a

Re: Custom URL in Struts 2

2007-08-15 Thread mraible
thanks in advance >>> >> >> >> ----- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL

Re: Custom URL in Struts 2

2007-08-15 Thread Ian Roughley
Writing a custom ActionMapper is the way to go - it maps the URL to an action configuration and back again. I would write one for the "http://mysearchsite.com/XYZ+ABC"; pattern, and then use the Restful2ActionMapper for the "http://myseachsite.com/images/1"; pattern. The CompositeActionMapper

Re: Custom URL in Struts 2

2007-08-15 Thread Brian Pontarelli
This is very rails like. This is a tough one because of the way that Struts handles the URL to find the action mapping. If you want to support the Rails ID concept inside your URLs, I would suggest writing a custom filter to change the URL as it comes in based on some pre-defined criteria. Yo

Custom URL in Struts 2

2007-08-15 Thread rakeshxp
This should be calling an Image Action class with 1 as a parameter Has anyone achieved the above mentioned requirements before or can help me do so ? thanks in advance -- View this message in context: http://www.nabble.com/Custom-URL-in-Struts-2-tf4272524.html#a12160278 Sent from the Struts -