I am performing validation of inputted data such as email, password, name, etc. But I am already stuck on the first stage of validation which is to check if User entered not
Since it is a multipart/form-data (usually used for the puropose of uploading one/more file(s)) form the request.getParameter()
method will always return null
.
You can try
Or completely remove the enctype
parameter.
Some references in another SO question.
How to upload files to server using JSP/Servlet?