Java Servlet URL Mapping

后端 未结 3 1024
攒了一身酷
攒了一身酷 2021-01-26 04:56

i fairly new to java servlet.

Please forgive me if this question seems stupid.

I have add servlet mapping such as servlet class and url pattern using netbeans i

3条回答
  •  感动是毒
    2021-01-26 05:22

    Yes, you need define index page for your web app and you can make redirect inside f.e. create page index.html with this contect

    
    

    and then in web.xml

    
        index.html
    
    

提交回复
热议问题