Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In Servlet, why do we store file in servlets folder

 
hasan wasif2k1
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Want to ask why we store servlet file in servlets folder although in URL we write servlet ???
 
Declan Conlon
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No real reason why, however you can change your filepaths where you store/access stuff in the servlet server's config file, where this depends on what server you are using.
Dec
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic