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
Post a Comment