Introduction - If you have any usage issues, please Google them yourself
The servletjsp has some applications where the code embodies the middleware idea and is worth seeing
Packet : 41695073servletjsp.rar filelist
servletjsp\chap1\HelloServlet.java
servletjsp\chap1\_desktop.ini
servletjsp\chap2\Hello.html
servletjsp\chap2\Hello.jsp
servletjsp\chap2\HelloServlet.java
servletjsp\chap2\HelloServlet2.java
servletjsp\chap2\HelloServlet3.java
servletjsp\chap2\ServletUtilities.java
servletjsp\chap2\testApp.war
servletjsp\chap2\web.xml
servletjsp\chap2\_desktop.ini
servletjsp\chapter10\OrderConfirmation.htm
servletjsp\chapter10\_desktop.ini
servletjsp\chapter11\AccessCounts.htm
servletjsp\chapter11\BGColor.htm
servletjsp\chapter11\DayWish.htm
servletjsp\chapter11\Expressions.htm
servletjsp\chapter11\JSP-Styles.css
servletjsp\chapter11\RandomList1.htm
servletjsp\chapter11\RandomList2.htm
servletjsp\chapter11\RandomNums.htm
servletjsp\chapter11\RanUtilities.java
servletjsp\chapter11\SemiRandomNum.htm
servletjsp\chapter11\ThreeParams.htm
servletjsp\chapter11\ThreeParams.java
servletjsp\chapter11\_desktop.ini
servletjsp\chapter12\ApplesAndOranges.htm
servletjsp\chapter12\ComputeSpeed.htm
servletjsp\chapter12\CookieUtilities.java
servletjsp\chapter12\Excel.jsp
servletjsp\chapter12\ImportAttribute.htm
servletjsp\chapter12\JSP-Styles.css
servletjsp\chapter12\LongLivedCookie.java
servletjsp\chapter12\SpeedErrors.htm
servletjsp\chapter12\_desktop.ini
servletjsp\chapter13\ContactSection.jsp
servletjsp\chapter13\DrawingPanel.java
servletjsp\chapter13\Item1.htm
servletjsp\chapter13\Item2.htm
servletjsp\chapter13\Item3.htm
servletjsp\chapter13\PluginApplet.htm
servletjsp\chapter13\PluginApplet.java
servletjsp\chapter13\SomeRandomPage.htm
servletjsp\chapter13\TextPanel.java
servletjsp\chapter13\WhatsNew.htm
servletjsp\chapter13\WindowUtilities.java
servletjsp\chapter13\_desktop.ini
servletjsp\chapter14\AccessCountBean.java
servletjsp\chapter14\BakedBean.java
servletjsp\chapter14\BakedBeanDisplay-application.htm
servletjsp\chapter14\BakedBeanDisplay-page.htm
servletjsp\chapter14\BakedBeanDisplay-request.htm
servletjsp\chapter14\BakedBeanDisplay-session.htm
servletjsp\chapter14\BakedBeanDisplay-snippet.htm
servletjsp\chapter14\BakedBeanTest.java
servletjsp\chapter14\SaleEntry.java
servletjsp\chapter14\SaleEntry1-Form.htm
servletjsp\chapter14\SaleEntry1.htm
servletjsp\chapter14\SaleEntry2-Form.htm
servletjsp\chapter14\SaleEntry2.htm
servletjsp\chapter14\SaleEntry3-Form.htm
servletjsp\chapter14\SaleEntry3.htm
servletjsp\chapter14\SharedCounts1.htm
servletjsp\chapter14\SharedCounts2.htm
servletjsp\chapter14\SharedCounts3.htm
servletjsp\chapter14\StringBean.htm
servletjsp\chapter14\StringBean.java
servletjsp\chapter14\_desktop.ini
servletjsp\chapter16\bean-properties.htm
servletjsp\chapter16\BeanProperties.java
servletjsp\chapter16\collections.htm
servletjsp\chapter16\Collections.java
servletjsp\chapter16\CompanyBean.java
servletjsp\chapter16\conditionals.htm
servletjsp\chapter16\Conditionals.java
servletjsp\chapter16\EmployeeBean.java
servletjsp\chapter16\implicit-objects.htm
servletjsp\chapter16\JSP-Styles.css
servletjsp\chapter16\NameBean.java
servletjsp\chapter16\operators.htm
servletjsp\chapter16\SalesBean.java
servletjsp\chapter16\scoped-vars.htm
servletjsp\chapter16\ScopedVars.java
servletjsp\chapter16\web.xml-for-JSP-1.xml
servletjsp\chapter16\web.xml-for-JSP-2.xml
servletjsp\chapter16\_desktop.ini
servletjsp\chapter17\CallableStatements.java
servletjsp\chapter17\ConnectionInfoBean.java
servletjsp\chapter17\discount.sql
servletjsp\chapter17\DriverInfoBean.java
servletjsp\chapter17\drivers.xml
servletjsp\chapter17\DriverUtilities.java
servletjsp\chapter17\DriverUtilities2.java
servletjsp\chapter17\jdbc.war
servletjsp\chapter17\jdo.properties.txt
servletjsp\chapter17\Music.java
servletjsp\chapter17\Music.xml
servletjsp\chapter17\NorthwindForm.htm
servletjsp\chapter17\NorthwindServlet.java
servletjsp\chapter17\NorthwindTest.java
servletjsp\chapter17\PopulateMusicTable.java
servletjsp\chapter17\PreparedStatements.java
servletjsp\chapter17\TransactionBean.java
servletjsp\chapter17\Transactions.java
servletjsp\chapter17\_desktop.ini
servletjsp\chapter3\HelloServlet.java
servletjsp\chapter3\HelloServlet2.java
servletjsp\chapter3\HelloServlet3.java
servletjsp\chapter3\HelloWorld.java
servletjsp\chapter3\LotteryNumbers.java
servletjsp\chapter3\ServletTemplate.java
servletjsp\chapter3\ServletUtilities.java
servletjsp\chapter3\UserIDs.java
servletjsp\chapter3\_desktop.ini
servletjsp\chapter4\3params\ThreeParams.java
servletjsp\chapter4\3params\ThreeParamsForm.html
servletjsp\chapter4\3params\_desktop.ini
servletjsp\chapter4\BadCodeServlet.java
servletjsp\chapter4\BeanUtilities.java
servletjsp\chapter4\BidInfo.java
servletjsp\chapter4\BidServlet.java
servletjsp\chapter4\CodeForm1.htm
servletjsp\chapter4\CodeForm2.htm
servletjsp\chapter4\commons-beanutils.jar
servletjsp\chapter4\commons-collections.jar
servletjsp\chapter4\commons-logging.jar
servletjsp\chapter4\GoodCodeServlet.java
servletjsp\chapter4\InsuranceForm.htm
servletjsp\chapter4\InsuranceInfo.java
servletjsp\chapter4\ServletUtilities.java
servletjsp\chapter4\ShowParameters.java
servletjsp\chapter4\ShowParametersGetForm.htm
servletjsp\chapter4\ShowParameterspost.java
servletjsp\chapter4\ShowParametersPostForm.htm
servletjsp\chapter4\SubmitInsuranceInfo.java
servletjsp\chapter4\SubmitResume.htm
servletjsp\chapter4\SubmitResume.java
servletjsp\chapter4\ThreeParams.java
servletjsp\chapter4\_desktop.ini
servletjsp\chapter5\BrowserInsult.java
servletjsp\chapter5\CustomizeImage.java
servletjsp\chapter5\GzipUtilities.java
servletjsp\chapter5\JRun-Referer.htm
servletjsp\chapter5\LongServlet.java
servletjsp\chapter5\ShowCGIVariables.java
servletjsp\chapter5\ShowRequestHeaders.java
servletjsp\chapter5\Tomcat-Referer.htm
servletjsp\chapter5\_desktop.ini
servletjsp\chapter6\coreservlets.ShowRequestHeaders
servletjsp\chapter6\ProtectedPage.java
servletjsp\chapter6\SearchEngineForm.java
servletjsp\chapter6\SearchEngines.java
servletjsp\chapter6\SearchSpec.java
servletjsp\chapter6\SearchUtilities.java
servletjsp\chapter6\WrongDestination.java
servletjsp\chapter6\_desktop.ini
servletjsp\chapter7\ApplesAndOranges.java
servletjsp\chapter7\ImageTest.java
servletjsp\chapter7\MessageImage.java
servletjsp\chapter7\PrimeList.java
servletjsp\chapter7\PrimeNumbers.htm
servletjsp\chapter7\PrimeNumberServlet.java
servletjsp\chapter7\Primes.java
servletjsp\chapter7\ShadowedText.htm
servletjsp\chapter7\ShadowedText.java
servletjsp\chapter7\_desktop.ini
servletjsp\chapter8\CatalogPage.java
servletjsp\chapter8\ClientAccessCounts.java
servletjsp\chapter8\CookieTest.java
servletjsp\chapter8\CookieUtilities.java
servletjsp\chapter8\coreservlets.ClientAccessCounts
servletjsp\chapter8\coreservlets.CookieTest
servletjsp\chapter8\coreservlets.KidsBooksPage
servletjsp\chapter8\coreservlets.RegistrationForm
servletjsp\chapter8\coreservlets.RepeatVisitor
servletjsp\chapter8\coreservlets.RepeatVisitor2
servletjsp\chapter8\coreservlets.SearchEngineForm
servletjsp\chapter8\coreservlets.ShowSession
servletjsp\chapter8\coreservlets.TechBooksPage
servletjsp\chapter8\KidsBooksPage.java
servletjsp\chapter8\LongLivedCookie.java
servletjsp\chapter8\OrderForm.html
servletjsp\chapter8\RegistrationForm.java
servletjsp\chapter8\RegistrationServlet.java
servletjsp\chapter8\RepeatVisitor.java
servletjsp\chapter8\RepeatVisitor2.java
servletjsp\chapter8\ShowItems.java
servletjsp\chapter8\ShowSession.java
servletjsp\chapter8\wrongdestination
servletjsp\chapter8\_desktop.ini
servletjsp\chapter9\Catalog.java
servletjsp\chapter9\CatalogItem.java
servletjsp\chapter9\CatalogPage.java
servletjsp\chapter9\Checkout.htm
servletjsp\chapter9\ItemOrder.java
servletjsp\chapter9\KidsBooksPage.java
servletjsp\chapter9\OrderForm.htm
servletjsp\chapter9\OrderPage.java
servletjsp\chapter9\ShoppingCart.java
servletjsp\chapter9\ShowItems.java
servletjsp\chapter9\ShowSession.java
servletjsp\chapter9\TechBooksPage.java
servletjsp\chapter9\_desktop.ini
servletjsp\chpater15\bank-support.htm
servletjsp\chpater15\BankCustomer.java
servletjsp\chpater15\HighBalance.htm
servletjsp\chpater15\NameBean.java
servletjsp\chpater15\NegativeBalance.htm
servletjsp\chpater15\NormalBalance.htm
servletjsp\chpater15\NumberBean.java
servletjsp\chpater15\PrimeBean.java
servletjsp\chpater15\PrimeServlet.java
servletjsp\chpater15\RandomNum.htm
servletjsp\chpater15\RandomNumberServlet.java
servletjsp\chpater15\RegistrationServlet.java
servletjsp\chpater15\RequestForwardingSnippet.java
servletjsp\chpater15\ShowBalance.java
servletjsp\chpater15\ShowName.htm
servletjsp\chpater15\ShowPrime.htm
servletjsp\chpater15\UnknownCustomer.htm
servletjsp\chpater15\_desktop.ini
servletjsp\chapter4\3params
servletjsp\chap1
servletjsp\chap2
servletjsp\chapter10
servletjsp\chapter11
servletjsp\chapter12
servletjsp\chapter13
servletjsp\chapter14
servletjsp\chapter16
servletjsp\chapter17
servletjsp\chapter3
servletjsp\chapter4
servletjsp\chapter5
servletjsp\chapter6
servletjsp\chapter7
servletjsp\chapter8
servletjsp\chapter9
servletjsp\chpater15
servletjsp