关于Struts2集成Velocity问题
情情说 2011-05-27 05:16:51 各位大神们,请教一个问题,使用Struts2集成Velocity时,在Web.xml配置好VelocityViewServlet拦截后,在Struts.xml配置文件中配置<result>/hello.vm</result>,可以正确跳到hello.vm页面显示,当因为想配置velocity.properties文件,把velocity.properties放在Web-INFO目录下,并在web.xml中为VelocityViewServlet配置了<init-param><param-name>org.apache.velocity.properties</param-name><param-value>/WEB-INF/velocity.properties</param-value></init-param>,当出现找不到.vm的情况,找了好久都不行,特此请教!