java - Pass parameters to url in jsp -


is right way send parameter along url in jsp page ?

 <a href="cancelrequest?userid=<%=idperson%>&userrnamee=<%=namee%>" onclick="return confirm('are sure want cancel request?');">  <input type="submit" value="cancel request"></input>  </a> 

i tried not taking namee field .please help

sample code:

<input type="button" value="adduser" class="button"  onclick="location.href='usercontroller?action=insert'"/></p>  <input type="button" value="back" class="button"  onclick="location.href='employeecategory.jsp'" /> 

Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -