I agree with Lincoln. h:link won’t work if you want to use it with a servlet. You should really use pretty:link for this. And pretty:link renders a HTML link exactly like h:link, so it will be OK for you to use it.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.