struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Pilgrim" <>
Subject RE: Extra Path Info Problem!!! HELP!!!
Date Wed, 06 Mar 2002 11:03:01 GMT

Well this would solve some URL: design problems. FInally
mapped URL `' can become a reality.

More seriously where is this <path-mappings> XML coming from?
I have never seen this grammar before.

Peter Pilgrim                       ++44 (0)207-545-9923

............................................ Swamped under electronic mails

---------------------------------------- Message History ----------------------------------------

From:  "Michael Nash" <> on 05/03/2002 14:48 EST

Please respond to "Struts Users Mailing List" <>

To:    "Struts Users Mailing List" <>
Subject:    RE: Extra Path Info Problem!!! HELP!!!


I've been experimenting with a way of doing mappings from "normal" URL's to
Action URI's, and wonder if it's the right approach. If so, I'd be happy to
drop it in for inclusion in a release when/if appropriate, or set it up as
an optional-add on.

I took the simple approach, and added a configuration like this:

              <param-number>2+</param-number> <!-- the + means take
everything from param 2 onwards -->

Then I have a servlet called "PathHandler", which I map to "/do/*", and...

if you issue a URL like:


it would then simply issue a forward to:


Comments on whether or not this is the right way to go much appreciated, as
I need this functionality myself soon :-)



This e-mail may contain confidential and/or privileged information. If you are not the intended
recipient (or have received this e-mail in error) please notify the sender immediately and
destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message