title: Why does this JSP snippet break my html code?
body: <p>So i have a jsp that serves a nomination view and form depending on variables passed through spring mvc. Now the view works when the user wants to fill out a new nomination. It also works when they are viewing the nomination for review (where it is flagged as disabled) but it doesn't work a reviewer (called generalist in this case) access it. It breaks up to this point:</p>
  
  <p><img src="https://i.stack.imgur.com/6gTAf.png" alt="view"></p>
  
  <p>notice where it starts displaying html code. The code display happens in IE, but on the other browsers it doesn't yet still "breaks" because it's missing form elements on the side and bottom.</p>
  
  <p>This only happens with this snippet:</p>
  
  <pre><code>&lt;div align="center"&gt;
      &lt;c:if test="${mode==cons.GENERALIST}"&gt;
          &lt;spring:message code="common.status"/&gt;: &lt;br/&gt;
          &lt;select name="statusId"&gt;
              &lt;c:forEach items="${statusList}" var="status"&gt;
                  &lt;option value="${status.id}" &lt;c:if
                          test="${status.id==currentStatusId}"&gt; selected="selected"&lt;/c:if&gt; &gt;
                      &lt;c:if test="${lang=='es'}"&gt;${status.statusSpanish}&lt;/c:if&gt;
                      &lt;c:if test="${lang=='en'}"&gt;${status.statusEnglish}&lt;/c:if&gt;
                  &lt;/option&gt;
              &lt;/c:forEach&gt;
          &lt;/select&gt;
          &lt;br/&gt;
          &lt;br/&gt;
  
          &lt;spring:message code="common.comments"/&gt;:&lt;br/&gt;
          &lt;textarea name="generalistComment" cols="50" rows="5"&gt;${currentGeneralistComment}&lt;/textarea&gt;
          &lt;br/&gt;
          &lt;br/&gt;
          &lt;spring:message code="common.committeeScore"/&gt;:&lt;br/&gt;
          &lt;input type="text" name="committeeScore" value="${nomination.commiteeScore}"/&gt;
      &lt;/c:if&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The full JSP code is here: 
  *please note that I am using a javascript function to access the other form's inputs and this works on other nomination views so that's clearly not it
  *second note: this is part of a spring tile, so you won't find <code>html</code>, <code>head</code> or <code>body</code> tags here.</p>
  
  <pre><code>&lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
  &lt;%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %&gt;
  &lt;jsp:useBean id="cons" class="com.project.lmu.util.NominationMode" scope="application"/&gt;
  &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %&gt;
  
  &lt;script type="text/javascript"&gt;
      $(function() {
          $('.datepicker').datepicker({
              changeMonth: true,
              changeYear:  true,
              minDate:     "-50Y",
              maxDate:    new Date(),
              yearRange:  "-50",
              showOn: "button",
              buttonImage: "images/prototipo/calendar1.png",
              buttonImageOnly: true
          });
      });
  &lt;/script&gt;
  
  &lt;td id="content_inner"&gt;
  &lt;div id="content"&gt;
  
  &lt;h1&gt;&lt;spring:message code="successNomination.lable.title"/&gt;&lt;/h1&gt;
  &lt;br/&gt;
  
  &lt;c:if test="${error==true}"&gt;
  
      &lt;div class="error"&gt;
          &lt;ul&gt;
              &lt;c:forEach items="${nomination.errors}" var="message"&gt;
                  &lt;li&gt;&lt;spring:message code="${message}"/&gt;&lt;/li&gt;
              &lt;/c:forEach&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/c:if&gt;
  
  &lt;form name="f" action="successSaveNomination" method="post"&gt;
  
  &lt;c:if test="${nomination.nominationId==null}"&gt;
      &lt;input type="hidden" name="nominationId" value="0"/&gt;
  &lt;/c:if&gt;
  &lt;c:if test="${nomination.nominationId!=null}"&gt;
      &lt;input type="hidden" name="nominationId" value="${nomination.nominationId}"/&gt;
  &lt;/c:if&gt;
  
  &lt;input type="hidden" name="nomineeId" value="${nominee.id}"/&gt;
  &lt;input type="hidden" name="mode" value="${mode}"/&gt;
  
  &lt;table border="0" cellpadding="0" cellspacing="5" width="100%"&gt;
      &lt;tr&gt;
          &lt;td valign="top" width="150px"&gt;&lt;b&gt;&lt;spring:message code="successNomination.lable.subtitle1"/&gt;: &lt;/b&gt;&lt;/td&gt;
          &lt;td&gt;
              &lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
                  &lt;tr&gt;
                      &lt;td&gt;${nominee.firstName} ${nominee.middleName} ${nominee.lastName}&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;&lt;i&gt;${nominee.jobTitle} - ${nominee.department.description} - ${nominee.id}&lt;/i&gt;&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;b&gt;&lt;spring:message code="successNomination.lable.subtitle4"/&gt;: &lt;/b&gt;&lt;/td&gt;
          &lt;td&gt;
              &lt;select name="periodId"
                      &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled" &lt;/c:if&gt; &gt;
                  &lt;c:forEach items="${periods}" var="period"&gt;
                      &lt;option value="${period.id}"
                              &lt;c:if test="${period.id==nomination.periodId}"&gt;selected="selected"&lt;/c:if&gt;&gt;&amp;nbsp; &amp;nbsp;
                          &amp;nbsp; &amp;nbsp;${period.periodDescription}&lt;/option&gt;
                  &lt;/c:forEach&gt;
              &lt;/select&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  
  &lt;br/&gt;
  
  &lt;table width="100%"&gt;
  &lt;tr&gt;
      &lt;th class="green"&gt;&lt;spring:message code="successNomination.label.requirements.title1"/&gt;&lt;/th&gt;
      &lt;th width="50%" class="green"&gt;&lt;spring:message code="successNomination.label.requirements.title2"/&gt;&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td class="gborder" valign="middle"&gt;
          &lt;p&gt;&lt;spring:message code="successNomination.label.requirements1"/&gt;&lt;/p&gt;
  
          &lt;p&gt;
              &lt;spring:message code="successNomination.label.requirements2"/&gt;:
              &lt;input type="text" class="points" disabled="disabled"
                     value="&lt;fmt:formatDate type='date' pattern='MM/dd/yyyy' value='${nominee.hireDate}' /&gt;"/&gt;
          &lt;/p&gt;
      &lt;/td&gt;
      &lt;td class="gborder"&gt;
          &lt;p class="centered"&gt;
              &lt;textarea cols="40" rows="6" name="hireComments" &lt;c:if
                      test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt; disabled="disabled" &lt;/c:if&gt;&gt;${nomination.hireComments}&lt;/textarea&gt;
          &lt;/p&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td class="gborder"&gt;&lt;p&gt;&lt;spring:message code="successNomination.label.requirements3"/&gt;&lt;br/&gt;
          &lt;a href="#footnote" class="required"&gt;&lt;spring:message code="successNomination.lable.instructions1"/&gt; &lt;/a&gt;&lt;/p&gt;
  
          &lt;table&gt;
              &lt;tr style="padding:3em;"&gt;
                  &lt;td&gt;&lt;spring:message code="successNomination.label.requirements4"/&gt;:&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" class="points" name="evaluationPoints1"
                             value="${nomination.evaluationPoints1}"
                             &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt; /&gt;
                  &lt;/td&gt;
                  &lt;td&gt;&lt;spring:message code="successNomination.label.requirements5"/&gt;:&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" class="points datepicker" name="evaluationYear1"
                             value="${nomination.evaluationYear1}"
                             &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt;
                             readonly="readonly"/&gt;
                  &lt;/td&gt;
  
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;spring:message code="successNomination.label.requirements4"/&gt;:&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" class="points" name="evaluationPoints2"
                             value="${nomination.evaluationPoints2}"
                             &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt; /&gt;
                  &lt;/td&gt;
                  &lt;td&gt;&lt;spring:message code="successNomination.label.requirements5"/&gt;:&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" class="points datepicker" name="evaluationYear2"
                             value="${nomination.evaluationYear2}"
                             &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt;
                             readonly="readonly"/&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/td&gt;
      &lt;td class="gborder"&gt;
          &lt;p class="centered"&gt;
              &lt;textarea cols="40" rows="6" name="evaluationComments"
                      &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt; disabled="disabled" &lt;/c:if&gt;&gt;${nomination.evaluationComments}&lt;/textarea&gt;
          &lt;/p&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td class="gborder"&gt;&lt;p&gt;&lt;spring:message code="successNomination.label.requirements6"/&gt;&lt;/p&gt;
  
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;spring:message code="successNomination.label.requirements7"/&gt;:&lt;/td&gt;
                  &lt;td&gt;
                      &lt;input type="text" class="points datepicker" name="promotionDate1"
                             &lt;c:if test="${nomination.promotionDate1 != null}"&gt;value="${nomination.promotionDate1}"&lt;/c:if&gt;
                             &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt;
                             readonly="readonly"/&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;spring:message code="successNomination.label.requirements7"/&gt;:&lt;/td&gt;
                  &lt;td&gt;
                      &lt;input type="text" class="points datepicker" name="promotionDate2"
                             &lt;c:if test="${nomination.promotionDate2 != null}"&gt;value="${nomination.promotionDate2}"&lt;/c:if&gt;
                             &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt;
                             readonly="readonly"/&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;spring:message code="successNomination.label.requirements7"/&gt;:&lt;/td&gt;
                  &lt;td&gt;
                      &lt;input type="text" class="points datepicker" name="promotionDate3"
                             &lt;c:if test="${nomination.promotionDate3 != null}"&gt;value="${nomination.promotionDate3}"&lt;/c:if&gt;
                             &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt;
                             readonly="readonly"/&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;spring:message code="successNomination.label.requirements7"/&gt;:&lt;/td&gt;
                  &lt;td&gt;
                      &lt;input type="text" class="points datepicker" name="promotionDate4"
                             &lt;c:if test="${nomination.promotionDate4 != null}"&gt;value="${nomination.promotionDate4}"&lt;/c:if&gt;
                             &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt;
                             readonly="readonly"/&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/td&gt;
      &lt;td class="gborder"&gt;
          &lt;p class="centered"&gt;
              &lt;textarea cols="40" rows="6" name="promotionComments"
                      &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt; disabled="disabled" &lt;/c:if&gt;&gt;${nomination.promotionComments}&lt;/textarea&gt;
          &lt;/p&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td class="gborder"&gt;
          &lt;p&gt;
              &lt;spring:message code="successNomination.label.requirements8"/&gt;&lt;br/&gt;
              &lt;a href="#footnote" class="required"&gt;&lt;spring:message code="successNomination.lable.instructions1"/&gt;&lt;/a&gt;
          &lt;/p&gt;
  
          &lt;p&gt;
  
              &lt;input type="radio" name="extraContribution" value="1"
                     &lt;c:if test="${nomination.extraContribution == true}"&gt;checked="checked"&lt;/c:if&gt;
                     &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt;
                     onclick="activateContributionsField(document.f)"/&gt;
              &lt;spring:message code="successNomination.label.requirements9"/&gt; &amp;nbsp;
              &lt;input type="radio" name="extraContribution" value="0"
                     &lt;c:if test="${nomination.extraContribution == false}"&gt;checked="checked"&lt;/c:if&gt;
                     &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt;
                     onclick="activateContributionsField(document.f)"/&gt;
              &lt;spring:message code="successNomination.label.requirements10"/&gt;&lt;br/&gt;
              &lt;spring:message code="successNomination.label.requirements11"/&gt;:
              &lt;input type="text" class="points" name="extraContributionPoints"
                     value="${nomination.extraContributionPoints}"
                     &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST || nomination.extraContribution!=true}"&gt;disabled="disabled"&lt;/c:if&gt; /&gt;
          &lt;/p&gt;
      &lt;/td&gt;
      &lt;td class="gborder"&gt;
          &lt;p class="centered"&gt;
              &lt;textarea cols="40" rows="6" name="extraComments"
                      &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt; disabled="disabled" &lt;/c:if&gt;&gt;${nomination.extraComments}&lt;/textarea&gt;
          &lt;/p&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td class="gborder"&gt;
          &lt;p&gt;&lt;spring:message code="successNomination.label.requirements12"/&gt;&lt;br/&gt;
              &lt;a href="#footnote" class="required"&gt;&lt;spring:message code="successNomination.lable.instructions1"/&gt;&lt;/a&gt;
          &lt;/p&gt;
  
          &lt;p&gt;
              &lt;input type="radio" name="companyPolicy" value="1"
                     &lt;c:if test="${nomination.companyPolicy == true}"&gt;checked="checked"&lt;/c:if&gt;
                     &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt; /&gt;
              &lt;spring:message code="successNomination.label.requirements9"/&gt; &amp;nbsp;
              &lt;input type="radio" name="companyPolicy" value="0"
                     &lt;c:if test="${nomination.companyPolicy == false}"&gt;checked="checked"&lt;/c:if&gt;
                     &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt; /&gt;
              &lt;spring:message code="successNomination.label.requirements10"/&gt;
          &lt;/p&gt;
      &lt;/td&gt;
      &lt;td class="gborder"&gt;
          &lt;p class="centered"&gt;
              &lt;textarea cols="40" rows="6" name="companyPolicyComments"
                      &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt; disabled="disabled" &lt;/c:if&gt;&gt;${nomination.companyPolicyComments}&lt;/textarea&gt;
          &lt;/p&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td class="gborder"&gt;
          &lt;p&gt;
              &lt;spring:message code="successNomination.label.requirements13"/&gt;&lt;br/&gt;
              &lt;a href="#footnote" class="required"&gt;&lt;spring:message code="successNomination.lable.instructions1"/&gt;&lt;/a&gt;
          &lt;/p&gt;
  
          &lt;p&gt;
              &lt;spring:message code="successNomination.label.requirements14"/&gt;:
              &lt;input type="radio" value="1" name="evaluationAttendancePolicy1"
                     &lt;c:if test="${nomination.evaluationAttendancePolicy1 == true}"&gt;checked="checked"&lt;/c:if&gt;
                     &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt; /&gt;
              &lt;spring:message code="successNomination.label.requirements9"/&gt;
              &lt;input type="radio" value="0" name="evaluationAttendancePolicy1"
                     &lt;c:if test="${nomination.evaluationAttendancePolicy1 == false}"&gt;checked="checked"&lt;/c:if&gt;
                     &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt; /&gt;
              &lt;spring:message code="successNomination.label.requirements10"/&gt;
          &lt;/p&gt;
  
          &lt;p&gt;
              &lt;spring:message code="successNomination.label.requirements15"/&gt;:
              &lt;input type="radio" value="1" name="evaluationAttendancePolicy2"
                     &lt;c:if test="${nomination.evaluationAttendancePolicy2 == true}"&gt;checked="checked"&lt;/c:if&gt;
                     &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt; /&gt;
              &lt;spring:message code="successNomination.label.requirements9"/&gt;
              &lt;input type="radio" value="0" name="evaluationAttendancePolicy2"
                     &lt;c:if test="${nomination.evaluationAttendancePolicy2 == false}"&gt;checked="checked"&lt;/c:if&gt;
                     &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt;disabled="disabled"&lt;/c:if&gt; /&gt;
              &lt;spring:message code="successNomination.label.requirements10"/&gt;
          &lt;/p&gt;
      &lt;/td&gt;
      &lt;td class="gborder"&gt;
          &lt;p class="centered"&gt;
              &lt;textarea cols="40" rows="6" name="attendanceComments"
                      &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt; disabled="disabled" &lt;/c:if&gt;&gt;${nomination.attendanceComments}&lt;/textarea&gt;
          &lt;/p&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  
  &lt;br/&gt;
  
  &lt;p&gt;
      &lt;spring:message code="successNomination.label.requirements16"/&gt;:
  &lt;/p&gt;
  
  &lt;div align="center"&gt;
      &lt;textarea cols="50" rows="7" name="reason" &lt;c:if
              test="${mode==cons.READ_ONLY||mode==cons.GENERALIST}"&gt; disabled="disabled" &lt;/c:if&gt; &gt;${nomination.reason}&lt;/textarea&gt;
  &lt;/div&gt;
  &lt;br/&gt;
  
  &lt;div align="center"&gt;
      &lt;c:if test="${mode==cons.GENERALIST}"&gt;
          &lt;spring:message code="common.status"/&gt;: &lt;br/&gt;
          &lt;select name="statusId"&gt;
              &lt;c:forEach items="${statusList}" var="status"&gt;
                  &lt;option value="${status.id}" &lt;c:if
                          test="${status.id==currentStatusId}"&gt; selected="selected"&lt;/c:if&gt; &gt;
                      &lt;c:if test="${lang=='es'}"&gt;${status.statusSpanish}&lt;/c:if&gt;
                      &lt;c:if test="${lang=='en'}"&gt;${status.statusEnglish}&lt;/c:if&gt;
                  &lt;/option&gt;
              &lt;/c:forEach&gt;
          &lt;/select&gt;
          &lt;br/&gt;
          &lt;br/&gt;
  
          &lt;spring:message code="common.comments"/&gt;:&lt;br/&gt;
          &lt;textarea name="generalistComment" cols="50" rows="5"&gt;${currentGeneralistComment}&lt;/textarea&gt;
          &lt;br/&gt;
          &lt;br/&gt;
          &lt;spring:message code="common.committeeScore"/&gt;:&lt;br/&gt;
          &lt;input type="text" name="committeeScore" value="${nomination.commiteeScore}"/&gt;
      &lt;/c:if&gt;
  &lt;/div&gt;
  
  
  &lt;div id="bottommenu"&gt;
      &lt;c:if test="${(mode==cons.NEW||mode==cons.EDIT)}"&gt;
          &lt;input type="submit" value="&lt;spring:message code="common.send"/&gt;"/&gt;
      &lt;/c:if&gt;
      &lt;c:if test="${mode==cons.GENERALIST}"&gt;
          &lt;input type="button" value="&lt;spring:message code="common.save"/&gt;" onclick="generalistSuccessUpdate()"/&gt;
      &lt;/c:if&gt;
      &lt;c:if test="${mode==cons.NEW}"&gt;
          &lt;input type="reset" value="&lt;spring:message code="common.reset"/&gt;"&gt;
      &lt;/c:if&gt;
      &lt;c:if test="${mode==cons.EDIT}"&gt;
          &lt;script type="text/javascript"&gt;var msg = "&lt;spring:message code='nominations.confirm' javaScriptEscape='true' /&gt;";&lt;/script&gt;
          &lt;input type="button" value="&lt;spring:message code="common.delete"/&gt;" onclick="delNomination()"/&gt;
      &lt;/c:if&gt;
      &lt;c:if test="${mode==cons.READ_ONLY||mode==cons.EDIT||mode==cons.GENERALIST}"&gt;
          &lt;input type="button" value="&lt;spring:message code="common.print"/&gt;" onclick="printNomination()"/&gt;
          &lt;input type="button" value="&lt;spring:message code="common.back"/&gt;" onclick="history.back();"/&gt;
      &lt;/c:if&gt;
  &lt;/div&gt;
  
  &lt;div id="footnote"&gt;
      &lt;p&gt; * &lt;spring:message code="successNomination.lable.instructions3"/&gt;.&lt;br/&gt;
          **&lt;spring:message code="successNomination.lable.instructions4"/&gt;.&lt;/p&gt;
  &lt;/div&gt;
  
  &lt;/form&gt;
  
  &lt;form name="d" action="successDeleteNomination" method="post"&gt;
      &lt;input type="hidden" name="nominationId" value="${nomination.nominationId}"/&gt;
  &lt;/form&gt;
  
  &lt;form name="p" action="successPrint" method="post"&gt;
      &lt;input type="hidden" name="nominationId" value="${nomination.nominationId}"/&gt;
  &lt;/form&gt;
  
  &lt;form name="g" action="successGenUpdate" method="post"&gt;
      &lt;input type="hidden" name="nominationId" value="${nomination.nominationId}"/&gt;
      &lt;input type="hidden" name="statusId" value="${statusId}"/&gt;
      &lt;input type="hidden" name="generalistComment" value="${generalistComment}"/&gt;
  &lt;/form&gt;
  
  &lt;/div&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>So what exactly is breaking my html here? I know it's the snippet, but I've looked for unclosed tags without avail. </p>