By Marty Hall
Sensible advisor to using the Java 2 Platform for Web-enabled functions and dynamic sites. specializes in new features: the traditional JSP tag library, filters, life-cycle occasion listeners, declarative and programmatic protection, internet functions, and masses extra. Softcover
Read or Download More Servlets and JavaServer Pages PDF
Similar java books
The ebook is a pragmatic advisor explaining many of the good points of the NetBeans IDE with regards to company program improvement. The booklet is aimed toward Java builders who desire to strengthen Java EE functions whereas profiting from NetBeans performance to automate repetitive initiatives and to ease their software program improvement efforts.
Even though it isn't really an exceptional e-book nor it will likely be the bible of not anything, the booklet is kind of transparent. i admire much how to clarify transaction techniques and the several strategies.
It is an effective e-book.
This can be a cookbook jam-packed with recipes with the basic code defined truly and comprehensively. each one bankruptcy is well compartmentalized with centred recipes that are completely prepared for simple reference and knowing. This ebook is for Java/J2EE builders. because the books covers numerous issues in Web-Service improvement, it's going to function a reference advisor to these already conversant in Web-Services.
- Java Design Patterns: A Tutorial
- Advanced Android 4 Games
- Eclipse in action : a guide for Java developers
Extra info for More Servlets and JavaServer Pages
This section summarizes the configuration needed for servlet development. Create a Development Directory The first thing you should do is create a directory in which to place the servlets and JSP pages that you develop. , C:\ServletDevel on Windows). It should not, however, be in the server’s installation directory. Eventually, you will organize this development directory into different Web applications (each with a common structure—see Chapter 4). For initial testing of your environment, however, you can just put servlets either directly in the development directory (for packageless servlets) or in a subdirectory that matches the servlet package name.
Class in the moreservlets subdirectory of whatever directory the server uses for servlets that are not in custom Web applications (usually the WEB-INF/classes directory of the default Web application). Check your server’s documentation for this location, or see the following list for a summary of the locations used by Tomcat, JRun, and ServletExec. HelloServlet3. You should get something similar to Figure 1-10. Figure 1-10. Result of • HelloServlet3. Tomcat Directory. install_dir/webapps/ROOT/WEB-INF/classes/moreservlets • JRun Directory.
Install_dir/servers/default/default-app/SomeDirectory • Corresponding URLs. jsp Individual Servlet and Utility Class Files • Main Location (Classes without Package). install_dir/servers/default/default-app/WEB-INF/classes • Corresponding URL (Servlets). http://host/servlet/ServletName • More Specific Location (Classes in Packages). install_dir/servers/default/default-app/WEB-INF/classes/packageName • Corresponding URL (Servlets in Packages). ServletName Servlet and Utility Class Files Bundled in JAR Files • Location.