Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping URL's

 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new learner to Servlets

Why do we need to first map public URL to Deployment name ie. internal name in DD and then the internal name to actual fully qualified file name?
Why the requirement is made such so?
 
Marco Bartolini
Greenhorn
Posts: 9
Fedora Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MaheshS Kumbhar wrote:I am new learner to Servlets

Why do we need to first map public URL to Deployment name ie. internal name in DD and then the internal name to actual fully qualified file name?
Why the requirement is made such so?


it is made to make things easyer , so you can change the source without change the mapping and vice-versa.
Anyway, you don't want people look at the logical structure of your web application, do you?
 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marco Bartolini wrote:you don't want people look at the logical structure of your web application, do you?


I am curious to find out what if somebody know the logical structure of the appliction through the URL... how is it going to affect the developer or the application ...
Is it about the security??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic