????NetBeans??????????????JSP2.0??Servlet2.4??JSTL..
????1??????web??ó??????
???????--????????--???????? java web--????????web??ó??? ???????????????? GlassFish v2 ????? ??????JavaServer Faces???ü?????????????ó????????JSF??????е???????????????????spring stuts Hibrate
??????????????????????????????
???????????м???????У?????nbproject????д??????????????????ant???н?????src?μ?java???????java???????????servlet?????conf?????????????????????MANIFEST.MF???
????2??????web??ó???
????????web??ó????????????????????welcomeJSF.jsp???????
????<%@page contentType="text/html" pageEncoding="UTF-8"%> ????????????jsp?????MIME???????????????????????????????????????????text/html ????UTF????????
???????????????????????????????????????????н???????????
???????????????????????????????????<h2>Hello world~~</h2>
?????????????????????????jsp????????????????????????????????????
????3??????web??ó???
??????????????????????????????????????????????????????
???????????dis????????????NetBeans?????ó????????web??ó???鵵????дWAR???????????????dist????У???????????????WAR?????????????WAR?????·?????????????nbproject???????project.properites?????????????????????
????dist.dir=dist    //??????WAR?????????·??
????war.name=MyWebApplication.war  //??????WAR?????????
????dist.war = ${dist.dir}/${war.name}  ????
??????????WAR???????????????????????????--??????--????????? --?????????????????????WAR????????WAR???????
????4??????web??ó??????
????5??????web??ó???
??????????е?welcomeJSF.jsp????У?<h2>Hello world~~</h2> ???  <h2>JSP page ????????</h2>
??????????--?????????
????init:
????deps-module-jar:
????deps-ear-jar:
????deps-jar:
????library-inclusion-in-archive:
????library-inclusion-in-manifest:
????compile:
????compile-jsps:
???????????????...