就是在Struts中如何得到在action中设定的地址
解决方案 »
- unit test 的 dummy 方法
- 使用纯javascript如何取循环出来的<tr><td>中的值?
- 求关于数据库图片大对象
- 用netbeans建立的maven项目没有struts-config文件
- struts的资源文件问题
- 如何在Sun\AppServer中配置JNDI呀?
- 怎样在jb9中配置struts1.1
- Mybatis+SpringMVC操作日志
- 高分悬赏 js对象和jquery对象为啥要互相转换呢 一般什么时候转换呢
- 如果修改了 storm 的 spout 和 bolt 代码,就 kill 掉作业,重新提交吧。那么 kill 作业的时候如何做 cleanup 的工作呢?
- 采用mysql-connector-java-3.1.4-beta-bin.jar数据库驱动连接MySQL,Classpath也已设置,文件也copy到Tomcat 5.0\common\lib\,但是失败
- 问个问题
<action path="/index"
forward="index.jsp"/>我在地址栏输入:http://localhost:8080/index.html
我的index.jsp:
<%out.println("Request URI:"+request.getRequestURI());%>但得到的是: Request URI:/index.jsp
而不是:Request URI:/index.html
为什么啊????
<a href="/index.jsp">index.jsp</a>indexAction.java
...
String url = request.getHeader("Referer");
System.out.println(url);