Is it the "servlets" directory or the "servlet" directory?

Alex Chaffee

For Java Web Server:

  • on the file system, it's "servlets"
    c:JavaWebServer1.1servletsDateServlet.class
  • in a URL path, it's "servlet"
    http://www.stinky.com/servlet/DateServlet

Other servlet engines have their own conventions. Usually on the file system it's "servlets" and in a URL it's "/servlet" (which is an alias or virtual path).

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact