Using href, output in servlets