struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Miller" <>
Subject RE: Validation prevents Action from creating session scope object
Date Mon, 26 Jul 2004 17:49:49 GMT
Thanks for the information.
I have been trying to keep my validation in one place
Is it possible to have a page that validates through XML be entered
(and initialized) through an Action?
And if so how?

>>> 7/26/2004 12:43:17 PM >>>

> -----Original Message-----
> From: Robert Miller []
> Sent: Monday, July 26, 2004 10:36 AM
> To:
> Subject: Validation prevents Action from creating session scope

> The browser displays "Error 500: Cannot find bean list
> in any scope".  It is acting as though validation is 
> bypassing my action
> (and my initialization code) and going directly to the page.  Is
> possible? Do I have something configured wrong? I have other 

Validation happens before the action is called, so yes it is possible. 
You can control validation through the action mapping in
struts-config.xml, or you can play with the validation method on the
form bean.

> pages that
> do not rely on preexisting classes in the session and they are
> validating without problems. Thank you for your help.Robert 

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message