CC'ing over to dev as it seems that something has been broken.

I don't have the bandwidth right now to track down what the issue is, but
I'm successfully using LookupDispatchAction with no problems with an earlier
nightly build.

Also, its LookupDispatchAction, not LookupDispatcherAction - just to be
clear and avoid confusion!  :)

Ted?  Did something change that could have affected this?

    Erik


----- Original Message -----
From: "Michael Clay" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 7:48 AM
Subject: AW: LookupDispatcherAction


Hi!

1. I have the latest nightly build 20020109

2. i think the LookupDispatcherAction shoud take the ressource from the
servletcontext (MESSAGES_KEY) instead of calling servlet.getResources()
because this returns an MessageResources (named application in
ActionServlet) wich was never be constructed ..see
//        initApplication(); // Replaced by new-style initialization

3. my properties file


******* Method's for LookupDispatcherAction

method.load=Open
method.open=Open

4. my code is same as your sample from

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg18378.html

Michael

-----Ursprüngliche Nachricht-----
Von: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 09. Jänner 2002 13:40
An: Struts Users Mailing List
Betreff: Re: LookupDispatcherAction

Could you please provide the code that is causing this problem along with
the ApplicationResources.properties file that contains the mappings?

Have you checked the Javadoc for LookupDispatchAction to ensure you've got
all the pieces configured properly?

    Erik

----- Original Message -----
From: "Michael Clay" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 7:32 AM
Subject: LookupDispatcherAction


Thanks! have allready found it..but now I found out a null pointer exception
in LookupDispatcherAction... it seem's like that the LookupDispatcherAction
want's to get a Ressource (MessageResources resources =
servlet.getResources();) wich never was initialized in the ActionServlet...

java.lang.NullPointerException

at
org.apache.struts.actions.LookupDispatchAction.perform(LookupDispatchAction.
java:216)

:-(

-----Ursprüngliche Nachricht-----
Von: Tom Goemaes [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 09. Jänner 2002 02:27
An: Struts Users Mailing List
Betreff: Re: Commons Logging Lib??

try
http://jakarta.apache.org/commons/index.html
:)

------------------------
 "Struts Users Mailing List" <[EMAIL PROTECTED]> wrote:
------------------------

>Anybody knows where I can find/download the lib where this
>class->org.apache.commons.logging.LogSource belongs in ??
>
>Many thanks mc
>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to