Posts Tagged ‘servlet 3 tomcat’

Servlet initialization parameters are used to process the data when servlet initializing. Before servlet 3, this data need to put on deployment descriptor and servlet will read the data in init() method using ServletConfig Object. For every servlet, the data is unique and not been shared in between of two servlets. Before Servlet 3...

Many java web developer aware that for uploading files on server there was no api support in servlet specifications. We have to depend on third party library to upload files. Apache common’s file upload library is very popular for this task. Servlet 3 comes with default support of file upload. To make your servlet...