I then downloaded the 5.5 version of Apache Tomcat. To add as an external server I was supposed to download the zipped version of the server rather then the windows installer. I downloaded the server from the Apache site http://tomcat.apache.org/download-55.cgi and then unzipped in c:\ in my hard drive.
Now, I first have to create a servlet project. I opened the NetBeans IDE. Clicked on File--> New Project. I choose the Web Application project.
To successfully add the server I have to make some changes on the configuration of the server. Mainly add an user. So while adding an user there is an option to create an user (a checkbox), I checked on that which created me an user. For more information please follow this wiki link http://wiki.netbeans.org/AddExternalTomcat
After successful addition of the server it did showed up in the dropdown for the server list.
I continued clicking on next and finally finish. I didn't selected any frameworks because I was going to create a generic servlet. Finally I clicked finished and everything was setup and I was ready to write my first servlet with NetBeans.
thanks
1 comment:
Interesting Article
Java Training in CHennai | Core Java Training in Chennai
Java Online Training Institutes in Chennai | Java EE Training Institutes in Chennai
Post a Comment