I am or should I say, have been trying to find a solution to this problem.
I have a set of dynamically generated forwards with differing attributes
that make up the query string for the forward. Do your actions bypass your
action form and go to the action class directly and if they do how do you
initialize the properties in your action form class? I know I should be
trying to solve your problem, but maybe we could help each other out on this
one seeing that we have the same problem.
Thanks
Lisa.
>From: Jeff Boortz <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: prefix matching for an action
>Date: Wed, 26 Sep 2001 16:43:26 -0700 (PDT)
>
>I am trying to achieve the following:
>
>
>
> type="com.company.action.MyAction" />
>
>
>
>Essentially, I would like for a URL such as
>
>http://www.company.com/app/myAction/filename
>
>to trigger my action (assume in this example that the
>ActionServlet is mapped to "/app/*" in the web.xml
>file). I would like "filename" to be dynamic, so that
>a user could essentially download the action's dynamic
>responses with meaningful filenames.
>
>To the best of my knowledge, Struts does not support
>this. The best workaround I have found is to make
>this action the default action:
>
>type="com.company.action.MyAction" unknown="true" />
>
>But I really don't want to have to do that, especially
>since I will want to have many such action classes.
>
>It looks like I should be able to extend some class
>(ActionMapping?) in order to enable such a feature.
>But I am not sure what steps to follow.
>
>Has anyone encountered a similar challenge?
>
>Thanks
>JB
>
>__
>Do You Yahoo!?
>Get email alerts & NEW webcam video instant messaging with Yahoo!
>Messenger. http://im.yahoo.com
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp