Hello Matt!
That sounds good.
But can you give full code examples (web.xml, other necessary codes)? I
do not know, how to realize it.
Dirk
From: Matt Raible <[EMAIL PROTECTED]>
Subject: Change the ".do" extension
Date: Mon, 29 Sep 2003 09:27:05 -0500
Content-Type: text/plain;
charset="iso-8859-1"
Yes this is possible. I use a filter mapped to /* and perform logic to
lookup all the actions and attempt a match, then forward to the action
if
it's found.
http://www.raibledesigns.com/page/rd?anchor=vanity_urls_in_struts
HTH,
Matt
-----Original Message-----
From: Dirk Behrendt [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 8:09 AM
To: [EMAIL PROTECTED]
Subject: Change the ".do" extension
Hello!
Is there a possibility to get rid of the .do extension in the actions?
For example:
http://localhost/login.do
should be
--> http://localhost/login
Ist this possible?
Thanks!
Dirk