running servlets and/or html from webapps.

This is a discussion on running servlets and/or html from webapps. within the Windows Web Servers forums, part of the Web Server and Related Forums category; I am new to Apache (but a verrrry old programmer). I have a servlet in c:\apache\webapps\myapp\src\...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 3 Weeks Ago
mun
 
Posts: n/a
Default running servlets and/or html from webapps.

I am new to Apache (but a verrrry old programmer).

I have a servlet in
c:\apache\webapps\myapp\src\mypackage\servlet1.cla ss, put there by ANT

I cannot get it to execute.
Apache keeps telling me the "requested resource is not available".

I have tried ...
http://localhost:8080/webapps/myapp/...servlet1.class
http://localhost:8080/myapp/src/mypa...servlet1.class
with and without the dot-class extension

If I use the url http://localhost:8080/webapps/root/index.html
I get a 404

If I use the url http://localhost:8080/
I get the contents of c:\apache\webapps\root\index.html

It seems as if objects are not accessable as urls when in webapps.

I have restarted the apache server after moving files.

In the most recent "catalina.log" i have the message ...
Apr 22, 2008 5:13:17 AM org.apache.tomcat.util.digester.Digester
fatalError
Did the digester eat something bad?


I have many different books and they all differ as to how I should
place
my classes

Can you help?

jim murray


 


Thread Tools
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

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



All times are GMT +1. The time now is 06:55 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0