-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

prkumar,

prkumar_1234 wrote:
> 1) in jsp iam displaying values from javabean in textboxes.(i can 
> change
> these values)
> 2) when i submit with modified values , iam doing validation in 
> formbean.
> 3) When validatio fails i formbean returning to same jsp but it is
> displaying old values not modified values

I'm guessing that your action mapping looks something like this:

<action path="/edit"
        type="...">
   <forward name="success" path="/edit.jsp" />
</action>

<action path="/save"
        type="..."
        name="..."
        validate="true"
        input="/edit.do">
   <forward name="success" path="...">
</action>

Note that the 'input' attribute is set to "edit.do", which will re-run
your action and probably re-fetch the original values. You need to make
sure that your input points to the "edit.jsp" page.

If that's not the problem, then do you have code in your JSP that
fetches the original values from somewhere (like a database)? Or, do you
use actions for that kind of thing?

Hope that helps,
- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFbuOg9CaO5/Lv0PARAuBrAKCGsLR/OEPjH098CttCtlUqur/o5gCcDGkI
Fc29gGupfpPFKvYAahhUIzc=
=Gkpe
-----END PGP SIGNATURE-----

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

Reply via email to