
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.
Author

I'm a big fan of good stories, and sharing them. I've been reading a lot since I was a towheaded kid, growing up in a small town with a reading and writing tradition called Concord, Massachusetts. Our house was about a half mile from Walden Pond. That didn't make me a better writer by osmosis, but it darn sure made me a reader! I was the kid sitting under a tree, head buried in a book. I read every hardcover and paperback I could get my hands on. A family friend gave me anthologies of Jules Verne and H.G. Wells when I was in the third grade. They encompassed the first adult narratives and science fiction I had read. They were hardcover, heavy, and I couldn't put them down, until I had to put them down, because they were heavy. I tend to read and write in several genres, mostly science fiction/dystopian, adventure, thriller, and detective, but I've written stories that don't really fall into either of those categories, as in the war romance Accidental Exiles or the satire Lost Young Love. In my work life I've been a trade newsletter writer and a software engineer, as well as a landscaper and a really bad waiter. I've also written non-fiction books on fitness and software, including Fitness For Geeks. When I'm not writing, I'm a nomad. I love to travel. I prefer writing outside with a pen, legal pad, and a nice view.