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)
14.90 zł
54.90 zł(-73%) -
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
(92.65 zł najniższa cena z 30 dni)101.15 zł
119.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
(101.15 zł najniższa cena z 30 dni)101.15 zł
119.00 zł(-15%) -
To dziewiąte wydanie znakomitego podręcznika programowania dla początkujących, starannie zaktualizowane i uzupełnione o informacje dotyczące Java Platform, Standard Edition 17. Książka rozpoczyna się od solidnej dawki wiedzy o kompilacji i uruchamianiu programu w Javie, słowach kluczowych i istot...(83.85 zł najniższa cena z 30 dni)
77.40 zł
129.00 zł(-40%) -
Dzięki tej książce zrozumiesz bazowe koncepcje programowania funkcyjnego i przekonasz się, że możesz włączać je do kodu bez rezygnacji z paradygmatu obiektowego. Dowiesz się również, kiedy w swojej codziennej pracy i dlaczego używać takich opcjifunkcjonalności, jak niemutowalność i funkcje czyste...
Java. Podejście funkcyjne. Rozszerzanie obiektowego kodu Javy o zasady programowania funkcyjnego Java. Podejście funkcyjne. Rozszerzanie obiektowego kodu Javy o zasady programowania funkcyjnego
(56.55 zł najniższa cena z 30 dni)52.20 zł
87.00 zł(-40%) -
Java. Podręcznik na start to pozycja idealna dla każdego, kto chce podjąć takie kroki. W przystępny sposób zaznajamia nie tylko z językiem, ale też z podstawowymi koncepcjami stosowanymi podczas programowania - w obrazowy sposób przyrównuje je do sytuacji znanych spoza świata wirtualnego. Autor n...(44.85 zł najniższa cena z 30 dni)
41.40 zł
69.00 zł(-40%) -
Build Your Own Programming Language provides a hands-on approach to designing and implementing programming language features in a simple compiler and programming environment. This book will help you create new or domain-specific languages.
Build Your Own Programming Language. A developer's comprehensive guide to crafting, compiling, and implementing programming languages - Second Edition Build Your Own Programming Language. A developer's comprehensive guide to crafting, compiling, and implementing programming languages - Second Edition
-
Java należy do najpopularniejszych języków programowania na świecie. Używana przez miliony programistów, jest na tyle uniwersalna, że znajduje zastosowanie zarówno w aplikacjach desktopowych, mobilnych, jak i serwerowych, a także w zaawansowanych systemach zarządzania bazami danych. Z jej zalet k...
Java 21. Kurs video. Od "Hello World!" do programowania obiektowego Java 21. Kurs video. Od "Hello World!" do programowania obiektowego
(39.60 zł najniższa cena z 30 dni)39.90 zł
99.00 zł(-60%) -
Oto kolejne wydanie zwięzłego podręcznika dla programistów Javy, który ma ułatwić maksymalne wykorzystanie technologii tego języka w wersji 17. Treść została skrupulatnie przejrzana i uzupełniona o materiał dotyczący nowości w obiektowym modelu Javy. Pierwsza część książki obejmuje wprowadzenie d...(57.85 zł najniższa cena z 30 dni)
53.40 zł
89.00 zł(-40%) -
Kariera zawodowa programisty jest związana z nieustanną nauką i doskonaleniem zdobytych umiejętności. Jednym z podstawowych etapów rozwoju programisty Java jest zaznajomienie się z dobrymi praktykami programistycznymi, co obejmuje także wzorce projektowe – i to im właśnie poświęcony jest te...
Wzorce projektowe w Javie. Kurs video. Programowanie efektywnych rozwiązań Wzorce projektowe w Javie. Kurs video. Programowanie efektywnych rozwiązań
(59.60 zł najniższa cena z 30 dni)39.90 zł
149.00 zł(-73%)
Ebooka "Java Servlet & JSP Cookbook" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox 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 "Java Servlet & JSP Cookbook" 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 "Java Servlet & JSP Cookbook" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
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
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(177.65 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
169.14 zł
199.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
143.65 zł
169.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(237.15 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.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.
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.
Książka drukowana
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.