David
From: Francesco Russo <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Migrating from 1.0.2 to 1.1
Date: Mon, 25 Nov 2002 17:13:42 +0100
Hi everybody,
I have a question concerning how to move a piece of code working with the Struts 1.0.2 release to the upcoming 1.1 stable one. What I do is:
public myActionServlet extends ActionServlet
{
...
public Class getClass(String fullyQualifiedName)
{
FastHashMap fhm = this.actions;
java.lang.Object obj = fhm.get( fullyQualifiedName );
return obj.getClass();
}
...
}
My intent is to retreive the Class instance associated with the Action identified by the provided fully qualified name in order to save the time required for loading it via the class loader, since it could already have been instantiated by the controller itself!
What I am warried about is that the "actions" protected field in the ActionServlet class no longer exists in the 1.1 Struts release.
Might anyone tell me how this simple piece of code can be geared to Struts 1.1?
Thanks in advance,
Francesco.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>