假设在myServlet应用中有一个MyServlet类,在web.xml文件中对其进行如下配置: mysrvlet com.wgh.MyServlet < servlet-mapping> myservlet < url -pattern> /welcome 则以下选项可以访问到MyServlet的是( )。
选项:
A:http://localhost:8080/MyServlet;
B:http://localhost:8080/myservlet;
C:http://localhost:8080/com/wgh/MyServlet;
D: http://localhost:8080/ welcome
选项:
A:http://localhost:8080/MyServlet;
B:http://localhost:8080/myservlet;
C:http://localhost:8080/com/wgh/MyServlet;
D: http://localhost:8080/ welcome
发布时间:2024-05-24 09:08:01