Subject: Netbean users ....please help me out
Posted By: pratheeba Post Date: 11/20/2003 1:49:31 PM
Hi,

I am new to servlet.I am using Netbean as a IDE. I don't know how to write a servlet program in IDE as well as run...can any one help me?
I saw help file i didn't understood...

Thanks

Reply By: merediths Reply Date: 11/26/2003 12:27:15 PM
pratheeba,

  You can create a Servlet in the IDE by selecting Servlet from "File->New"  or right clicking in the Project Explroer -- it is one of the options. If you take this route, you will get a class with code filled in already implementing all of the Methods, you can just add your own logic.

 Alternately, if you have an existing servlet or want to hand-code your own, you can use 'Mark As Servlet' which I beleive is under 'Tools' ( don't have my IDE handy at the moment).

If you have a Servlet and go to 'Execute', NetBeans will launch an internal Tomcat process and excecute your servlet to it, as well as bring up a browser window and point you to the correct port on localhost so that you can view it. You can specify which browser under "Options".

disclaimer: I still use NetBeans 3.4.x .. haven't upgraded to 3.5 yet.

HTH
Regards
Meredith Shaebanyan


Go to topic 6894

Return to index page 997
Return to index page 996
Return to index page 995
Return to index page 994
Return to index page 993
Return to index page 992
Return to index page 991
Return to index page 990
Return to index page 989
Return to index page 988