0

I want to understand what difference / makes in the URL, for example:

http://localhost:8080

http://localhost:8080/

Basically I have installed Apache Tomcat, and access these URLs.

Can anyone help me in understanding in simple words what difference a trailing slash makes in the URL?

unor
  • 92,415
  • 26
  • 211
  • 360
CuriousMind
  • 8,301
  • 22
  • 65
  • 134
  • 1
    None actually. If present it means that the URL refers to a directory, but Tomcat will try that anyway if the resource referred to by the URL doesn't exist as a file. – user207421 Jun 07 '16 at 11:15
  • Thanks for your reply. So is this behaviour same for example on JBOSS AS? – CuriousMind Jun 07 '16 at 11:27

0 Answers0