Saturday, October 24, 2009

STEP 9: Add Tomcat to NetBeans

These are instructions to add the standalone Tomcat server to NetBeans. Netbeans comes bundled with an older version of Tomcat, but this is how to add the latest version.


Create New Server

In NetBeans...

Tools | Servers | Add Server
  • Server: Tomcat 6.0

  • Name: Tomcat 6.0.20
Next
  • Server Location : /usr/local/apache-tomcat-6.0.20

  • User Name: admin

  • Password: adminadmin

  • Checked: Create user if it does not exist
Finish | Close



Test

In NetBeans...

Services (tab) | Servers | Right Click: Tomcat 6.0.20 | Start

In a web browser, go to...

http://localhost:8080

In NetBeans...

On the Output panel, click the Stop Server icon.

No comments:

Post a Comment