编译错误,好吧,这是输入错误代码时出现的典型错误。但是我正在读的关于翻译错误的事情怎么样?我在普通java中从未遇到过类似的情况。它要么不编译,要么编译。请帮助说明什么是翻译错误?它出现在
之间的图片中的什么位置- 编译错误(我知道)
- 运行时异常(我知道)
- 翻译错误----??????
最佳答案
Translation Error : This type of Error occurs during the initial request. When a JSP page is first requested and goes through the initial translation from a JSP source file into a corresponding Servlet class file.
JSP 页面翻译:
A java servlet file is generated from the JSP source file. This is the first step in its tedious multiple phase life cycle. In the translation phase, the container validates the syntactic correctness of the JSP pages and tag files. The container interprets the standard directives and actions, and the custom actions referencing tag libraries used in the page.
要了解有关 JSP - 生命周期的更多信息,请访问 http://javapapers.com/jsp/jsp-life-cycle-explain/
关于java - 在JSP技术中,翻译错误和编译错误有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18033154/