David
From: "Damm, Gary" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: MessageResources question...
Date: Mon, 20 Jan 2003 15:37:35 -0800
I'd like to be able to identify the message resources based on the
ServletRequest. Is there a hook I can use to get the current
MessageResources based on the ServletRequest? The class I'm using only
has hooks into the ServletRequest and not and struts specific objects.
I believe I can do the following but I'd like to avoid hard coding the
resource name:
...
MessageResources resources =
MessageResourcesFactory.getResources("MyResourceName");
...
Any help appreciated.
Gary
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?page=features/virus
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

