You might want to look into the RESTful URL's plugin. But you can just override the extension. I usually set mine to .html (to hide the technology being used), but I believe you can set it no nothing as well. I use the following in struts.xml, I believe you can set the value to "" also.
<constant name="struts.action.extension" value="html"/> You'll also have to change the servlet-mapping in web.xml to match. (*Chris*) On Sun, Jul 27, 2008 at 9:27 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I have an action which can be reached by > > - http://<hostname>/friends/viewpix.action > > > - http://<hostname>/friends/viewpix.action?id=2222 > > > My client doesn't want the *.action* to appear in the urls so is there a way > to launch the action by using friendly urls, e.g., like these: > > > - http://<hostname>/friends/viewpix > - http://<hostname>/friends/viewpix?id=2222. > > > Thanks. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]