I have a web application, and I set a servlet
as a default code I want to:
this my servlet
:
http: // localhost: 8080 / qcm / accueil
I want to write this link when I open: http: // localhost: 8080 / qcm
, aquile servlet
How can I do this?
When I made a mistake about it, I came to know that I need to change the welcome-file-list
in web.xml
in my project web.xml
is not a file.
Yes, that's right. web.xml
must be located in your src / main / webapp / WEB-INF
directory (if you use standard Maven) - if not, it only In your project in the web-INF
folder. You can copy it and simply add it
Finally, it should do so.
Comments
Post a Comment