在index.jsp跳轉(zhuǎn)到helloservlet時(shí),相對(duì)路徑為什么不是src/servlet/helloservlet?這個(gè)地方我要看那些資料呢?
在index.jsp跳轉(zhuǎn)到helloservlet時(shí),相對(duì)路徑為什么不是src/servlet/helloservlet?這個(gè)地方我要看那些資料呢?
在index.jsp跳轉(zhuǎn)到helloservlet時(shí),相對(duì)路徑為什么不是src/servlet/helloservlet?這個(gè)地方我要看那些資料呢?
2015-09-05
舉報(bào)
2015-09-06
servlet的url是在創(chuàng)建servlet文件時(shí)配置的,也可以在web.xml中查看,src下的是java文件,這里訪問的是映射后的url地址。