Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

<option> tag problem

Options
  • 30-03-2006 11:53pm
    #1
    Posts: 0


    Hi im getting an option tag problem where my getParameter()method in my servlet is getting the Label but not the value. I am using JSP

    for eg..
    <option value ="<%=nameGk%>"> <%=nameGk%> <%=value%></option>

    I am trying to match the value to that in my database and display the name and the value in the selection area for the purpose of user guideline. what i mean by that is something like "Thierry Henry 20 million" in the selection box and just "Thierry Henry" is the value which matches the one in the DB. It only seems to be matching the list value


Comments

  • Posts: 0 [Deleted User]


    Ive since fixed the problem. i just squashed the whole html statement close together and it worked.


Advertisement