Posted on 2007-03-29
I have a JSP which has a bunch of output statements that creates textboxes etc.
I know it is bad design - however,it is code that I inherited.I wold like to add an option list with US selected.,but I am getting an error.
out.println("<tr><td width=\"30\">"<SELECT NAME=\"country\" id=\"country\" class=\"dataInputs\">");
out.println("<option value='us' selected='selected' ">USA");
I thik I have not closed the tags properly- can someone point me to the right place?