Two Laptop Bag*
The moose likes Struts and the fly likes Setting namespace= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Setting namespace="/" on all links in application." Watch "Setting namespace="/" on all links in application." New topic
Author

Setting namespace="/" on all links in application.

David Rocks
Ranch Hand

Joined: Apr 24, 2001
Posts: 162
Is there a way to default all URLs in the application to use the root namespace?

I am having problems with a third party tag that creates links in my site as I cannot set namespace='/' in the link. It appends different namespaces together in links.

I have tried setting alwaysSelectFullNamespace = false

I am using the RestActionMapper and seems to be linked to this issue http://issues.apache.org/struts/browse/WW-2428

my struts version is 2.1.6


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Setting namespace="/" on all links in application.