I am trying to setup a HTML form (Actually .jsp
in the context of a Spring-MVC Application).
Assuming I am at the URL:
example.com/first/second
and I want to call an action to
example.com/post
What should the Action look like?
I expected this to work:
<form:form method="post" action="../post">
But this doesn't work.
Relative path to post
in the parent directory: ... action="../post"
Relative path to post
in the root directory: ... action="/post"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With