Skip to content

Instantly share code, notes, and snippets.

@sandboxws
Created February 11, 2012 13:39
Show Gist options
  • Select an option

  • Save sandboxws/1799476 to your computer and use it in GitHub Desktop.

Select an option

Save sandboxws/1799476 to your computer and use it in GitHub Desktop.
HTML/JSP
<% for(Post post : PostDao.getAllPosts()) { %>
<h1>
<a href="showPost.jsp?id=<%= post.getId() %>"><%= post.getTitle() %></a>
</h1>
<% } %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment