index.jsp default in Java EE project in Netbeans, where?

前端 未结 4 765
自闭症患者
自闭症患者 2020-12-30 09:42

I create a simple web application in Netbeans, named WebApplication1. There is a file created, named index.jsp. When I run the app, browser goes to index.

4条回答
  •  醉酒成梦
    2020-12-30 10:43

    If you are using netBeans you need to click right button on your project, then properties. A new pop up window will open, and on the left menu there will be a label call run. Click there and then in the "relative URL" you should put

    ./nameOfYourJspFile.jsp
    

    and thats all, hope it helps!

提交回复
热议问题