need help with servlets, tom cat


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: need help with servlets, tom cat

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Location
    UK, London
    Posts
    150

    need help with servlets, tom cat

    Hi guys, Im trying to make a simple servlet bt having lots of problems. I have finally compiled my servlet java code, but i have no clue in how to go about viewing it. I am using tomcat 4.1. created the following directory structure webapps\webdir\WEB-INF\classes. MY java files are in classes, after compiling my java file a class was made, but now I dont know what else to do or how to view the servlet. Am I missing anything else? Please can some one help me.

  2. #2
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271
    yes, you need a web.xml that points to your servlet.
    just have a look at the example web.xml files provided by tomcat for the demo-servlets.

Similar Threads

  1. Replies: 1
    Last Post: 10-07-2006, 01:20 AM
  2. servlets - how to ?
    By john clarke in forum Java
    Replies: 1
    Last Post: 04-26-2001, 11:15 PM
  3. Re: Servlets (From Janet)
    By Debu in forum Java
    Replies: 0
    Last Post: 09-01-2000, 09:14 AM
  4. Tom, A Real BIG Thanks
    By Syrus in forum VB Classic
    Replies: 2
    Last Post: 08-28-2000, 11:08 AM
  5. Replies: 1
    Last Post: 03-15-2000, 04:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center