Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 20th, 2003, 02:49 PM
Registered User
 
Join Date: Sep 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Netbean users ....please help me out

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

  #2 (permalink)  
Old November 26th, 2003, 01:27 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to merediths
Default

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Users in IIS James4563 Internet Information Services 1 March 12th, 2007 12:21 PM
users online vantoko BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 February 23rd, 2007 08:29 AM
How many users.... rupen Classic ASP Basics 0 October 20th, 2006 08:45 AM
Help with redirecting users Sach Classic ASP Databases 1 January 16th, 2004 12:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.