如何从拦截器和动作中读取完整的URL?

时间:2015-09-14 08:28:18

标签: java url servlets struts2 httprequest

如果我输入的网址为localhost:8080/MyApp/loginAction.action?username=raj&password=123,我将如何获取拦截器/动作类中的网址?我尝试了一些请求对象的方法,但没有得到。使用request.getRequestURL()request.getQueryString() ....等

0 个答案:

没有答案
相关问题