O'Reilly logo

Portlets in Action by Ashish Sarin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Using the portlet tag library

This chapter covers

  • Accessing portlet objects in JSPs
  • Creating portlet URLs in JSPs
  • Creating portlet-specific HTML elements

Having read the past five chapters and learned the basics of working with portlets, you may be wondering if there’s an easy way to create portlet URLs or to access portlet API objects in JSP. Well, you’re about to find out.

In previous chapters, you used JSP as the view technology for displaying portlet content. In servlet-based web applications, JSPs included or forwarded by servlets have access to certain implicit variables like request, session, and so on. You used these in the Book Catalog portlet to display user information (like the name of the logged-in user) and the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required