Hi all, i was wondering how to handle correctly the following behaviour: if a user calls directly from the url an action that has a Jsp in his input and validate=true, i get a Nullpointerexception inside the validate().
I think that this happens because the FormBean has never been initialized with the values from the Jsp (the jsp has not been displayed). All values in the FormBean are nulls. I have added an instruction at the beginning of the validate() that checks if one of the text fields are null, the validate returns null. Is there a better way to handle this? Thanks Reinhard -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>