and learned that I need to use eclipse with WTP plugin. I downloaded the latest version and *import* the WAR file. So far so good.
In my previous struts1 application I was using a plugin from Tomcat to generate the 'JSP work directory" and to "update context definition". this will automatically depoly the project and I could test it under my localhost.
I wonder what is the deal with strust2? You mentioned in your posting: "Have you configured a server within WTP?"...well I checked on my project properties under server and it says: "This project is not associated with any servers"
my question is this: How can I deploy this project and have it run under tomcat?
thank you so much.
posted 12 years ago
Before you can deploy and test a web application in Eclipse, you must set up a server runtime and a server. That means just telling Eclipse where your installation of Tomcat is and setting up a way to deploy applications to it. The help documentation that gets installed when you install WTP explains how to do this. Just select help->help contents from the menu. Then look for the topic Web Application Development User Guide-->Using the server tools.