You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yaragalla Muralidhar <ya...@gmail.com> on 2013/11/12 19:16:19 UTC

can we avoid extension "action"?

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/>*

Re: can we avoid extension "action"?

Posted by Yaragalla Muralidhar <ya...@gmail.com>.
Thank you for all of ur time.

*Thanks and Regards,*
Muralidhar Yaragalla.

*http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*


On Wed, Nov 13, 2013 at 1:26 AM, Paul Benedict <pb...@apache.org> wrote:

> 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 <pb...@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
> > >
> >
>

Re: can we avoid extension "action"?

Posted by Paul Benedict <pb...@apache.org>.
You are correct.
On Nov 12, 2013 1:42 PM, "Yaragalla Muralidhar" <ya...@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 <pb...@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 <da...@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
> >
>

Re: can we avoid extension "action"?

Posted by Yaragalla Muralidhar <ya...@gmail.com>.
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 <pb...@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 <da...@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
>

Re: can we avoid extension "action"?

Posted by Paul Benedict <pb...@apache.org>.
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 <da...@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 <da...@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

Re: can we avoid extension "action"?

Posted by Yaragalla Muralidhar <ya...@gmail.com>.
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 <da...@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 <da...@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>
>

Re: can we avoid extension "action"?

Posted by Dave Newton <da...@gmail.com>.
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 <da...@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>

Re: can we avoid extension "action"?

Posted by Yaragalla Muralidhar <ya...@gmail.com>.
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 <da...@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>
>

Re: can we avoid extension "action"?

Posted by Dave Newton <da...@gmail.com>.
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>