程序代码如下:
//jsp页面内容
......
......
${1+2}
.....
.....
最后输出结果竟然是${1+2}
本应该是3 其他工程没事,自从用了J2EE 5.0的JSTL之后,lib下会出现3个JAR包,然后项目就无法启动了
都是JSTL惹的祸,搞了半天也不知道自己到底在搞什么,时间全浪费了,,,,
出现上面的原因是什么啊
//jsp页面内容
......
......
${1+2}
.....
.....
最后输出结果竟然是${1+2}
本应该是3 其他工程没事,自从用了J2EE 5.0的JSTL之后,lib下会出现3个JAR包,然后项目就无法启动了
都是JSTL惹的祸,搞了半天也不知道自己到底在搞什么,时间全浪费了,,,,
出现上面的原因是什么啊
一切正常使用,已测试过
说实话你说的这个指令我从学JAVA到现在这些年来都不曾用过。我觉得是楼主的JDK环境配置和IDE配置问题。
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>SSH</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<jsp-config>
<jsp-property-group>
<url-pattern>/index.jsp</url-pattern>
<el-ignored>true</el-ignored>
<page-encoding>ISO-8859-1</page-encoding>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>
</web-app>