struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Tung" <>
Subject RE: getPathInfo with Struts/Resin?
Date Mon, 10 Mar 2003 16:09:31 GMT

I haven't received any response on this issue.  I assume this has not been
done or cannot be done with Resin/Struts or with struts and any other
container.  Or perhaps I should post to a different list altogether?

Any feedback will be greatly appreciated!!


-----Original Message-----
From: Kevin Tung []
Sent: Thursday, March 06, 2003 6:37 PM
To: 'Struts Users Mailing List'
Subject: getPathInfo with Struts/Resin?


I have searched the archives and the newsgroups but couldn't find an answer
that applies to my specific environment, hopefully someone here has done
this before.

I am running Struts 1.1b3 (didn't work with 1.1b2 either) with Resin 2.1.6

I want to be able to do the following

where view and edit will map to different Actions.  And within each action,
I want to be able to retrieve the username by using getPathInfo().

in my web.xml


in my struts_config.xml

    <action     path="/edit" type="com.mycomp.EditAction"/>

But when I point the browser to I end up with a

400 Invalid path /edit/username/

And gets me

400 Invalid path /

But And (without the slash)

Works fine, but it's without the path info..

Is this a resin issues? or could this be a struts config issue?  Has anyone
gotten this scenario to work with Struts and Resin? or even another
container?  Some config samples would be very helpful!!


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

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

View raw message