struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: can we avoid extension "action"?
Date Tue, 12 Nov 2013 19:56:29 GMT
You are correct.
On Nov 12, 2013 1:42 PM, "Yaragalla Muralidhar" <yaragallamurali@gmail.com>
wrote:

> The strts filter was mapped to "/*" so i dont think we should be doing
> something in web.xml. Correct me if i am wrong?
>
> *Thanks and Regards,*
> Muralidhar Yaragalla.
>
> *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
>
>
> On Wed, Nov 13, 2013 at 1:03 AM, Paul Benedict <pbenedict@apache.org>
> wrote:
>
> > In addition, make sure your web.xml is sending the new paths/extensions
> to
> > the Struts 2 filter.
> >
> >
> > On Tue, Nov 12, 2013 at 1:24 PM, Yaragalla Muralidhar <
> > yaragallamurali@gmail.com> wrote:
> >
> > > Thank you so much Dave.
> > >
> > > *Thanks and Regards,*
> > > Muralidhar Yaragalla.
> > >
> > > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
> > >
> > >
> > > On Wed, Nov 13, 2013 at 12:52 AM, Dave Newton <davelnewton@gmail.com>
> > > wrote:
> > >
> > > > Yes.
> > > >
> > > >
> > > > On Tue, Nov 12, 2013 at 2:06 PM, Yaragalla Muralidhar <
> > > > yaragallamurali@gmail.com> wrote:
> > > >
> > > > > IS "`struts.action.extension=action,,`" this a constant in
> struts.xml
> > > > file?
> > > > >
> > > > > *Thanks and Regards,*
> > > > > Muralidhar Yaragalla.
> > > > >
> > > > > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
> > > > >
> > > > >
> > > > > On Wed, Nov 13, 2013 at 12:32 AM, Dave Newton <
> davelnewton@gmail.com
> > >
> > > > > wrote:
> > > > >
> > > > > > Sure; set `struts.action.extension=action,,` to be whatever
you
> > want.
> > > > > >
> > > > > >
> > > > > > Although if you use the form tags you don't need to specify
it in
> > the
> > > > > form.
> > > > > >
> > > > > > Dave
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Tue, Nov 12, 2013 at 1:16 PM, Yaragalla Muralidhar <
> > > > > > yaragallamurali@gmail.com> wrote:
> > > > > >
> > > > > > > Hi when we submit the form we need to set the form action
to
> > struts
> > > > > > action.
> > > > > > > Something like <form action="xxx.action" >.
> > > > > > >
> > > > > > > So instead of "xxx.action" can i have a different extension
> like
> > > > > > > "xxx.fire"?
> > > > > > >
> > > > > > > *Thanks and Regards,*
> > > > > > > Muralidhar Yaragalla.
> > > > > > >
> > > > > > > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/
> >*
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > e: davelnewton@gmail.com
> > > > > > m: 908-380-8699
> > > > > > s: davelnewton_skype
> > > > > > t: @dave_newton <https://twitter.com/dave_newton>
> > > > > > b: Bucky Bits <http://buckybits.blogspot.com/>
> > > > > > g: davelnewton <https://github.com/davelnewton>
> > > > > > so: Dave Newton <
> http://stackoverflow.com/users/438992/dave-newton
> > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > e: davelnewton@gmail.com
> > > > m: 908-380-8699
> > > > s: davelnewton_skype
> > > > t: @dave_newton <https://twitter.com/dave_newton>
> > > > b: Bucky Bits <http://buckybits.blogspot.com/>
> > > > g: davelnewton <https://github.com/davelnewton>
> > > > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
> > > >
> > >
> >
> >
> >
> > --
> > Cheers,
> > Paul
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message