jsp技术
编写第一个jsp文件
在WebRoot下新建一个HelloWord.jsp
<body>
Welcome to yj's JSP <br>
</body>
然后找到workplace文件夹有
在C:\Users\Administrator\Workspaces\MyEclipse Professional 2014.metadata.me_tcat\work\Catalina\localhost\Chapter06\org\apache\jsp文件夹下可以找到
可以看出JSP文件被转换成了.java,.class文件
打开java文件可以看到源代码
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
public final class HelloWorld_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getSe