O'Reilly logo

PowerBuilder® 9: Internet and Distributed Application Development by John D. Olson, Bill Green

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

The Mechanics of JavaServer Pages

A JSP begins its life as a simple text file. The JSP author will embed markup language such as HTML or XML, JavaScript or client-side VBScript, and snippets of Java code to provide the dynamic content. Each block of Java code, called a scriptlet, is surrounded by <% and %> tags.

The interface for the compiled JSP must have three methods defined:

jspInit()
jspDestroy()
_jspService(HttpServletRequest request, HttpServletResponse response)

The jspInit() and jspDestroy methods can be defined by the JSP author, while the _jspService method is the compiled version of the JSP page. The creation of the _jspService is the responsibility of the JSP engine.

The jspInit() and jspDestroy() methods are each executed just ...

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