dynamic html handling code, parameterized handlers with content return type