DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15292>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15292 HTML Select option not closed with ">" from a JSP Summary: HTML Select option not closed with ">" from a JSP Product: Tomcat 4 Version: 4.1.12 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi: I have a JSP that creates an HTML select as follows: <select name="<%= dataBean.formTag_passwordExpires %>" id="<%= dataBean.formTag_passwordExpires %>"> <% for(int i = 0; i<dataBean.getPasswordExpires().length; i++) { %> <option value="<%= dataBean.getPasswordExpires(i) %>"<% if (dataBean.getPasswordExpires(i).equalsIgnoreCase(dataBean.getPasswordExpire())) { %> selected <% } // end if%>><%= dataBean.getPasswordExpires(i) %></option> <% } // end for %> </select> The resultant HTML is as follows: <select name="SdsFormData_passwordExpires" id="SdsFormData_passwordExpires"> <option value="30 Days" selected 30 Days</option> <option value="Never"Never</option> <option value="60 Days"60 Days</option> <option value="90 Days"90 Days</option> <option value="180 Days"180 Days</option> </select> As you can see, the ">" is not present to close off the "<option value=" tag. Instead of being "<option value="180 Days"180 Days</option>", it should be "<option value="180 Days">180 Days</option>". The JSP code "%>><%= dataBean.getPasswordExpires(i)" appears to be mis- interpreted. The second ">" is not being added to the resultant HTML. This bug is NOT present in 4.0.6. Thanks, Jerry Lampi -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>