Java Servlets

Java CORS Filter Example

Learn to use Java CORS filter. CORS is a mechanism that allows JavaScript on a web page to make AJAX requests to another domain.

Guide to Java Servlets

Servlets are Java classes that conform to the Java Servlet API, which allows a Java class to respond to requests. Although servlets can respond to any type of request, they are most commonly written to respond to web-based requests. A servlet must be deployed to a Java servlet container in …

How does a Web Servers Work?

Today the line between “app server” and “web server” is fuzzy. But people continue to use the terms differently, primarily for emphasis.

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.