Below is my View.jsp code

```
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>

<portlet:defineObjects />

<portlet:actionURL name="myAction" var="myAction"> 
</portlet:actionURL>
    <form action="${myAction}" method="POST">
        Name : <input type="text" name="name">
        <input type="button" value="SUBMIT">
    </form>

```

Below is my Portlet class code

```
package com.generic;

    import java.io.IOException;

    import javax.portlet.ActionRequest;
    import javax.portlet.ActionResponse;
    import javax.portlet.GenericPortlet;
    import javax.portlet.PortletException;
    import javax.portlet.PortletRequestDispatcher;
    import javax.portlet.RenderRequest;
    import javax.portlet.RenderResponse;

    import com.liferay.portal.kernel.log.Log;
    import com.liferay.portal.kernel.log.LogFactoryUtil;

    /**
     * Portlet implementation class FirstGenericDemo
     */
    public class FirstGenericDemo extends GenericPortlet {

        public void init() {
            viewTemplate = getInitParameter("view-template");
        }

        public void doView(RenderRequest renderRequest, RenderResponse renderResponse)throws IOException, PortletException {
            System.out.println("view");
            include(viewTemplate, renderRequest, renderResponse);
        }
        protected void include(String path, RenderRequest renderRequest,RenderResponse renderResponse)throws IOException, PortletException {
            PortletRequestDispatcher portletRequestDispatcher =
                getPortletContext().getRequestDispatcher(path);

            if (portletRequestDispatcher == null) {
                _log.error(path + " is not a valid include");
            }
            else {
                portletRequestDispatcher.include(renderRequest, renderResponse);
            }
        }

        protected String viewTemplate;

        private static Log _log = LogFactoryUtil.getLog(FirstGenericDemo.class);

        @Override
        public void processAction(ActionRequest request, ActionResponse response)
                throws PortletException, IOException {
            System.out.println("ok");
            String name=request.getParameter("name");
            System.out.println("name is : "+name);
            super.processAction(request, response);
        }

    }

```

When the portlet is rendered view method gets called but when i click on submit button neither processAction method gets called nor view method. Also these is no error in stacktrace. I did tried it by deploying several times but the issue is same. can anyone please help on this.
?