JSTL Core <c:url> Tag
The < c:url > tag creates a URL with optional query parameter. It is used for url encoding or url formatting. This tag automatically performs the URL rewriting operation.
The JSTL url tag is used as an alternative method of writing call to the response.encodeURL() method. The advantage of url tag is proper URL encoding and including the parameters specified by children. param tag.
Let's see the simple example of < c:url > tag:
Note: CRUD is my project name in other words JSP application name.