就是在Struts中如何得到在action中设定的地址
解决方案 »
- 静态方法如何从抽象类继承?
- 初学spring框架中introduction的基本使用问题求助啊~~~~
- hibernate annotation onetoone问题
- hibernate中的查询异常,谁见过??????
- 下了Struct的源码,写的ActionServlet的运行历程,大家看看对不对
- RMI方法调用一问?
- 关于tomcat启动不起来的问题,晕!
- 初学者的一个简单问题
- 请教小问题jms
- hibernate jpa 级联删除的时候出现GType is not mapped
- 采用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);