List/Grid Tag Archives: Servlet

enterprise-java-logo

Top 100 Java Servlet Questions

1) Is it the “servlets” directory or the “servlet” directory?Answer: For Java Web Server:on the file system, it’s “servlets” c:\JavaWebServer1.1\servlets\DateServlet.classin a URL p ...
enterprise-java-logo

Servlet Exception and Error Handling Example Tutorial

Sometime back I wrote a post about Exception Handling in Java but when it comes to web application, we need more than normal exception handling in java. Servlet Exception If you notice, doGet() and doPost() methods throw ServletEx ...
enterprise-java-logo

50 Servlet Interview Questions and Answers

Servlets are very important topic of Java EE and all of the web applications framework such as Spring and Struts are built on top of it. This makes servlet a hot topic in Java interviews. Here I am providing a list of 50 servlet i ...
enterprise-java-logo

Async Servlet Feature of Servlet 3

Before we jump into understanding what Async Servlet is, let’s try to understand why do we need it. Let’s say we have a Servlet that takes a lot of time to process, something like below.           &nbs ...
enterprise-java-logo

Servlet Upload File and Download File Example

File Upload and Download and common tasks in a java web application. Since I have written a lot about java servlet recently, I thought to provide a sample example of file upload and download using servlet. Use Case Our use case is ...
Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.

Sign up for our Newsletter

15,153 insiders are already enjoying weekly updates and complimentary whitepapers! Join them now to gain exclusive access to the latest news in the Java world, as well as insights about Android, Scala, Groovy and other related technologies.

As an extra bonus, by joining you will get our brand new e-books, published by Java Code Geeks and their JCG partners for your reading pleasure! Enter your info and stay on top of things,

  • Fresh trends
  • Cases and examples
  • Research and insights
  • Two complimentary e-books
Get tutored by the Geeks! JCG Academy is a fact... Join Now
Hello. Add your message here.