Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 45832 invoked from network); 27 Jul 2008 20:06:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2008 20:06:35 -0000 Received: (qmail 79883 invoked by uid 500); 27 Jul 2008 20:06:25 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 79860 invoked by uid 500); 27 Jul 2008 20:06:25 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 79849 invoked by uid 99); 27 Jul 2008 20:06:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 13:06:25 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [78.47.92.37] (HELO mail.sartini-its.net) (78.47.92.37) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 20:05:29 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.sartini-its.net (Postfix) with ESMTP id E4CFB60454 for ; Sun, 27 Jul 2008 20:05:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.sartini-its.net Received: from mail.sartini-its.net ([127.0.0.1]) by localhost (mail.sartini-its.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R+XyxbE62t3h for ; Sun, 27 Jul 2008 20:05:51 +0000 (UTC) Received: from noname (mnch-5d876cb8.pool.einsundeins.de [93.135.108.184]) by mail.sartini-its.net (Postfix) with ESMTP id A207060351 for ; Sun, 27 Jul 2008 20:05:51 +0000 (UTC) From: Piero Sartini To: "Struts Users Mailing List" Subject: Re: s2: user-frendly urls in struts2 Date: Sun, 27 Jul 2008 22:05:53 +0200 User-Agent: KMail/1.9.9 References: <42db7f0a0807271244l41898e90m4e1a91ef1c561f73@mail.gmail.com> In-Reply-To: <42db7f0a0807271244l41898e90m4e1a91ef1c561f73@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807272205.53826.lists@pierosartini.de> X-Virus-Checked: Checked by ClamAV on apache.org Am Sonntag, 27. Juli 2008 21:44:04 schrieb Chris Pratt: > 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. > > Setting the extension to "" is a bad idea. In this case, the default action mapper thinks every ressource (png,jpg,js,css,etc) is an action. However, this may work with the REST plugin. Piero --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org