Writing Your JSP

Prior to PowerBuilder 9, JSPs had to be written outside of PowerBuilder. Because of the nature of a JSP, an author could create their JSP in any visual editor such as PowerJ, Sun ONE Studio, Jcreator or JBuilder, and then add the scriptlets and expressions in the HTML view. PowerBuilder v9 now adds this capability too. Keep in mind that JSPs could just as well be coded using Notepad.

This chapter focuses on the syntax used in JSPs, including the syntax required to access EAServer components from the JSP. Keep in mind that, although this book focuses on PowerBuilder components, EAServer components can be created in a number of different languages such as Java or C++.

Syntax

The key to creating JSPs is to understand the mechanics ...

Get PowerBuilder® 9: Internet and Distributed Application Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.