URL for post request to servlet changes
I'm using sling:resourceType = "granite/ui/components/coral/foundation/form" for creating a form. In this I've mentioned the action = "/bin/servlets/servlet-name". There is one textfield which has name = "userName". I have not mentioned any method. When I hit submit button, the GET request is sent to servlet forming the following url : http://localhost:4502/bin/servlets/ranosys-osgi-config?.%2FuserName=nikita . That means the value is passed as the parameter in the requestURL. But when I add method="post", the parameter is not passed into the URL resulting into the following link: http://localhost:4502/bin/servlets/ranosys-osgi-config which results into the null values for the servlet variables. Is there a way that the parameter can be added automatically in the URL for the POST request too?
