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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -