Radio button is not checked when Previewed(structs)

Discussions

Web tier: servlets, JSP, Web frameworks: Radio button is not checked when Previewed(structs)

  1. hi all,

    (I am using Structs)
    by using radio button tags.(html:radio) For Mr.,Miss
    i am inserting this value to database as (0,1 resp.).
    Database is updating.

    But when i want to preview the informations.
    My radio button is not checked according to
    the database value. IT shows all unchecked ones.

    Can anyone help me for this.

    Regards
    Sukhbir
  2. hi all,

    >
    > (I am using Structs)
    > by using radio button tags.(html:radio) For Mr.,Miss
    > i am inserting this value to database as (0,1 resp.).
    > Database is updating.
    >
    > But when i want to preview the informations.
    > My radio button is not checked according to
    > the database value. IT shows all unchecked ones.
    >
    > Can anyone help me for this.
    >
    > Regards
    > Sukhbir

    have u got something in the rest method of the form ? ie resetprop = "";
  3. hi
    No.
    But i tried thr. Bean , and simple html
    by using checked=true i got it.

    but thr. structs tags i have not got it.


    regards
    sukhbir