Latest Updates

Documenting code, one commit at a time.

Streamlining Application Logic with Servlet Controllers

Introduction

Developing web applications often involves managing complex interactions between the user interface and the backend logic. Using Servlets as Controllers can help to organize request handling and application flow.

The Challenge

Without a well-defined structure, web applications can become difficult to maintain and scale. Handling user requests directly within JSPs or tightly

Read more
Java HTTP API

Implementing POST Requests in Java Applications

Introduction

Adding POST request functionality to a Java application enables it to send data to a server, which is crucial for creating, updating, or processing information. This guide outlines how to implement POST requests effectively using Java.

Setting Up the Connection

To begin, you'll need to establish an HTTP connection to the server. Here's how to do it:

Read more