Well . this is fairly a simple question. Lets say i have a registration form, some user has registered and i have the details in my database.
Now i can use the same form for letting the user edit his profile. I can prefill the textboxes by giving the following example
<input type="text" value="<%= some_userbean.getname() %>" />
the problem is how to make an option of <select> marked as selected. i have it value in my database. Can this be done in JSP without using javascript. My selection menu in the form is static