Question : How can i configure tomcat in my netbeans IDE?

Hi i installed tomcat 5 and NetBeans 5 in my local system, i want to configure my tomcat in the Net Beans IDE, please give me the procedure

Answer : How can i configure tomcat in my netbeans IDE?

Tomcat Web Server

Web Stack comes with Tomcat 6.0 Servlet container for deploying your JSP based web applications. Some of the examples shown later in this document uses Tomcat in NetBeans. The NetBeans software for this release may not come bundled with the Tomcat server as Tomcat is already available in Solaris through Web Stack. But still you need to let NetBeans know where your Tomcat installation directory is to allow NetBeans manage Tomcat.

To Configure Tomcat Web Server in NetBeans IDE
In NetBeans IDE, go to Tools > Servers.
In the left pane, click Add Server.
Choose Tomcat 6.0 from the servers list.
In the Catalina Home field, type /opt/apache-tomcat-6.0.14 (Make sure that path exists).
Add the user name and password for the manager role as provided in tomcat-users.xml file in the Tomcat configuration directory. You can also let NetBeans create a new user if the user entered in the user name text field does not exist.

When Tomcat is successfully configured in NetBeans, the Servers node shows Tomcat 6.0 entry.
You can right click on the Tomcat 6.0 node and select Start to start the server.

Random Solutions  
 
programming4us programming4us