Hubert,

Thanks for getting back to me.  We ended up finding the problem about an
hour ago.

It turns out that a developer had mistakenly added [inputForward="true"] to
the <controller/> section of the struts-config file.

The effect of that change is that the value for input tags are assumed to
be forwards.  When we removed the code the problem went away, so life is
good  :-)

Nick




|---------+---------------------------->
|         |           Hubert Rabago    |
|         |           <[EMAIL PROTECTED]|
|         |           o.com>           |
|         |                            |
|         |           05/04/2004 12:48 |
|         |           PM               |
|         |           Please respond to|
|         |           "Struts Users    |
|         |           Mailing List"    |
|         |                            |
|---------+---------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       Struts Users Mailing List <[EMAIL PROTECTED]>                      
                                     |
  |       cc:                                                                          
                                          |
  |       Subject:  Re: Strange Validation Behavior                                    
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




Send your mappings so that others can "trace" the path along with you, and
maybe spot a problem.

--- Nicholas L Mohler <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>





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

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






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

Reply via email to