This content has been marked as final. Show 5 replies
we use PortletRequestDispatcher.include method to call the servlet.
In my servlet, I have the following form information,
out.println("<form method=\"post\" action=\"http://abc
out.println("Enter value: ");
out.println("<input type=\"text\" name=\"UserName\" value=\"\"><p>");
out.println("<input type=\"submit\" value=\"Go Back Portlet\"> ");
When user click the submit button,
is the url (action="http://abc
40acce5.3a.com/portal/dt?display=Command) correct ?
if not, what url we should use (the servlet want to pass the control to portlet) ?
Can you help ?
Message was edited by:
I am developing a portlet application and i am running with the same issue.
I created the portletURL using the way PortletURL url=RenderResonse.createActionURL();
in the portlet page and i set this as a RenderRequest attribute and retrieved it in the servlet as HttpServletRequest attribute, but from there i don't know how to go about.
I dont know how to call the second servlet. Can some one help me in this