<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>hello.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">--> </head>
<body>
#set($f = "world" )
Hello $f
</body>
</html>为什么没有在网页显示出来hello world,我引入了velocity-1.7-dep.jar和velocity1.7-.jar
<head>
<title>hello.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">--> </head>
<body>
#set($f = "world" )
Hello $f
</body>
</html>为什么没有在网页显示出来hello world,我引入了velocity-1.7-dep.jar和velocity1.7-.jar
解决方案 »
- SocketTimeoutException问题
- 急 急
- action运行了两次
- 加了上传图片的代码之后,中文存入数据库变成了问号?
- svn检出时间问题
- 中文乱码问题
- jfreechart在Linux下的问题?
- 请各位高手指点帮忙,兄弟万分感谢!
- 用jsp连接mysql,关于properties的用法!
- 我运行tomcat的example是可以的,但自己编一个helloworld却不显示,这是为什么?
- 继续问struts2验证框架的问题
- 求解决springMVC 中出现getOutputStream() has already been called for this response的问题。
1.4的架包可以正常显示,刚刚试过
Hello $f
把空格去掉
#set($f="world")