13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

426Chapter 19JSP: Servlets Turned Inside OutAccountOwnerValuealbingNotice how it starts off as simply the HTML building the tableopening. Then we encounter some Java source code, enclosed in delimiters(), then back to plain HTML. There’s even a line which intermixesHTML and Java:To understand what’s going <strong>on</strong> here, let’s take a look at four pieces ofsyntax that are the keys to JSP.19.3HOW TO WRITE A JSP APPLICATIONWriting a JSP applicati<strong>on</strong> c<strong>on</strong>sists, syntax-wise, of writing your desired outputpage in HTML and, where you need the dynamic bits, putting Java code and/orother special syntax inside special delimiters that begin with

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!