LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-26-2007, 12:05 PM   #1
sajith
Member
 
Registered: Sep 2005
Location: kannur
Posts: 59

Rep: Reputation: 15
running servlet


sir

i have compile the HelloWorld servlet program and got the .class file

where i should place the .class file

the current position of tomcat5 in

/var/www/apache2-default/tomcat5

the tomcat5 folder contain following directories

webapps common bin etc

in which directory i can put the .class file

please tell the path for this

i try to put it in the webapps/ROOT/WEB-INF/ directory but there is no folder classes to put the .class file

when i try to access the servlet using the browser

i got the error 404 not found
the resource is not available

http://localhost:8180/servlet/HelloWorld

how to run servlet in a browser

please help me run the servlet

thanks in advance
 
Old 02-26-2007, 09:13 PM   #2
merize147
Member
 
Registered: Oct 2004
Location: Where ever I put down Lappie
Distribution: Dragged kicking and screaming to RHEL
Posts: 132

Rep: Reputation: 15
The following is a better place for programming questions:

1)Click on Forums
2)scroll to the bottom and find the "Non-*NIX Forums" section
3)Click the programming forum
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
servlet programming sajith Ubuntu 1 02-23-2007 07:43 PM
servlet error sajith Programming 1 02-23-2007 07:19 AM
how to run a servlet using tomcat me4linux Linux - Networking 0 01-28-2007 04:42 AM
Do I need a servlet to run applet from Apache? je_fro Linux - Networking 2 04-19-2003 07:40 PM
Java Applet/Servlet Needed bfloeagle Programming 8 08-19-2002 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration