Colin Kilburn - 2002-12-11

Hi All,

I'm using Struts 1.1b2.

Can anyone tell me off hand if it's possible to get a reference to the Action I'm testing?  I need to retrieve a value from the ApplicationResources, and the Action class has a getResources(request) method that I'd like to call:
http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.html#getResources\(javax.servlet.http.HttpServletRequest)

Is this even possible?  if not, could someone point me to a workaround?

What I'm trying to do is add a request parameter whose value is in my ApplicationResources.properties so that I can test a LookupDispatchAction.  Has anyone out there done this before?

Thanks in advance,
Colin