can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
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?

2013-11-12 Thread Dave Newton
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 yaragallamur...@gmail.com wrote: Hi when we submit the form we need to set the form

Re: can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
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 davelnew...@gmail.com wrote: Sure; set

Re: can we avoid extension action?

2013-11-12 Thread Dave Newton
Yes. On Tue, Nov 12, 2013 at 2:06 PM, Yaragalla Muralidhar yaragallamur...@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

Re: can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
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 davelnew...@gmail.com wrote: Yes. On Tue, Nov 12, 2013 at 2:06 PM, Yaragalla Muralidhar

Re: can we avoid extension action?

2013-11-12 Thread Paul Benedict
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 yaragallamur...@gmail.com wrote: Thank you so much Dave. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
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 pbened...@apache.org

Re: can we avoid extension action?

2013-11-12 Thread Paul Benedict
You are correct. On Nov 12, 2013 1:42 PM, Yaragalla Muralidhar yaragallamur...@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/

Re: can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
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 pbened...@apache.org wrote: You are correct. On Nov 12, 2013 1:42 PM, Yaragalla Muralidhar