Disadvantages of JSP
- JSP is difficult to debug or trace errors because JSP pages are first translated into servlets before the compilation process.
- As JSP pages are translated to Servlets and Compiled, it is difficult to trace error occurred in JSP pages.
- Database connectivity is not easy.
- JSP Pages require more disk space to hold the JSP page.
- JSP pages need more time when accessed for the first as they are to compile on the server.
JSP Full form
JSP stands for Jakarta Server Pages (formerly JavaServer Pages). It is a programming tool that is used on the Application Server Side to create dynamic web pages. JSP basically used to support Platform–Independent and Dynamic methods to build web-dependent applications based on HTML, XML, SOAP, etc. JSP allows developers to embed Java code as well as pre-defined tags. JSP pages are like ASP (Active Server Pages) in that they are compiled on the server, instead of the user’s web browser.
Note: In JSP, Java code can be embedded with special tags enclosed in “<% %>” or “<%= %>”
JSP was developed by Sun Microsystems Company in 1999. For the development of the JSP, languages are used all the functions built into it have been created in the Java programming language.