coure2011
coure2011

Reputation: 42504

Running a web application within Eclipse

I have opened a JSP web project in Eclipse but not sure how to run the .jsp pages from the Eclipse. How can I add Tomcat to my Eclipse project and can run web pages directly from there?

Following tutorial: http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html

I found that by right clicking the project > Properties there is no option of Server there.

Upvotes: 0

Views: 423

Answers (1)

Protostome
Protostome

Reputation: 6039

CTRL+3 , then type 'Servers'. Select the desired tomcat server , then right click on it - choose Add, and in the dialog that opens choose the web application you like to run under this server.
When you're finish, simply right click on the server and choose run/debug

Upvotes: 1

Related Questions