|[jetty-users] skipping the leading slash of a context|
I am new to jetty.
I have a WebAppContext that I point to a folder "C:/FolderABC" and assign a context path "/ABC”.
Can a HTML from the "ABC" context reference JS files from my another folder (D:\folder1\libXYZ) by specifying:
Note that I don't have "/" in front of "lib" in the "src" attribute.
If I create another WebAppContext with context "/lib/one" and change the HTML file to "src="" it works, but I am looking to see if can leave the "src" attribute without the leading slash.
Basically I am trying to work around a tool limitation
and see if I can leave the tool generated line "lib/one/xyz.js" and
find a solution on the web server side instead.
Thanks in advance