The Artima Developer Community
Sponsored Link

Java Answers Forum
Run Servlet in Tomcat

1 reply on 1 page. Most recent reply: Mar 21, 2003 9:27 AM by Jiri Fabian

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
huiyuan

Posts: 3
Nickname: laoma
Registered: Mar, 2003

Run Servlet in Tomcat Posted: Mar 20, 2003 5:56 PM
Reply to this message Reply
Advertisement
Hi guys,
I installed tomcat 4,the server works fine (shows up the test page),and the
servlet code compiles, but I can't load it with local:8080
That's what I did:create a directory of 'classes' under
webapps/Root/WEB-INF/,then put my .class file there,but when I tried
http:localhost:8080/servlet/HelloWorld, it doesn't load,always shows up
....file not available, seems I put the .class into a wrong place.
What's wrong with it?
Thanks.


Jiri Fabian

Posts: 11
Nickname: filemon
Registered: Mar, 2003

Re: Run Servlet in Tomcat Posted: Mar 21, 2003 9:27 AM
Reply to this message Reply
WEB-INF/classes is correct dir

fil

Flat View: This topic has 1 reply on 1 page
Topic: Hiding the Console in Windows XP Previous Topic   Next Topic Topic: java assignment

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use