--- a/src/main/webapp/WEB-INF/jsp/project-form.jsp Fri May 22 17:26:27 2020 +0200 +++ b/src/main/webapp/WEB-INF/jsp/project-form.jsp Fri May 22 21:23:57 2020 +0200 @@ -43,15 +43,15 @@ <tbody> <tr> <th><fmt:message key="thead.name"/></th> - <td><input name="name" type="text" maxlength="20" required value="${project.name}"/></td> + <td><input name="name" type="text" maxlength="20" required value="<c:out value="${project.name}"/>" /></td> </tr> <tr> <th class="vtop"><fmt:message key="thead.description"/></th> - <td><input type="text" name="description" maxlength="200" value="${project.description}"/></td> + <td><input type="text" name="description" maxlength="200" value="<c:out value="${project.description}"/>" /></td> </tr> <tr> <th><fmt:message key="thead.repoUrl"/></th> - <td><input name="repoUrl" type="url" maxlength="50" value="${project.repoUrl}"/></td> + <td><input name="repoUrl" type="url" maxlength="50" value="<c:out value="${project.repoUrl}"/>" /></td> </tr> <tr> <th><fmt:message key="thead.owner"/></th> @@ -60,7 +60,7 @@ <option value="-1"><fmt:message key="placeholder.null-owner"/></option> <c:forEach var="user" items="${users}"> <option - <c:if test="${not empty project.owner and user.id eq project.owner.id}">selected</c:if> + <c:if test="${not empty project.owner and user eq project.owner}">selected</c:if> value="${user.id}"><c:out value="${user.displayname}"/></option> </c:forEach> </select>