I see a feature in NetBeans for selecting a JSP for a Servlet and the result XML in web.xml is like this:
JSPs are kind of servlet. JSP pages are compiled into servlet. This servlet run in the servlet container provided by any java web server.
In web.xml, tag used to name the name servlet class and jsp file. Then you can map those servlet and jsp file according to your own URLs.
hello
/jsp/hello.jsp
hello
/helloworld
If your hello.jsp file located under JSP folder. When you try to open the URL with /helloworld. It will open the page hello.jsp.