Displaying the selected value from the drop down in the next page.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #16
    Originally posted by ajos
    Ok hsriat it works great now, i changed the session.getAttr ibute to request.getPara meter("branch") .
    [HTML] <option value="<%=pfObj .getDescription () %>" <%=request.getP arameter("branc h").equals(pfOb j.getDescriptio n()) ? "selected" : ""%>><%=pfObj.g etDescription() %></option>[/HTML]

    and it worked great.
    Well thanks harpreet for the great support even though we had the chinese/english difference between us:), if you know what i mean(read php/jsp) you really helped me, wasnt possible without you. Thanks again. :)

    regards,

    ajos
    Yeah, it should be request.getPara meter("branch"), but I had no idea about jsp.
    But I'm glad to know you got it working finally.

    Regards,
    Harpreet.

    Comment

    Working...