JavaServer Pages
O'Reilly Media (Verlag)
978-1-56592-746-9 (ISBN)
- Titel ist leider vergriffen;
keine Neuauflage - Artikel merken
JavaServer Pages (JSP) technology provides an easy way to create dynamic Web pages. JSP uses a component-based approach that allows Web developers to easily combine static HTML for look-and-feel with Java components for dynamic features. The simplicity of this component-based model, combined with the cross-platform power of Java, allows a web development environment with enormous potential. "JavaServer Pages" shows how to develop Java-based Web applications without having to be a hardcore programmer. The author provides an overview of JSP concepts and discusses how JSP fits into the larger picture of Web applications. Web page authors should benefit from the chapters on generating dynamic content, handling session information, accessing databases, authenticating users, and personalizing content. In the programming-oriented chapters, Java programmers learn how to create Java components and custom JSP tags for Web authors to use in JSP pages.
Hans Bergsten is the founder of Gefion Software, whose main product is a servlet-based component suite for developing web applications. Hans is also an active participant in the development of the JSP specification.
Preface I.. JSP Application Basics 1.. Introducing JavaServer Pages What Is JavaServer Pages? Why Use JSP? What You Need to Get Started 2.. HTTP and Servlet Basics The HTTP Request/Response Model Servlets Packaging Java Web Applications 3.. JSP Overview The Problem with Servlets The Anatomy of a JSP Page JSP Processing JSP Application Design with MVC 4.. Setting Up the JSP Environment Installing the Java Software Development Kit Installing the Tomcat Server Testing Tomcat Installing the Book Examples Example Web Application Overview II.. JSP Application Development 5.. Generating Dynamic Content What Time Is It? Input and Output 6.. Using Scripting Elements Java Primer Implicit JSP Objects Conditional Processing Displaying Values Using an Expression to Set an Attribute Declaring Variables and Methods 7.. Error Handling and Debugging Dealing with Syntax Errors Debugging a JSP-Based Application Dealing with Runtime Errors 8.. Sharing Data Between JSP Pages, Requests, and Users Passing Control and Data Between Pages Sharing Session and Application Data Using Custom Actions Online Shopping Memory Usage Considerations 9.. Database Access Accessing a Database from a JSP Page Input Validation Without a Bean Using Transactions Application-Specific Database Actions 10.. Authentication and Personalization Container-Provided Authentication Application-Controlled Authentication Other Security Concerns 11.. Internationalization How Java Supports Internationalization and Localization Generating Localized Output A Brief History of Bits Handling Localized Input 12.. Bits and Pieces Buffering Including Page Fragments XML and JSP Mixing Client-Side and Server-Side Code Precompiling JSP Pages Preventing Caching of JSP Pages How URLs Are Interpreted III.. JSP in J2EE and JSP Component Development 13.. Web Application Models The Java 2 Enterprise Edition Model The MVC Model Scalability 14.. Combining Servlets and JSP Using a Servlet as the Controller A More Modular Design Using Action Objects Sharing Data Between Servlets and JSP Pages Using a JSP Error Page for All Runtime Errors 15.. Developing JavaBeans for JSP JavaBeans as JSP Components JSP Bean Examples Unexpected Behavior 16.. Developing JSP Custom Actions Tag Extension Basics Developing a Simple Action Processing the Action Body Letting Actions Cooperate Creating New Variables Through Actions Developing an Iterating Action Creating the Tag Library Descriptor Validating Syntax How Tag Handlers May Be Reused Packaging and Installing a Tag Library 17.. Developing Database Access Components Using Connections and Connection Pools Using a Generic Database Bean Developing Generic Database Custom Actions Developing Application-Specific Database Components IV.. Appendixes A.. JSP Elements Syntax Reference B.. JSP API Reference C.. Book Example Custom Actions and Classes Reference D.. Web-Application Structure and Deployment Descriptor Reference E.. JSP Resource Reference Index
Erscheint lt. Verlag | 9.1.2001 |
---|---|
Zusatzinfo | index |
Verlagsort | Sebastopol |
Sprache | englisch |
Maße | 176 x 232 mm |
Gewicht | 890 g |
Einbandart | kartoniert |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Java |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-10 | 1-56592-746-X / 156592746X |
ISBN-13 | 978-1-56592-746-9 / 9781565927469 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich