posted 16 years ago
Hi Chintu,
First JSP page is translated into servlet. During translation phase, the JSP engine reads a JSP page, parses it and validates the syntax of the tags used. For example following directive error will be caught during translation phase only:
After JSP page is translated into a servlet, this servlet is then compiled. In the compilation phase, the java file (that is the file generated in translation phase) is compiled using normal java compiler e.g javac. If you see the following declaration then this declaration will throw error during compilation because it is a valid JSP tag but an invalid java declaration statement.
Hope this will help