This content has been marked as final. Show 5 replies
Use PortletRequestDispatcher.include method to call your servlet. It will return back to portlet class automatically.
If we use PortletRequestDispatcher.include method to call servlet (servlet_1.java), once the servlet_1.java finish it's action, can it call
another servlet (servlet_2.java) ? If it is possible, how to call another servlet ?
Can you help ?
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
Can you tell us what you are trying to do and which version of Portal Server are you using?