Skip to Main Content
Portlets in Action
book

Portlets in Action

by Ashish Sarin
September 2011
Intermediate to advanced content levelIntermediate to advanced
640 pages
22h 55m
English
Manning Publications
Content preview from Portlets in Action

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
IBM Rational Application Developer V6 Portlet Application Development and Portal Tools

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools

Juan R. Rodriguez, Cristiano Cesario, Karla Galvan, Belen Gonzalez, George Kroner, Gianfranco Rutigliano, Ryan Wilson

Publisher Resources

ISBN: 9781935182542Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link