CHAPTER 1 The big picture What is a
CHAPTER 1 The big picture What is a tag-based solution like? We ll defer specifics about custom JSP tags until chapter 3, but will mention some of the basics of this extension mechanism to afford a glimpse at its benefits. Developing with tags resembles the server pages development model with one crucial difference the development language is not a script, but is rather based on sequences of characters (usually starting with a < and ending with a > ) known as tags. A tagged server page includes the page s content (usually HTML) plus tags that can be used to add logic to the content. When the user asks for a tagged page, the server interprets the page, finds all the logic tags, and executes them along with the page content. To see an example of tag-based programming, let s look at a ColdFusion fragment (listing 1.3) which mimics the ASP code in listing 1.1. Listing 1.3 Sample ColdFusion fragment that generates dynamic content
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost JSP Web Hosting services