atom feed3 messages in org.apache.struts.userpath info
FromSent OnAttachments
David NollDec 4, 2000 3:11 pm 
Craig R. McClanahanDec 4, 2000 5:02 pm 
David NollDec 4, 2000 7:20 pm 
Subject:path info
From:David Noll (lis@noll.org)
Date:Dec 4, 2000 3:11:29 pm
List:org.apache.struts.user

Hello,

Hopefully this is a no-brainer. How can I configure struts to call an action, and include the path info? EG - my normal action is called at:

server/action.do

I would like to call this action like this:

server/action.do/some/extra/random/parameters/etc

and later on, in my action class access that extra info via javax.servlet.http.HttpServletRequest.getPathInfo(). With out of the box servlet init params and action.xml values, I get an error specifying that an invalid path was requested. I'm developing against struts .5, if it makes a difference.

Thanks, David