Jeanne Boyarsky wrote:
Also, note that it is poor practice to put Java code in the HTML. Especially database code.
Mayukh Singha Roy wrote:I know, I wrote like this so that the people seeing it can understand it better..
It'd be best not to do that. Showing us the code in its real setting avoids side-tracks such as this.
Mayukh Singha Roy wrote: If help me with the solution i will be happier
Jeanne already gave you the solution:
Jeanne Boyarsky wrote:You want to include a value attribute in your options. That way, when the form gets submitted, you have something there.