Thanks Jeromy I will try your approach and let you know.
Jeromy Evans - Blue Sky Minds wrote: > > 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 DefaultActionMapper myself any more. > > Option b is not as difficult as it may first seem. The default code is > quite straight-forward [1], [2] > > As you're using Struts 2.0 you can't use the new Convention plugin. As > you're using struts.xml rather than CodeBehind I don't recommend > switching to the SmartURLs plugin as you'll have to re-check all the > configuration (unless it's a small application) [3]. The > Struts2UrlPlugin [4] will fix the problem immediately by dropping the > jar into the classpath but it's not released yet, undocumented and is > probably overkill. > > So I recommend a) or b). > > [1] http://struts.apache.org/2.x/docs/actionmapper.html > [2] > http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java?view=markup > [3] http://cwiki.apache.org/S2PLUGINS/smarturls-plugin.html > [4] http://code.google.com/p/struts2urlplugin/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- 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 commands, e-mail: [EMAIL PROTECTED]