java - Call servlet from another servlet form tag -
i have servlet have form tag. in form tag want call servlet.
out.println("<form id=\"myform\" action='/submithome' method=\"post\">"); so when click submit button:
out.println("<input type=\"submit\" name=\"assignbutton\" value=\"assign\" /> it not calling "/submithome".
any idea why not calling?
please check html, tag proper closing? e.g
<form action="" method="post"> <input type="submit" value="submit"> </form>
Comments
Post a Comment