getContentLength() Method Example

This method is defined in ServletRequest interface from javax.servlet package and inherited by HttpServletRequest. With this method, the servlet programmer can know the length of data (through FORM fields like user name etc.) sent by the client. Or to say, the length (in bytes) of query string. What is query string in servlets? It is …

getContentLength() Method Example Read More »