5.2.2.  JavaServer™ Pages Portlet Example

5.2.2.1. Introduction

Now we will add more features to the previous example and also use a JSP page to render the markup. We will use the portlet tag library to generate links to our portlet in different ways and use the other standard portlet modes. This example can be found in the directory jboss-epp-4.3/jboss-as/docs/portal/examples/JSPHelloUser. Use mvn package then copy JSPHelloUser/target/JSPHelloUser-0.0.1.war in the deploy directory of JBoss Application Server. Point your browser to , you should see the following:

Note

The EDIT button only appears with logged-in users, which is not the case on the screenshot