Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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

Reply With Quote
  #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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:44 PM.


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