Opis ebooka: Java Servlet & JSP Cookbook
With literally hundreds of examples and thousands of lines of code, the Java Servlet and JSP Cookbook yields tips and techniques that any Java web developer who uses JavaServer Pages or servlets will use every day, along with full-fledged solutions to significant web application development problems that developers can insert directly into their own applications.Java Servlet and JSP Cookbook presents real-world problems, and provides concise, practical solutions to each. Finding even one tested code "recipe" that solves a gnarly problem in this comprehensive collection of solutions and best practices will save hours of frustration--easily justifying the cost of this invaluable book.But "Java Servlet and JSP Cookbook" is more than just a wealth of cut-and-paste code. It also offers clear explanations of how and why the code works, warns of potential pitfalls, and directs you to sources of additional information, so you can learn to adapt the problem-solving techniques to similar situations.These recipes include vital topics like the use of Ant to setup a build environment, extensive coverage of the WAR file format and web.xml deployment descriptor, file-uploading, error-handling, cookies, logging, dealing with non-HTML content, multimedia, request filtering, web services, I18N, web services, and a host of other topics that frustrate even the most seasoned developers.For Java web developers of all levels who are eager to put into practice the theory presented in other API-focused books, the solutions presented in this practical book will prove invaluable over and over again. This is painless way for less experienced developers who prefer to learn by doing to expand their skills and productivity, while accomplishing practical solutions to the pressing problems they face every day. More experienced developers can use these recipes to solve time-consuming problems quickly, freeing up their time for the more creative aspects of their work.
Wybrane bestsellery
-
W książce "80 sposobów na Ajax" znajdziesz przykłady zastosowania tej techniki w tworzeniu interesujących i nieszablonowych witryn WWW. Czytając ją, dowiesz się, jak sprawić, aby witryny WWW były bardziej interaktywne, a aplikacje WWW działały dokładnie tak jak aplikacje desktopowe.(27.45 zł najniższa cena z 30 dni)
30.20 zł
54.90 zł(-45%) -
Ajax, the popular term for Asynchronous JavaScript and XML, is one of the most important combinations of technologies for web developers to know these days. With its rich grouping of technologies, Ajax developers can create interactive web applications with XML-based web services, using JavaScrip...
Ajax Hacks. Tips & Tools for Creating Responsive Web Sites Ajax Hacks. Tips & Tools for Creating Responsive Web Sites
(109.65 zł najniższa cena z 30 dni)109.65 zł
129.00 zł(-15%) -
AppleScript in a Nutshell is the first complete reference to AppleScript, the popular programming language that gives both power users and sophisticated enterprise customers the important ability to automate repetitive tasks and customize applications. As the Macintosh continues to expand and...
AppleScript in a Nutshell. A Desktop Quick Reference AppleScript in a Nutshell. A Desktop Quick Reference
(109.65 zł najniższa cena z 30 dni)118.15 zł
139.00 zł(-15%) -
Ta książka jest kolejnym, zaktualizowanym i uzupełnionym wydaniem kultowego podręcznika dla profesjonalnych programistów Javy. To pierwszy tom, w którym opisano podstawy języka i najważniejsze zagadnienia związane z programowaniem interfejsu użytkownika, a także kolekcje, wyrażenia lambda, techni...(70.95 zł najniższa cena z 30 dni)
83.85 zł
129.00 zł(-35%) -
What will you learn from this book?Head First Java is a complete learning experience in Java and object-oriented programming. With this book, you'll learn the Java language with a unique method that goes beyond how-to manuals and helps you become a great programmer. Through puzzles, mysteries, an...(237.15 zł najniższa cena z 30 dni)
237.15 zł
279.00 zł(-15%) -
W tej książce opisano wiele funkcjonalności, narzędzi i procedur, dzięki którym można poprawić efektywność kodu napisanego w Javie 8 i 11 LTS. Główny nacisk położono na zagadnienia istotne dla środowisk produkcyjnych, ale przedstawiono również ciekawe nowe technologie, takie jak kompilacja z wypr...
Wydajność Javy. Szczegółowe porady dotyczące programowania i strojenia aplikacji w Javie. Wydanie II Wydajność Javy. Szczegółowe porady dotyczące programowania i strojenia aplikacji w Javie. Wydanie II
(47.40 zł najniższa cena z 30 dni)51.35 zł
79.00 zł(-35%) -
To książka przeznaczona dla programistów, którzy chcą tworzyć aplikacje biznesowe z użyciem wzorców projektowych, wzorców biznesowych i najlepszych praktyk. Zawiera wyjaśnienie podstawowych koncepcji Javy EE 8, opis jej warstw oraz omówienie najlepszych praktyk tworzenia aplikacji biznesowych. Pr...(34.20 zł najniższa cena z 30 dni)
37.05 zł
57.00 zł(-35%) -
Język Java jest konsekwentnie udoskonalany i unowocześniany dzięki zaangażowaniu wielu ludzi. Nowoczesny język Java staje się coraz bardziej wieloparadygmatowy, co oznacza, że stosowanie najlepszych praktyk w coraz większym stopniu determinuje jakość kodu. Obecnie napisanie kodu, który prawidłowo...(59.40 zł najniższa cena z 30 dni)
64.35 zł
99.00 zł(-35%) -
Książka, którą trzymasz w dłoni, stanowi przegląd praktyk BDD na wszystkich poziomach procesu rozwoju oprogramowania. Znajdziesz w niej informacje na temat odkrywania i określania wysokopoziomowych wymagań, implementacji funkcji aplikacji oraz pisania automatycznych testów akceptacyjnych i jednos...
BDD w działaniu. Sterowanie zachowaniem w rozwoju aplikacji BDD w działaniu. Sterowanie zachowaniem w rozwoju aplikacji
(38.50 zł najniższa cena z 30 dni)42.35 zł
77.00 zł(-45%) -
Dzięki Java. Kurs video nauczysz się programować także aplikacje rozrywkowe i gry według własnego uznania. Nasz ekspert wprowadzi Cię w najważniejsze zasady programowania oraz poruszania się na platformie Eclipse. Dowiesz się, czym jest polimorfizm i jak stosować operacje wejścia-wyjścia. Kolejne...
Java. Kurs video. Poziom pierwszy. Podstawy tworzenia aplikacji Java. Kurs video. Poziom pierwszy. Podstawy tworzenia aplikacji
(24.50 zł najniższa cena z 30 dni)31.05 zł
69.00 zł(-55%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły ebooka
- ISBN Ebooka:
- 978-05-965-5238-1, 9780596552381
- Data wydania ebooka:
-
2004-01-21
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 3.2MB
- Rozmiar pliku Mobi:
- 3.2MB
Spis treści ebooka
- Java Servlet & JSP Cookbook
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Preface
- Whats in the Book
- BEA WebLogic Recipes
- Whats in the Book
- Audience
- What You Need to Know
- Organization
- Conventions Used in This Book
- Using Code Examples
- Comments and Questions
- Acknowledgments
- 1. Writing Servlets and JSPs
- Introduction
- 1.1. Writing a Servlet
- Problem
- Solution
- Discussion
- See Also
- 1.2. Writing a JSP
- Problem
- Solution
- Discussion
- See Also
- 1.3. Compiling a Servlet
- Problem
- Solution
- Discussion
- See Also
- 1.4. Packaging Servlets and JSPs
- Problem
- Solution
- Discussion
- See Also
- 1.5. Creating the Deployment Descriptor
- Problem
- Solution
- Discussion
- See Also
- 2. Deploying Servlets and JSPs
- Introduction
- 2.1. Deploying an Individual Servlet on Tomcat
- Problem
- Solution
- Discussion
- See Also
- 2.2. Using a Context Element in Tomcat'sserver.xml
- Problem
- Solution
- Discussion
- See Also
- 2.3. Deploying an Individual Servlet on WebLogic
- Problem
- Solution
- Discussion
- See Also
- 2.4. Deploying an Individual JSP on Tomcat
- Problem
- Solution
- Discussion
- See Also
- 2.5. Deploying an Individual JSP on WebLogic
- Problem
- Solution
- Discussion
- See Also
- 2.6. Deploying a Web Application on Tomcat
- Problem
- Solution
- Discussion
- Using Ant for deployment
- See Also
- 2.7. Deploying a Web Application on WebLogic Using Ant
- Problem
- Solution
- Discussion
- See Also
- 2.8. Using the WebLogic Administration Console
- Problem
- Solution
- Discussion
- See Also
- 2.9. Using WebLogic Builder to Deploy a Web Application
- Problem
- Solution
- Discussion
- See Also
- 2.10. Using the weblogic.DeployerCommand-Line Tool
- Problem
- Solution
- Discussion
- See Also
- 3. Naming Your Servlets
- Introduction
- 3.1. Mapping a Servlet to a Name in web.xml
- Problem
- Solution
- Discussion
- See Also
- 3.2. Creating More Than One Mapping to a Servlet
- Problem
- Solution
- Discussion
- See Also
- 3.3. Creating a JSP-Type URL for a Servlet
- Problem
- Solution
- Discussion
- See Also
- 3.4. Mapping Static Content to a Servlet
- Problem
- Solution
- Discussion
- See Also
- 3.5. Invoking a Servlet Without a web.xml Mapping
- Problem
- Solution
- Discussion
- See Also
- 3.6. Mapping All Requests Within a Web Application to a Servlet
- Problem
- Solution
- Discussion
- See Also
- 3.7. Mapping Requests to a Controller and Preserving Servlet Mappings
- Problem
- Solution
- Discussion
- See Also
- 3.8. Creating Welcome Files for a Web Application
- Problem
- Solution
- Discussion
- See Also
- 3.9. Restricting Requests for Certain Servlets
- Problem
- Solution
- Discussion
- See Also
- 3.10. Giving Only the Controller Access to Certain Servlets
- Problem
- Solution
- Discussion
- See Also
- 4. Using Apache Ant
- Introduction
- 4.1. Obtaining and Setting Up Ant
- Problem
- Solution
- Discussion
- See Also
- 4.2. Using Ant Targets
- Problem
- Solution
- Discussion
- See Also
- 4.3. Including Tomcat JAR files in the Build File Classpath
- Problem
- Solution
- Discussion
- See Also
- 4.4. Compiling a Servlet with an Ant Build File
- Problem
- Solution
- Discussion
- Using the command line to declare the target servlet
- See Also
- 4.5. Creating a WAR File with Ant
- Problem
- Solution
- Discussion
- See Also
- 4.6. Creating a JAR File with Ant
- Problem
- Solution
- Discussion
- Manifest
- See Also
- 4.7. Starting a Tomcat Application with Ant
- Problem
- Solution
- Discussion
- See Also
- 4.8. Stopping a Tomcat Application with Ant
- Problem
- Solution
- Discussion
- See Also
- 5. Altering the Format of JSPs
- Introduction
- Precompiling JSPs
- JSPs as XML Documents
- Introduction
- 5.1. Precompiling a JSP in Tomcat
- Problem
- Solution
- Discussion
- See Also
- 5.2. Precompiling a JSP in WebLogic
- Problem
- Solution
- Discussion
- See Also
- 5.3. Precompiling JSPs with the Precompilation Protocol
- Problem
- Solution
- Discussion
- See Also
- 5.4. Mapping a JSP to Its Page Implementation Class
- Problem
- Solution
- Discussion
- See Also
- 5.5. Creating a JSP from Scratch as a JSP Document
- Problem
- Solution
- Discussion
- See Also
- 5.6. Generating an XML View from a JSP
- Problem
- Solution
- Discussion
- See Also
- 6. Dynamically Including Content in Servlets and JSPs
- Introduction
- 6.1. Including a Resource Each Time a Servlet Handles a Request
- Problem
- Solution
- Discussion
- See Also
- 6.2. Using an External Configuration to Include a Resource in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 6.3. Including Resources Nested at Multiple Levels in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 6.4. Including a Resource that Seldom Changes into a JSP
- Problem
- Solution
- Discussion
- See Also
- 6.5. Including Content in a JSP Each Time the JSP Handles a Request
- Problem
- Solution
- Discussion
- See Also
- 6.6. Using an External Configuration File to Include a Resource in a JSP
- Problem
- Solution
- Discussion
- See Also
- 6.7. Including an XML Fragment in a JSP Document
- Problem
- Solution
- Discussion
- See Also
- 6.8. Including Content from Outside a Context in a JSP
- Problem
- Solution
- Discussion
- See Also
- 7. Handling Web Form Data in Servlets and JSPs
- Introduction
- 7.1. Handling a POST HTTP Request in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 7.2. Handling a POST HTTP Request in a JSP
- Problem
- Solution
- Discussion
- See Also
- 7.3. Setting the Properties of a JavaBean in a JSP
- Problem
- Solution
- Discussion
- See Also
- 7.4. Setting a Scoped Attribute in a JSP to the Value of a Form Parameter
- Problem
- Solution
- Discussion
- See Also
- 7.5. Posting Data from a Servlet
- Problem
- Solution
- Discussion
- See Also
- 7.6. Posting Data from a JSP
- Problem
- Solution
- Discussion
- See Also
- 7.7. Using a Servlet to Add a Parameter to a Query String
- Problem
- Solution
- Discussion
- See Also
- 7.8. Using a JSP to Add a Parameter to a Query String
- Problem
- Solution
- Discussion
- See Also
- 7.9. Using a Filter to Read Parameter Values
- Problem
- Solution
- Discussion
- See Also
- 8. Uploading Files
- Introduction
- 8.1. Preparing the HTML Page for File Uploads
- Problem
- Solution
- Discussion
- See Also
- 8.2. Using the com.oreilly.servlet Library
- Problem
- Solution
- Discussion
- See Also
- 8.3. Uploading One File at a Time
- Problem
- Solution
- Discussion
- See Also
- 8.4. Uploading Multiple Files
- Problem
- Solution
- Discussion
- See Also
- 8.5. Renaming Files
- Problem
- Solution
- Discussion
- See Also
- 8.6. Using a JSP to Handle a File Upload
- Problem
- Solution
- Discussion
- See Also
- 9. Handling Exceptions in Web Applications
- Introduction
- 9.1. Declaring Exception Handlers in web.xml
- Problem
- Solution
- Discussion
- See Also
- 9.2. Creating an Exception-Handling Servlet
- Problem
- Solution
- Discussion
- See Also
- 9.3. Sending an Error from a Servlet
- Problem
- Solution
- Discussion
- See Also
- 9.4. Sending an Error from a JSP
- Problem
- Solution
- Discussion
- See Also
- 9.5. Creating an Error-Handling JSP
- Problem
- Solution
- Discussion
- See Also
- 9.6. Declaring a Special Exception-Handling JSP for Other JSPs
- Problem
- Solution
- Discussion
- See Also
- 10. Reading and Setting Cookies
- Introduction
- 10.1. Setting a Cookie with a Servlet
- Problem
- Solution
- Discussion
- See Also
- 10.2. Creating an Array from All of the Request's Cookies
- Problem
- Solution
- Discussion
- See Also
- 10.3. Setting a Cookie with a JSP
- Problem
- Solution
- Discussion
- See Also
- 10.4. Reading Cookie Values with a Servlet
- Problem
- Solution
- Discussion
- See Also
- 10.5. Reading Cookie Values with a JSP
- Problem
- Solution
- Discussion
- See Also
- 10.6. Altering or Removing a Cookie That Has Already Been Set
- Problem
- Solution
- Discussion
- Deleting a Cookie
- See Also
- 11. Session Tracking
- Introduction
- Disabled Cookies
- Introduction
- 11.1. Setting the Session Timeout in web.xml
- Problem
- Solution
- Discussion
- See Also
- 11.2. Setting the Session Timeout in All Tomcat Web Applications
- Problem
- Solution
- Discussion
- See Also
- 11.3. Setting the Session Timeout Programmatically
- Problem
- Solution
- Discussion
- See Also
- 11.4. Checking if a Session Exists in an HttpServletRequest
- Problem
- Solution
- Discussion
- See Also
- 11.5. Tracking Session Activity in Servlets
- Problem
- Solution
- Discussion
- See Also
- 11.6. Tracking Session Activity in JSPs
- Problem
- Solution
- Discussion
- See Also
- 11.7. Using URL Rewriting in a JSP
- Problem
- Solution
- Discussion
- See Also
- 11.8. Using URL Rewriting in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 11.9. Using a Listener to Track the Session Lifecycle
- Problem
- Solution
- Discussion
- See Also
- 11.10. Using a Listener to Monitor Session Attributes
- Problem
- Solution
- Discussion
- See Also
- 11.11. Using a Filter to Monitor Session Attributes
- Problem
- Solution
- Discussion
- See Also
- 12. Integrating JavaScript with Servlets and JSPs
- Introduction
- 12.1. Including JavaScript Modules in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 12.2. Including JavaScript Modules in a JSP
- Problem
- Solution
- Discussion
- See Also
- 12.3. Creating a New Window with JavaScript in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 12.4. Creating a New Window with JavaScript in a JSP
- Problem
- Solution
- Discussion
- See Also
- 12.5. Using JavaScript to Validate Form Values in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 12.6. Using JavaScript to Validate Form Values in a JSP
- Problem
- Solution
- Discussion
- See Also
- 13. Sending Non-HTML Content
- Introduction
- 13.1. Sending a PDF File
- Problem
- Solution
- Discussion
- See Also
- 13.2. Sending a Word Processing File
- Problem
- Solution
- Discussion
- See Also
- 13.3. Sending an XML file
- Problem
- Solution
- Discussion
- See Also
- 13.4. Sending an Audio File
- Problem
- Solution
- Discussion
- See Also
- 13.5. Viewing Internal Resources in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 14. Logging Messages from Servlets and JSPs
- Introduction
- Loggers
- Appenders
- Layouts
- Introduction
- 14.1. Logging Without Log4j
- Problem
- Solution
- Discussion
- See Also
- 14.2. Setting Up Log4j
- Problem
- Solution
- Discussion
- See Also
- 14.3. Using a Logger Without a Configuration File
- Problem
- Solution
- Discussion
- See Also
- 14.4. Adding an Appender to the Root Logger
- Problem
- Solution
- Discussion
- See Also
- 14.5. Using a Pattern with a Logger's Appender
- Problem
- Solution
- Discussion
- See Also
- 14.6. Using log4j in a JSP
- Problem
- Solution
- Discussion
- See Also
- 14.7. Logging Messages Using a Servlet Context Event Listener
- Problem
- Solution
- Discussion
- See Also
- 14.8. Logging Messages Using a Session Event Listener
- Problem
- Solution
- Discussion
- See Also
- 15. Authenticating Clients
- Introduction
- 15.1. Creating Users and Passwords with Tomcat
- Problem
- Solution
- Discussion
- See Also
- 15.2. Setting Up SSL on Tomcat
- Problem
- Solution
- Discussion
- See Also
- 15.3. Using BASIC Authentication
- Problem
- Solution
- Discussion
- See Also
- 15.4. Using Form-Based Authentication
- Problem
- Solution
- Discussion
- See Also
- 15.5. Logging Out a User
- Problem
- Solution
- Discussion
- See Also
- 15.6. Using JAAS to Create a LoginModule
- Problem
- Solution
- Discussion
- See Also
- 15.7. Creating the JAAS Configuration File
- Problem
- Solution
- Discussion
- See Also
- 15.8. Using JAAS in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 15.9. Using JAAS in a JSP
- Problem
- Solution
- Discussion
- See Also
- 16. Binding, Accessing, and Removing Attributes in Web Applications
- Introduction
- 16.1. Setting ServletContext Attributes in Servlets
- Problem
- Solution
- Discussion
- See Also
- 16.2. Setting ServletContext Attributes in JSPs
- Problem
- Solution
- Discussion
- See Also
- 16.3. Accessing or Removing ServletContext Attributes in Servlets
- Problem
- Solution
- Discussion
- See Also
- 16.4. Accessing or Removing ServletContext Attributes in JSPs
- Problem
- Solution
- Discussion
- See Also
- 16.5. Setting Session Attributes in Servlets
- Problem
- Solution
- Discussion
- See Also
- 16.6. Setting Session Attributes in JSPs
- Problem
- Solution
- Discussion
- See Also
- 16.7. Accessing or Removing Session Attributes in Servlets
- Problem
- Solution
- Discussion
- Removing the session attribute from a servlet
- See Also
- 16.8. Accessing or Removing Session Attributes in JSPs
- Problem
- Solution
- Discussion
- See Also
- 16.9. Setting Request Attributes in Servlets
- Problem
- Solution
- Discussion
- See Also
- 16.10. Setting Request Attributes in JSPs
- Problem
- Solution
- Discussion
- See Also
- 16.11. Accessing or Removing Request Attributes in Servlets
- Problem
- Solution
- Discussion
- See Also
- 16.12. Accessing or Removing Request Attributes in JSPs
- Problem
- Solution
- Discussion
- See Also
- 17. Embedding Multimedia in JSPs
- Introduction
- 17.1. Embedding an Applet in a JSPUsing jsp:plugin
- Problem
- Solution
- Discussion
- See Also
- 17.2. Embedding an Applet in a JSP Using the HTML Converter
- Problem
- Solution
- Discussion
- See Also
- 17.3. Automatically Creating HTML Template for Including Flash Files
- Problem
- Solution
- Discussion
- See Also
- 17.4. Writing HTML Template to Embed a Flash File
- Problem
- Solution
- Discussion
- See Also
- 17.5. Embedding Flash in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 17.6. Embedding a QuickTime Movie in a JSP
- Problem
- Solution
- Discussion
- See Also
- 17.7. Embedding an SVG File in a JSP
- Problem
- Solution
- Discussion
- See Also
- 17.8. Embedding a Background Soundtrack in a JSP
- Problem
- Solution
- Discussion
- See Also
- 18. Working With the Client Request
- Introduction
- 18.1. Examining HTTP Request Headers in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 18.2. Examining HTTP Request Headers in a JSP
- Problem
- Solution
- Discussion
- See Also
- 18.3. Using a Filter to Alter Request Headers
- Problem
- Solution
- Discussion
- See Also
- 18.4. Automatically Refreshing a Servlet
- Problem
- Solution
- Discussion
- See Also
- 18.5. Automatically Refreshing a JSP
- Problem
- Solution
- Discussion
- See Also
- 18.6. Counting the Number of Web Application Requests
- Problem
- Solution
- Discussion
- See Also
- 19. Filtering Requests and Responses
- Introduction
- 19.1. Mapping a Filter to a Servlet
- Problem
- Solution
- Discussion
- See Also
- 19.2. Mapping a Filter to a JSP
- Problem
- Solution
- Discussion
- See Also
- 19.3. Mapping More Than One Filter to a Servlet
- Problem
- Solution
- Discussion
- See Also
- 19.4. Changing the Order in Which Filters are Applied to Servlets
- Problem
- Solution
- Discussion
- See Also
- 19.5. Configuring Initialization Parameters for a Filter
- Problem
- Solution
- Discussion
- See Also
- 19.6. Optionally Blocking a Request with a Filter
- Problem
- Solution
- Discussion
- See Also
- 19.7. Filtering the HTTP Response
- Problem
- Solution
- Discussion
- See Also
- 19.8. Using Filters with RequestDispatcher Objects
- Problem
- Solution
- Discussion
- See Also
- 19.9. Checking Form Parameters with a Filter
- Problem
- Solution
- Discussion
- See Also
- 19.10. Blocking IP Addresses with a Filter
- Problem
- Solution
- Discussion
- See Also
- 20. Managing Email in Servlets and JSPs
- Introduction
- 20.1. Placing the Email-Related Classes on your Classpath
- Problem
- Solution
- Discussion
- See Also
- 20.2. Sending Email from a Servlet
- Problem
- Solution
- Discussion
- See Also
- 20.3. Sending Email from a Servlet Using a JavaBean
- Problem
- Solution
- Discussion
- See Also
- 20.4. Accessing Email from a Servlet
- Problem
- Solution
- Discussion
- See Also
- 20.5. Accessing Email from a Servlet Using a JavaBean
- Problem
- Solution
- Discussion
- See Also
- 20.6. Handling Attachments from an Email Received in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 20.7. Adding Attachments to an Email in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 20.8. Reading a Received Email's Headers from a Servlet
- Problem
- Solution
- Discussion
- See Also
- 21. Accessing Databases
- Introduction
- 21.1. Accessing a Database from a Servlet Without DataSource
- Problem
- Solution
- Discussion
- See Also
- 21.2. Configuring a DataSource in Tomcat
- Problem
- Solution
- Discussion
- See Also
- 21.3. Using a DataSource in a Servlet with Tomcat
- Problem
- Solution
- Discussion
- See Also
- 21.4. Creating a DataSource on WebLogic
- Problem
- Solution
- Discussion
- See Also
- 21.5. Using a JNDI Lookup to get a DataSource from WebLogic
- Problem
- Solution
- Discussion
- See Also
- 21.6. Using a DataSource from WebLogic in a JSP
- Problem
- Solution
- Discussion
- See Also
- 21.7. Calling a Stored Procedure from a Servlet
- Problem
- Solution
- Discussion
- See Also
- 21.8. Calling a Stored Procedure from a JSP
- Problem
- Solution
- Discussion
- See Also
- 21.9. Converting a ResultSet to a Result Object
- Problem
- Solution
- Discussion
- See Also
- 21.10. Executing Several SQL Statements Within a Single Transaction
- Problem
- Solution
- Discussion
- See Also
- 21.11. Using Transactions with JSPs
- Problem
- Solution
- Discussion
- See Also
- 21.12. Finding Information about a ResultSet
- Problem
- Solution
- Discussion
- See Also
- 22. Using Custom Tag Libraries
- Introduction
- 22.1. Creating a Classic Tag Handler
- Problem
- Solution
- Discussion
- See Also
- 22.2. Creating a JSP 1.2 TLD for a Classic Tag Handler
- Problem
- Solution
- Discussion
- See Also
- 22.3. Creating a JSP 2.0 TLD for a Classic Tag Handler
- Problem
- Solution
- Discussion
- See Also
- 22.4. Packaging a Tag Library in a Web Application
- Problem
- Solution
- Discussion
- See Also
- 22.5. Packaging the Tag Library in a JAR File
- Problem
- Solution
- Discussion
- See Also
- 22.6. Using the Custom Tag in a JSP
- Problem
- Solution
- Discussion
- See Also
- 22.7. Handling Exceptions in a Custom Tag Class
- Problem
- Solution
- Discussion
- See Also
- 22.8. Creating a Simple Tag Handler
- Problem
- Solution
- Discussion
- See Also
- 22.9. Creating a TLD for a Simple Tag Handler
- Problem
- Solution
- Discussion
- See Also
- 22.10. Using a Simple Tag Handler in a JSP
- Problem
- Solution
- Discussion
- See Also
- 22.11. Creating a JSP Tag File
- Problem
- Solution
- Discussion
- See Also
- 22.12. Packaging the JSP Tag File in a Web Application
- Problem
- Solution
- Discussion
- See Also
- 22.13. Packaging the JSP Tag File in a JAR
- Problem
- Solution
- Discussion
- See Also
- 22.14. Using a Custom Tag Associated with a Tag File
- Problem
- Solution
- Discussion
- See Also
- 22.15. Adding a Listener Class to a Tag Library
- Problem
- Solution
- Discussion
- See Also
- 23. Using the JSTL
- Introduction
- 23.1. Downloading the JSTL 1.0 and Using the JSTL Tags in JSPs
- Problem
- Solution
- Discussion
- See Also
- 23.2. Downloading the Java Web Services Developer Pack
- Problem
- Solution
- Discussion
- See Also
- 23.3. Using the Core JSTL Tags
- Problem
- Solution
- Discussion
- See Also
- 23.4. Using the XML Core JSTL Tags
- Problem
- Solution
- Discussion
- See Also
- 23.5. Using the XML Transform Tags
- Problem
- Solution
- Discussion
- See Also
- 23.6. Using the Formatting JSTL Tags
- Problem
- Solution
- Discussion
- See Also
- 23.7. Using A SQL JSTL Tag with a DataSource Configuration
- Problem
- Solution
- Discussion
- See Also
- 23.8. Using A SQL JSTL Tag Without a DataSource Configuration
- Problem
- Solution
- Discussion
- See Also
- 23.9. Accessing Scoped Variables with the EL
- Problem
- Solution
- Discussion
- See Also
- 23.10. Accessing Request Parameters with the EL
- Problem
- Solution
- Discussion
- See Also
- 23.11. Using the EL to Access Request Headers
- Problem
- Solution
- Discussion
- See Also
- 23.12. Using the EL to Access One Request Header
- Problem
- Solution
- Discussion
- See Also
- 23.13. Accessing Cookies with the EL
- Problem
- Solution
- Discussion
- See Also
- 23.14. Using the EL to Access JavaBean Properties
- Problem
- Solution
- Discussion
- See Also
- 23.15. Using JSTL Functions
- Problem
- Solution
- Discussion
- See Also
- 24. Internationalization
- Introduction
- 24.1. Detecting the Client Locale in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 24.2. Detecting the Client's Locales in a JSP
- Problem
- Solution
- Discussion
- See Also
- 24.3. Creating a ResourceBundle as a Properties File
- Problem
- Solution
- Discussion
- See Also
- 24.4. Creating a ResourceBundle as a Java Class
- Problem
- Solution
- Discussion
- See Also
- 24.5. Using the ResourceBundle in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 24.6. Using the ResourceBundle in a JSP
- Problem
- Solution
- Discussion
- See Also
- 24.7. Formatting Dates in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 24.8. Formatting Dates in a JSP
- Problem
- Solution
- Discussion
- See Also
- 24.9. Formatting Currencies in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 24.10. Formatting Currencies in a JSP
- Problem
- Solution
- Discussion
- See Also
- 24.11. Formatting Percentages in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 24.12. Formatting Percentages in a JSP
- Problem
- Solution
- Discussion
- See Also
- 24.13. Setting the Localization Context in the Deployment Descriptor
- Problem
- Solution
- Discussion
- See Also
- 25. Using JNDI and Enterprise JavaBeans
- Introduction
- 25.1. Configuring a JNDI Object in Tomcat
- Problem
- Solution
- Discussion
- See Also
- 25.2. Accessing the Tomcat JNDI Resource from a Servlet
- Problem
- Solution
- Discussion
- See Also
- 25.3. Accessing the Tomcat JNDI Resource from a JSP
- Problem
- Solution
- Discussion
- See Also
- 25.4. Configuring a JNDI Resource in WebLogic
- Problem
- Solution
- Discussion
- See Also
- 25.5. Viewing the JNDI Tree in WebLogic
- Problem
- Solution
- Discussion
- See Also
- 25.6. Accessing the WebLogic JNDI Resource from a Servlet
- Problem
- Solution
- Discussion
- See Also
- 25.7. Accessing the WebLogic JNDI Resource from a JSP
- Problem
- Solution
- Discussion
- See Also
- 25.8. Accessing an EJB Using the WebLogic JNDI Tree
- Problem
- Solution
- Discussion
- See Also
- 26. Harvesting Web Information
- Introduction
- 26.1. Parsing an HTML Page Using thejavax.swing.text Subpackages
- Problem
- Solution
- Discussion
- See Also
- 26.2. Using a Servlet to Harvest Web Data
- Problem
- Solution
- Discussion
- See Also
- 26.3. Creating a JavaBean as a Web Page Parser
- Problem
- Solution
- Discussion
- See Also
- 26.4. Using the Web Page Parsing JavaBean in a Servlet
- Problem
- Solution
- Discussion
- See Also
- 26.5. Using the Web Page Parsing JavaBean in a JSP
- Problem
- Solution
- Discussion
- See Also
- 27. Using the Google and Amazon Web APIs
- Introduction
- 27.1. Getting Set Up with Google's Web API
- Problem
- Solution
- Discussion
- See Also
- 27.2. Creating a JavaBean to Connect with Google
- Problem
- Solution
- Discussion
- See Also
- 27.3. Using a Servlet to Connect with Google
- Problem
- Solution
- Discussion
- See Also
- 27.4. Using a JSP to Connect with Google
- Problem
- Solution
- Discussion
- See Also
- 27.5. Getting Set Up with Amazon's Web Services API
- Problem
- Solution
- Discussion
- SOAP with Apache Axis
- See Also
- 27.6. Creating a JavaBean to Connect with Amazon
- Problem
- Solution
- Discussion
- See Also
- 27.7. Using a Servlet to Connect with Amazon
- Problem
- Solution
- Discussion
- See Also
- 27.8. Using a JSP to Connect with Amazon
- Problem
- Solution
- Discussion
- See Also
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly
O'Reilly Media - inne książki
-
Combing the web is simple, but how do you search for data at work? It's difficult and time-consuming, and can sometimes seem impossible. This book introduces a practical solution: the data catalog. Data analysts, data scientists, and data engineers will learn how to create true data discovery in ...(228.65 zł najniższa cena z 30 dni)
228.65 zł
269.00 zł(-15%) -
This updated edition of the Nutshell guide not only helps experienced Java programmers get the most out of versions through Java 17, it also serves as a learning path for new developers. Chock-full of examples that demonstrate how to take complete advantage of modern Java APIs and development bes...(228.65 zł najniższa cena z 30 dni)
228.65 zł
269.00 zł(-15%) -
Get started with Ray, the open source distributed computing framework that simplifies the process of scaling compute-intensive Python workloads. With this practical book, Python programmers, data engineers, and data scientists will learn how to leverage Ray locally and spin up compute clusters. Y...(228.65 zł najniższa cena z 30 dni)
228.65 zł
269.00 zł(-15%) -
Remove your doubts about AI and explore how this technology can be future-proofed using blockchain's smart contracts and tamper-evident ledgers. With this practical book, system architects, software engineers, and systems solution specialists will learn how enterprise blockchain provides permanen...(271.15 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(271.15 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(271.15 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(194.65 zł najniższa cena z 30 dni)
194.65 zł
229.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(305.15 zł najniższa cena z 30 dni)
305.15 zł
359.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(262.65 zł najniższa cena z 30 dni)271.15 zł
319.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(271.15 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Java Servlet & JSP Cookbook Bruce W. Perry (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.