Generally if we use <form action = "process.php">, this means that after the form is submitted, it will be processed to the file process.php in the directory.

Mean while, in JSP, what is the meaning of <form action="<c:url value="/main"/>"> ?
Because in the directory there is no main file or directory or folder called main.
Where will the form direct to?