JavaServer Pages™ , Second Edition is a book and tutorial about how to use an exciting and powerful technology, JavaServer Pages, (JSP Tutorial) to create dynamic, interactive Web sites. As the name implies, this technology is based on the Java programming language and inherits many of the language's features and benefits. Most notably, Java makes JSPs available on almost every kind of computer and operating system and certainly all those in common use.
Java Server Pages are now a mature and stable technology, already in use in thousands of companies. But maturity has certainly not led to stagnation! Recently, a new version of the JSP specification was released, bringing new capabilities and possibilities. In addition, several companion technologies have been developed to augment the fundamental specification. The new specification, as well as the most important of these associated technologies, are all covered in this book. Throughout this book, effort has been made to show the capabilities of all these tools and to discuss how they can best be used.
One of the most important features of Java Server Pages is how easy they are to use. Anyone who is reasonably comfortable with HTML (Hypertext Markup Language) can learn to write Java Server Pages by using a few simple tags that may do very sophisticated things behind the scenes, along with small packages of code called JavaBeans. This allows for a very productive working relationship between HTML experts who build pages and Java programmers who build beans and new tags.
Chapter 1 :
Gives a brief history of the Web, setting JSPs in context and clarifying what they are, how they work, and why they work that way.
Gives a brief history of the Web, setting JSPs in context and clarifying what they are, how they work, and why they work that way.
Chapter 2 :
Introduces some of the simpler features of JSPs and shows just how easy the transition from HTML to JSP. The next two chapters introduce the two vital technologies that give JSPs their enormous power and flexibility: JavaBeans in Chapter 3 and custom tags in Chapter 4. These tags are presented as page authors will use them: components that hide all the complexities of Java behind simple interfaces that can be combined and used in limitless ways.
Introduces some of the simpler features of JSPs and shows just how easy the transition from HTML to JSP. The next two chapters introduce the two vital technologies that give JSPs their enormous power and flexibility: JavaBeans in Chapter 3 and custom tags in Chapter 4. These tags are presented as page authors will use them: components that hide all the complexities of Java behind simple interfaces that can be combined and used in limitless ways.
Chapter 5 :
Uses beans and tags to build a fully functional Web site. One of the great benefits of JSPs is that they make it possible for pages to interact with complex systems. A very common such system is a database.
Chapter 6 :
Uses beans and tags to build a fully functional Web site. One of the great benefits of JSPs is that they make it possible for pages to interact with complex systems. A very common such system is a database.
Chapter 6 :
Introduces database concepts and discusses easy ways in which a page author can access data.
Chapter 7 :
Uses this information to expand the utility of the site built in Chapter 5. XML (Extensible Markup Language) is an increasingly important technology, and JSPs are already well equipped to work with XML.
Chapter 8.
The first eight chapters comprise a logical first half of the book, dealing with the myriad things page authors can do with JSPs without knowing anything about Java. The remainder of the book delves under the hood to explain how all this is accomplished and how Java programmers can extend the capabilities of JSPs. For readers who are not yet familiar with Java,
Uses this information to expand the utility of the site built in Chapter 5. XML (Extensible Markup Language) is an increasingly important technology, and JSPs are already well equipped to work with XML.
Chapter 8.
The first eight chapters comprise a logical first half of the book, dealing with the myriad things page authors can do with JSPs without knowing anything about Java. The remainder of the book delves under the hood to explain how all this is accomplished and how Java programmers can extend the capabilities of JSPs. For readers who are not yet familiar with Java,
Chapter 9 :
Introduces the language.
Introduces the language.
Chapter 10 :
Overs the process of creating new beans.
Overs the process of creating new beans.
Chapter 11 :
Covers a technology, called servlets, that underlies JSPs.
Chapter 12 :
To talk about controllers, Java code that helps pieces of a Web site work together simply and cleanly.
Chapter 13 :
Discusses how to use Java to create new tags.
Chapter 14 :
Covers a few remaining advanced topics.
Readers who are not interested in programming will get the most out of this book by reading Chapters 1 through 9, which comprise a complete course on how to use JSPs, beans, tags, and related technologies to build just about any Web site imaginable.
At thatpoint, such readers may wish to learn a little Java from Chapter 9 and then proceed on through the rest of the book in order to understand better how everything works.
On the other hand, readers who already know Java but who may not be familiar with JSPs, the new features added as part of the latest specification, or related technologies will want to move quickly through Chapter 2 to get a feel for JSP syntax and then go through Chapters 3 and 4 to see how JSPs interface with Java via tags and beans.
Programmers may then wish to proceed to Chapter 10 to see how new beans are created, and from there through the second half of the book in order to understand servlets and tags.
Download JavaServer Pages™, Second Edition
Pub Date : August 15, 2003
Pages : 368
Filetype : pdf
Size : 1,226 KB
Covers a technology, called servlets, that underlies JSPs.
Chapter 12 :
To talk about controllers, Java code that helps pieces of a Web site work together simply and cleanly.
Chapter 13 :
Discusses how to use Java to create new tags.
Chapter 14 :
Covers a few remaining advanced topics.
Readers who are not interested in programming will get the most out of this book by reading Chapters 1 through 9, which comprise a complete course on how to use JSPs, beans, tags, and related technologies to build just about any Web site imaginable.
At thatpoint, such readers may wish to learn a little Java from Chapter 9 and then proceed on through the rest of the book in order to understand better how everything works.
On the other hand, readers who already know Java but who may not be familiar with JSPs, the new features added as part of the latest specification, or related technologies will want to move quickly through Chapter 2 to get a feel for JSP syntax and then go through Chapters 3 and 4 to see how JSPs interface with Java via tags and beans.
Programmers may then wish to proceed to Chapter 10 to see how new beans are created, and from there through the second half of the book in order to understand servlets and tags.
Download JavaServer Pages™, Second Edition
Pub Date : August 15, 2003
Pages : 368
Filetype : pdf
Size : 1,226 KB