request.getRequestURI()获取请求页面的相对路径,为一个字符串
indexOf:类String里的方法,
String str = "abc";
int index = str.indexOf("a");
a的下标为0,所以index=0.
Java里,request.getRequestURI().indexOf是什么意思
猜你喜欢
转载自blog.csdn.net/architect_csdn/article/details/80248722
今日推荐
周排行