This content has been marked as final.
Show 2 replies
-
1. Re: from view.jsp to view2.jsp
foongkim Jan 30, 2008 4:57 AM (in response to foongkim)dear all, i think from view.jsp to view2.jsp is through the processAction() method in the portlet.
public void processAction(ActionRequest aRequest, ActionResponse aResponse)
throws PortletException, IOException, UnavailableException
{
String sYourname = (String) aRequest.getParameter("yourname");
// do something
aResponse.setRenderParameter("yourname", sYourname);
}
But again, is it everytime processAction() will automatically call the doView() after that?? If not, where is the linkage between processAction() and doView()??
thanks -
2. Re: from view.jsp to view2.jsp
peterj Jan 30, 2008 11:03 AM (in response to foongkim)Perhaps a book on portlet programming would help. You can download a free one from http://www.manning.com/hepper/.