Odhlašování pomocí servletu.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
3 xmlns:c="http://java.sun.com/jsp/jstl/core"
4 xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
5 xmlns:fn="http://java.sun.com/jsp/jstl/functions"
6 xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
10 <p class="informacniHlaska"><fmt:message key="komentare.nahledOdeslano"/>:</p>
11 <!-- XHTML je už zkontrolované: -->
12 ${requestScope['komentar'].komentar}
13 <script type="text/javascript">
14 $("#formularKomentuj form").get(0).reset();