Skip to main content



      Home
Home » Newcomers » Newcomers » Configuring project to run in tomcat(How to configure Dynamic Web Project to run in Tomcat App server)
Configuring project to run in tomcat [message #1809685] Sat, 20 July 2019 05:30 Go to next message
Eclipse UserFriend
Hi
I am using Eclipse 18-12 and have created a Dynamic Web Project which builds and deploys using ant to an external tomcat 9 installation. I am trying to now run this using internal tomcat so I can debug it. I have created a Server for tomcat and added the project source and libs to the Server Run Configuration and have specified external Chrome browser. When I run this the console says the app has been deployed yet the url it is using is the context root, in this case, domain-agent. I want to configure this to be domain-agent/index.
Also, how can I get the project to rebuild before tomcat is started
Re: Configuring project to run in tomcat [message #1809704 is a reply to message #1809685] Sun, 21 July 2019 05:52 Go to previous messageGo to next message
Eclipse UserFriend
I have changed the Spring MVC to include RequestMapping for the application root and that bit works ok but still interested to see how to get the project rebuilt when the app is started
Re: Configuring project to run in tomcat [message #1809706 is a reply to message #1809704] Sun, 21 July 2019 10:25 Go to previous message
Eclipse UserFriend
The app is usually built by virtue of being inside the project,
rather than just a launch configuration. It then has the same
traits as any project's contents.
Previous Topic:Error running eclipse project in internal Tomcat
Next Topic:mark Asterisk (*** )
Goto Forum:
  


Current Time: Sun Jul 06 05:43:08 EDT 2025

Powered by FUDForum. Page generated in 0.05770 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top