![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javaWeb
ageyubin
这个作者很懒,什么都没留下…
展开
-
JavaWeb中的“/”
1. 在 超链接 href 属性, 表单的 action 属性中的 "/" 代表 web 站点的根目录: http://localhost:8080/ 2. 在 response.sendRedirect() 方法参数中的 "/" 也代表 web 站点的根目录: http://localhost:8080/, 因为该方法实际上就是一个自动的超链接 ...2009-12-25 13:17:00 · 80 阅读 · 0 评论 -
Struts2 与 Spring 环境下的集成测试
public class UserActionTest extends StrutsSpringTestCase { @Override public String getContextLocations() { //返回你项目中spring配置文件所在的目录 return "classpath*:conf/spring/*.xml...原创 2010-12-28 14:04:48 · 44 阅读 · 0 评论