]
--
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
:
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]
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
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
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
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
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
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
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
9 matches
Mail list logo