struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <jakartau...@yahoo.com>
Subject Re: Strange Validation Behavior
Date Tue, 04 May 2004 16:48:34 GMT
Send your mappings so that others can "trace" the path along with you, and
maybe spot a problem.

--- Nicholas L Mohler <Nicholas_L_Mohler@raytheon.com> wrote:
> 
> 
> 
> 
> Hi,
> 
> We are having a problem that occurs when a property fails a server-side
> validation.  The problem is that the value that we specify for the "input"
> tag is not correctly resolved and we end up with a blank page being
> returned, as opposed to the page that originated the error with the
> appropriate errors highlighted.
> 
> For our input tag, we specify another mapping that handles the things that
> need to happen before we can return to an editting page.  Please don't ask
> why we do it that way :-)  When I follow the code, we end up in the
> RequestProcessor.processValidate method.  When there are properties that
> fail validation and an input tag is specified, the input value is used to
> find a forward.  Because the input value points to another mapping, a
> forward is not found, and at that point, struts really has no where to go,
> so we get the blank page.
> 
> I have tested that I can create a "failed" forward, and then set the path
> to the same value as I had previously specified in the input tag, but this
> does not seem right.  I have seen examples where the input points to a .jsp
> file.  I think that is similar to what we are doing....so I am at a loss.
> 
> Does anybody have any thoughts?
> Nick
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message