I am new to the servlet scene and have just been stumbled by how the webserver that came with jsdk works:
 
Lets take the HelloWorldExample servlet for example I looked in the directories and tryed to find the servlet, I found the only two copies of the servlet in the subdirectories and moved them away.  However the servlets still run in my web browser. Is the compiled servlet in a special directory I don't know about? Where are they kept.  The url of the servlet points to /example/servlet/HelloWordExample.  Where is this url mapped to (there is no servlet directory).
 
This is the mapping section of my default.cfg
 
server.webapp.examples.mapping=/examples
server.webapp.examples.docbase=examples
// As a side note I don't quite understand the .mapping and .docbase properties.  I assume .mapping points to the directory on the HD and .docbase points to the url. 
 
Yt,
 
John Carbrey
 
 

Reply via email to