RE: Simple Struts "Hello World" application gets NPE in ProxyDirConte xt.cacheLoad() when adding Validator

2002-08-15 Thread Karr, David

> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 7:43 PM
> To: Struts Users Mailing List
> Subject: RE: Simple Struts "Hello World" application gets NPE in
> ProxyDirConte xt.cacheLoad() when adding Validator
> 
> The first thing I notice is that you have a global forward 
> named "main" and
> an action mapping named "main".
> 
> Did you mean to do this.  I'm not sure it would make a big 
> difference given
> order of precedence in finding actions/forwards, but you 
> might consider
> changing one to something like 'main-menu'.

Perhaps I wasn't clear, but this application was working fine in Tomcat and
JDeveloper until I added validation.  I'll change the action names,
nonetheless.  They are slightly misnamed.

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




RE: Simple Struts "Hello World" application gets NPE in ProxyDirConte xt.cacheLoad() when adding Validator

2002-08-14 Thread James Mitchell

The first thing I notice is that you have a global forward named "main" and
an action mapping named "main".

Did you mean to do this.  I'm not sure it would make a big difference given
order of precedence in finding actions/forwards, but you might consider
changing one to something like 'main-menu'.

Just my $0.02

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta



-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 7:15 PM
To: 'Struts Users Mailing List'
Subject: RE: Simple Struts "Hello World" application gets NPE in
ProxyDirConte xt.cacheLoad() when adding Validator


> -Original Message-
> From: Karr, David [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 4:12 PM
> To: '[EMAIL PROTECTED]'
> Subject: Simple Struts "Hello World" application gets NPE in
> ProxyDirConte xt.cacheLoad() when adding Validator
> Just in case, I'll attach my struts-config.xml and
> validation.xml files.
Sheesh. MCShield is paranoid about XML attachments.  Hopefully it will
accept a zip attachment.



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




RE: Simple Struts "Hello World" application gets NPE in ProxyDirConte xt.cacheLoad() when adding Validator

2002-08-14 Thread Karr, David
Title: RE: Simple Struts "Hello World" application gets NPE in ProxyDirConte xt.cacheLoad() when adding Validator





> -Original Message-
> From: Karr, David [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 4:12 PM
> To: '[EMAIL PROTECTED]'
> Subject: Simple Struts "Hello World" application gets NPE in
> ProxyDirConte xt.cacheLoad() when adding Validator


> Just in case, I'll attach my struts-config.xml and 
> validation.xml files.


Sheesh. MCShield is paranoid about XML attachments.  Hopefully it will accept a zip attachment.


 




xmlfiles.zip
Description: Binary data

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