Reputation: 618
I tried following the tutorial here to deploy a servlet but that only works if you specify a JSP file. The problem is that without the JSP, I don't know what to set the Startup Page in the Tomcat Run/Debug configuration. So any idea what to do?
Thanks!
Upvotes: 12
Views: 24572
Reputation: 401975
You should define a servlet-mapping
in the web.xml
like this:
Then add the url-pattern
to the server root URL:
Upvotes: 16
Reputation: 160191
Set it to your servlet mapping.
IMO opening new browser window every time you start the server is a PITA.
Upvotes: 1