Re: Pretty urls without .action

2008-01-28 Thread Jeromy Evans
Was putting your actions in a non-root namespace not a suitable work-around? Or did it not work for you? jignesh.patel wrote: Hi, I think you missed something struts.action.extension=action,, leads to not actions without ".action" but to the actions with (action-name suffix(.)). e.g http://l

Re: Pretty urls without .action

2008-01-28 Thread Zoran Avtarovski
In the simplest model you can take anything from your namespace and append a .action to it. We use it more to create SEF parameter laden URLs. I don't have a specific rule for what you're looking for but the documentation is pretty concise and you can also look at the Apache mod-rewrite rules (ht

Re: Pretty urls without .action

2008-01-25 Thread neha bhatt
x27;t allow you to use in the >>> filter mapping. >>> >>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>&g

Re: Pretty urls without .action

2008-01-24 Thread Zoran Avtarovski
We have adopted using the URL Rewrite Filter (http://tuckey.org/urlrewrite/) which like Apache lets you use SEF addresses which are then mapped to .action urls. Z. > > Hi, > I think you missed something struts.action.extension=action,, leads to not > actions without ".action" but to the acti

Re: Pretty urls without .action

2008-01-22 Thread jignesh.patel
you > take that broad approach you'll have to setup apache to serve the static > content as the V2.4 web.xml doesn't allow you to use in the > filter mapping. > > > ----- > To unsubscribe,

Re: Pretty urls without .action

2008-01-22 Thread Jeromy Evans
neha bhatt wrote: I am facing same problem. I had tried : eg. struts.action.extension=action,, In such case I am getting Http Status 404. As mentioned in the related post titled "Blank action extension in root namespace causing 302 in Tomcat" (no link at time of posting), try a non-root n

RE: Pretty urls without .action

2008-01-22 Thread neha bhatt
Friday, January 18, 2008 4:58 AM > To: Struts Users Mailing List > Subject: Re: Pretty urls without .action > > It should work without any other settings. Do you get an exception or > something else? > > It allows URLs like: > https://kily.myseaversite.com/category >

Re: Pretty urls without .action

2008-01-22 Thread Jeromy Evans
Hi Jignesh, You're right. It doesn't work in the root namespace (only). It works in other namespaces. (I was testing in /test/) The reason is that when you GET http://host:8080/email tomcat responds with a 302 Redirect to http://host:8080/email/ Your browser then does a GET to http://host:80

Re: Pretty urls without .action

2008-01-21 Thread jignesh.patel
aversite.com/category.action should be work like >>> https://kily.myseaversite.com/category >>> >>> Can anybody help me..? >>> >>> Thanks in advanced >>> Br,jignesh >>> >>> >> >> >>

Re: Pretty urls without .action

2008-01-21 Thread Jeromy Evans
Hi, Yes, I'm 100% certain this option allows struts to use a blank and/or alternative extensions. I just tried "action,,com" myself and it works loading my "/test/test.action, /test/test.com and "/test/test". Did /email.action work? Did /email.com work? Do you have the mentioned filter map

Re: Pretty urls without .action

2008-01-20 Thread jignesh.patel
ork like >> https://kily.myseaversite.com/category >> >> Can anybody help me..? >> >> Thanks in advanced >> Br,jignesh >> >> > > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL P

RE: Pretty urls without .action

2008-01-18 Thread Burgess, Randall
Mailing List Subject: Re: Pretty urls without .action It should work without any other settings. Do you get an exception or something else? It allows URLs like: https://kily.myseaversite.com/category Make sure you're only testing in tomcat so you can isolate the problem. jignesh.patel

Re: Pretty urls without .action

2008-01-18 Thread Jeromy Evans
It should work without any other settings. Do you get an exception or something else? It allows URLs like: https://kily.myseaversite.com/category Make sure you're only testing in tomcat so you can isolate the problem. jignesh.patel wrote: Hi, thanks for your reply,but unfortunationatily it

Re: Pretty urls without .action

2008-01-18 Thread jignesh.patel
action should be work like >> https://kily.myseaversite.com/category >> >> Can anybody help me..? >> >> Thanks in advanced >> Br,jignesh >> >> > > > --------- > T

Re: Pretty urls without .action

2008-01-17 Thread Jeromy Evans
Yes, the constant "struts.action.extension" takes a comma separated list: eg. struts.action.extension=action,, The double comma above means "blank" is a valid extension You can add that to struts.properties, struts.xml or web.xml: http://struts.apache.org/2.x/docs/constant-configuration.html

Pretty urls without .action

2008-01-17 Thread jignesh(india)
://kily.myseaversite.com/category.action should be work like https://kily.myseaversite.com/category Can anybody help me..? Thanks in advanced Br,jignesh -- View this message in context: http://www.nabble.com/Pretty-urls-without-.action-tp14947106p14947106.html Sent from the Struts - User mailing list archive at