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

Alex Chaffee

For Java Web Server:

  • on the file system, it's "servlets"
  • in a URL path, it's "servlet"

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.