Are you sure you have the exact same versions of everything?

When you say "doesn't work" do you mean the value you get is null?

If this is really happening, it would be a bug in your container.  What
container?

3jeff

> -----Original Message-----
> From: Pierre de Soyres [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 24, 2003 5:49 AM
> To: [EMAIL PROTECTED]
> Subject: [Mav-user] OS dependent while retrieving Dispatcher : the
right
> message
> 
> Hello,
> 
> (Sorry for the last message that contained mistakes)
> 
> I saw a strange comportment while retrieving the Dispatcher :
> 
> -> Under Windows XP, this code doesn't work (but it should) and i
still
> can't understand why :
> protected Dispatcher getDispatcher() {
> return
>
(Dispatcher)this.getCtx().getServletContext().getAttribute(Dispatcher.MA
VE
> RICK_APPLICATION_KEY);
> }
> 
> -> but this one works fine (which tooks me a long time before finding
it)
> :
> protected Dispatcher getDispatcher() {
> return
>
(Dispatcher)this.getCtx().getServletContext().getAttribute("maverickAppl
ic
> ationKey");
> }
> 
> 
> -> Under linux : the right one works fine :
> protected Dispatcher getDispatcher() {
> return
>
(Dispatcher)this.getCtx().getServletContext().getAttribute(Dispatcher.MA
VE
> RICK_APPLICATION_KEY);
> }
> 
> Strange ! isn't it !!
> Any idea ?
> 
> Thanks.
> 
> -------------------
> Pierre de Soyres
> 
> 
>
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> Les informations contenues dans ce courrier electronique et dans les
> fichiers
> qui y sont attachees sont confidentielles et peuvent etre protegees
> legalement.
> Elles ne sont adressees qu'au destinataire. L'acces a ce courrier
> electronique
> par toute autre personne n'est pas autorise. Si vous n'etes pas le
> destinataire voulu, toute divulgation, copie ou diffusion de ce
courrier
> electronique est interdite et peut etre illegale.
> Sauf mention contraire dans le corps du message, la presence de cette
note
> prouve egalement que ce message electronique a ete verifie par un
logiciel
> anti-virus.
>
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> This email and any attached file are confidential and intended solely
for
> the use of the individual or entity to whom they are addressed.
> Accessing this email by anyone else than the recipient is forbidden
and
> may
> be illegal.
> If you received this email by error please notify the system
> administrator.
> This footnote also confirms that this message has been scanned by an
anti-
> virus
> software.
>
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> [INVALID FOOTER]



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
[INVALID FOOTER]

Reply via email to