In only one class, the servlet alone has to do various tasks such as:
Acceptance of request
Processing of request
Handling of business logic
Generation of response
Hence there are some problems that are associated with servlets:
-For developing a servlet application, we need knowledge of Java as well as html code.
-While developing any web based application, look and feel of web based application
needs to be changed then entire code needs to be changed and recompiled.
-There are some web page development tools available using which the developer can
develop web based applications. But servlets don not support such tools. Even if such
tools are used, we need to change embedded html code manually, which is time
consuming and error prone.