HELP templates  XSL templates

Chapter 8: Building Templates

JSP templates

You can create Web applications and deploy them into the portal as a portlet. Alternatively, you can use JSP files for small reusable pieces of functionality. The JSP approach requires you to create a .jsp file with embedded Java and HTML code. Servlets or other JSPs can invoke the JSP code by referring to the file.

JSP-based templates provide a way to manage JSP code across portlets. You can create templates without managing individual files in the file system.A JSP template has a name and a definition, which are saved and managed by Web Studio. Once you create a template, you can populate the template with portlets. Those portlets can be included in other portlets. When you change a template definition, those changes are applied universally to all the associated portlets of that template.





Copyright © 2004. Sybase Inc. All rights reserved. XSL templates

View this book as PDF