Re: Struts2 URL problem

2008-03-17 Thread Tauri Valor
] -- View this message in context: http://www.nabble.com/Struts2-URL-problem-tp16020941p16089143.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Struts2 URL problem

2008-03-16 Thread Tauri Valor
: http://www.nabble.com/Struts2-URL-problem-tp16020941p16087758.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]

Re: Struts2 URL problem

2008-03-16 Thread Frans Thamura
hi all if i want to create the url something like this, and withour .do or .action, like REST is smartURL the answer or we must use RESTplugins, which we know we cannot mixed REST with current struts2 setting i want the url like this http://localhost:8080/cimande/profile/fthamura which

Re: Struts2 URL problem

2008-03-16 Thread Jeromy Evans
At this point I'd either a) accept it, because it's unlikely to cause really problems or ever be noticed by a real user. It's just scrappy b) create a custom ActionMapper derived from the default one that removes that feature c) Use a plugin that does b for you I don't use the

Re: Struts2 URL problem

2008-03-16 Thread Jeromy Evans
Frans Thamura wrote: hi all if i want to create the url something like this, and withour .do or .action, like REST URLs without the extension is possible by setting the property: struts.action.extension=action,, Where the double comma indicates no extension. is smartURL the answer or

Re: Struts2 URL problem

2008-03-13 Thread Jeromy Evans
Hi Tauri, I don't have time to try it myself right now, but what I meant was create an additional default package that contains no actions. I'm not sure if it will help though. The idea is that when the default action mapper can't match the namespace, it falls back to an empty back. Like

Struts2 URL problem

2008-03-12 Thread Tauri Valor
like the above. What is my mistake ? Pls advise. -- View this message in context: http://www.nabble.com/Struts2-URL-problem-tp16020941p16020941.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts2 URL problem

2008-03-12 Thread Jeromy Evans
No mistake. AFAIK that's a design flaw of the default action mapper. See: http://www.planetstruts.org/struts2-blank/example/somecrap/HelloWorld.action If there's no match in a package namespace it falls back to the default package and matches a little to generously. You may be able to

Re: Struts2 URL problem

2008-03-12 Thread Tauri Valor
in context: http://www.nabble.com/Struts2-URL-problem-tp16020941p16021626.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL