form submission servlet
I have my form as below:
<form action="/bin/mySearchServlet" name="form" method="POST">
<input type="hidden" value="${resource.path} name="one">
<input type="submit" />
</form>
and servlet as below:
@SlingServlet(paths="/bin/mySearchServlet", methods = "POST", metatype=true)
Even though the path matches it is not hitting the servlet. Anyone know why?