Answer the question
In order to leave comments, you need to log in
How to setup entry point in webapp?
Worth TomCat 9 I write in the latest IntelliJ IDEA wrote a couple of servlets everything works but not as it should! In the web.xml file, I registered a wellcome file
<welcome-file-list>
<welcome-file>/index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>WarmStar</servlet-name>
<servlet-class>warmStar.WarmStar</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>WarmStar</servlet-name>
<url-pattern>/warmStar</url-pattern>
</servlet-mapping>
Answer the question
In order to leave comments, you need to log in
The web application itself (at least its web part) does nothing at startup.
All the magic starts with an http request.
In order for Idea to open the correct url:
Run/debug configuration->Tomcat Server->Server->Open Browser
-Check After launch
-Set url
Original instructions:
https://www.jetbrains.com/help/idea/run- debug conf...
So who's stopping you from changing /index.jsp to the right path? You mean replace /index.jsp with /warmStar ?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question