Skip to content

Instantly share code, notes, and snippets.

@zznate
Created January 14, 2011 16:15
Show Gist options
  • Save zznate/779810 to your computer and use it in GitHub Desktop.
Save zznate/779810 to your computer and use it in GitHub Desktop.
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="hectortags" prefix="h" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
<head><title>Hector Column Example</title></head>
<body bgcolor="white">
<p>
<h:hectorColumn tagContextName="twissjavaTagContext" columnFamily="User" key="${param.user}" columnNames="password,user" columnValueSerializer="${h:stringSerializer()}">
${queryResult}
</h:hectorColumn>
</p>
<p>
<h:hectorMultiget tagContextName="twissjavaTagContext" columnFamily="User" keys="${paramValues.users}" columnNames="password,user" columnValueSerializer="${h:stringSerializer()}">
${queryResult}
</h:hectorMultiget>
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment