In JSP technology, what's the difference between a translation error vs a compilation error?-Collection of common programming errors
A translation and compilation error occurs during the life-cycle of a JSP page.
Translation errors occur when the JSP page is being translated to servlets and has to do with syntax errors in the JSP code. During translation each type of the data in the JSP page is treated differently,for example set and get properties are converted into method calls for javaBeans components etc.So a translation error would occur if the JSP page could not be translated to a servlet effectively. Compilation error occurs after a translation has occured(JSP page translated to servlet) that it occurs during the compilation of the translated servlet from the JSP and has to do more of the logic of your code than the syntax. If an error is either a translation or compilation error,the server will return a jasper exception and a message that includes the name of the JSP page. To learn more about translation and compilation:http://docs.oracle.com/javaee/5/tutorial/doc/bnahe.html