I am trying to make a very basic portlet where 1
jsp page links to another. Nothing more. I create a war file and deploy in liferay. The portlet displays fine. The problem is that the pages I try to link to can not be found. For example,
When the portlet loads, page1.jsp is displayed. It contains the code:
page1.jsp and page2.jsp are both located in the same place, the WebContent folder.
When I click on the link which I expect will load page1 in the portlet, I get the error:
The requested resource was not found:
http://xxx.xxx.x.xx/web/guest/page2.jsp
My portlet.xml file to initialize the portlet contains the code:
As page1 and page2 are both in the same directory, I am puzzled why page2 can not be found.
Perhaps there is some directory or context structure I should be specifying in the portlet.xml file?
Any help greatly appreciated.
Thanks
e