Hi,
I find the whole "jar" pathing quite unwieldy.

I am in my current url for TagInfo.html:
"jar:http://localhost:9080/AMS/test.jar!/jsp/TagInfo.html";

inside my TagInfo.html, I gain access to my script via the following code:
<script type="text/javascript" 
src="jar:http://localhost:9080/test.jar!/js/Pollreader.js";>

however, using the full URI with "localhost:9080" seems unwieldy, as it 
doesn't allow me to deploy my codes on another server without changing the 
pointing codes.
Can the "jar:" syntax take a relative path?  How would it look like if it is 
possible?  Taking the above example, would it be:

<script type="text/javascript" src="jar:./test.jar!/js/Pollreader.js">
or
<script type="text/javascript" src="jar:/test.jar!/js/Pollreader.js">
or
<script type="text/javascript" src="jar:test.jar!/js/Pollreader.js">
or
<script type="text/javascript" src="jar:../js/Pollreader.js">
or
<script type="text/javascript" src="jar:./Pollreader.js">
or
<script type="text/javascript" src="../js/Pollreader.js">?


Thanks in advance.





_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to