Re: removing the extension in url in struts 2

2008-12-12 Thread RajeshSR
set the constant in ur struts.xml file removing the extension in url in struts 2 Jq Jr wrote: > > Hi All, > > Can anyone tell me how to remove the extension of url in struts 2 ? > > Like > /login instead of > /login.action > -- View this message in context: http://www.nabble.com/r

Re: removing the extension in url in struts 2

2008-10-09 Thread Alex Coles
On Fri, Oct 3, 2008 at 6:31 PM, Owen Berry <[EMAIL PROTECTED]> wrote: > > Here's a small sample out of my struts.xml file; let me know if you > need a little more. > > > > home > > > home > > > > I can access the above with any of the following URLs: > > / > /home >

Re: removing the extension in url in struts 2

2008-10-03 Thread Owen Berry
Here's a small sample out of my struts.xml file; let me know if you need a little more. home home I can access the above with any of the following URLs: / /home /home.action /.action (yip!) If I access it with a .action extension, then all links i

Re: removing the extension in url in struts 2

2008-10-03 Thread Jq Jr
Hi, Thanks for the reply friends. Owen which version of struts are you using? And can you post your struts.xml and struts.properties files. Actually I am not using the struts.properties instead I am putting those values in tag. Is it required to have struts.properties to remove the extension?

Re: removing the extension in url in struts 2

2008-10-01 Thread Owen Berry
As far as I can see, the default is: struts.action.extension=action,, and with that setting, accessing /login will work. I'm using it that way without any problems. On Wed, Oct 1, 2008 at 9:30 AM, duschhaube <[EMAIL PROTECTED]> wrote: > Hi, > > the extension can be configured in the struts.prope

Re: removing the extension in url in struts 2

2008-10-01 Thread duschhaube
Hi, the extension can be configured in the struts.properties struts.action.extension=action but i dont knoe if you can leave it empty. maybe you should consider to you the rest-plugin. Jq Jr schrieb: Hi All, Can anyone tell me how to remove the extension of url in struts 2 ? Like /login i