Re: Remove .action from forms action attribute

2009-06-02 Thread David Canos
I prefer to render the real path I type. 2009/6/2 Dave Newton > David Canos wrote: > >> Now we have got to remove the suffix, any idea about the preffix >> /MyProject/../? >> > > Don't you want the form to submit to your application? > > Dave > > > ---

Re: Remove .action from forms action attribute

2009-06-02 Thread Dave Newton
David Canos wrote: Now we have got to remove the suffix, any idea about the preffix /MyProject/../? Don't you want the form to submit to your application? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Re: Remove .action from forms action attribute

2009-06-02 Thread David Canos
Hi Wes, than you very much for your reply, now .action doesn't appear as suffix. Is possible to update the documentation with this info, it will help lot of people. Now we have got to remove the suffix, any idea about the preffix /MyProject/../? * * 2009/6/2 Wes Wannemacher > With 2.1.6, w/o an

Re: Remove .action from forms action attribute

2009-06-02 Thread Wes Wannemacher
With 2.1.6, w/o any major modifications of configuration, the URLs can lack the '.action' by default. It seems that s:url and s:form will render urls with the .action suffix, if the page rendering the tag was requested with the suffix. Try visiting the page rendering the form w/o specifying the .ac

Remove .action from forms action attribute

2009-06-02 Thread David Canos
Hi folks I'm using Struts 2.1.6 (not convention) and URLRewrite filter.I'm trying to remove .action extension from a form's action attribute. A simple tag like this: it's rendered as: I need to tidy this uri removing ".action" from action-attribute. http://struts.apache.org/2.1.6/docs/form.h