The following article describes what you need to know to create a view in your portlet.
Creating the view files is easy. Just create a new JSP file in the directory web/WEB-INF/portlet-jsp.
Creating the content of the JSP file is the challenge. To create content, you should be familiar with the following technologies:
If you are building sophisticated portlets with dynamic content, you should be familiar with: