<script type = "text/javaScript">
thisurl = document.url ؛
thishref = document.location.href ؛
thissloc = self.location.href ؛
thisdloc = document.location ؛
strwrite = "thisurl: [" + thisurl + "] <br />"
strwrite + = "thishref: [" + thishref + "] <br />"
strwrite + = "thissloc: [" + thissloc + "] <br />"
strwrite + = "thitdloc: [" + th th th th th th th th th th th th th th th th th th th th th th th th th th thisdloc + "] <br />"
document.write (strwrite) ؛
thistloc = top.location.href ؛
thisploc = parent.document.location ؛
ThisThost = top.location.hostname ؛
Thishost = location.hostname ؛
strwrite = "thiStloc: [" + thistloc + "] <br />"
strwrite + = "thisploc: [" + thisploc + "] <br />"
strwrite + = "thisthost: [" + thisthost + "] <br />"
strwrite + = "thishost: [" + thishost + "] <br />"
document.write (strwrite) ؛
tmphPage = thishref.split ("/") ؛
thishpage = tmphPage [tmphPage.length-1] ؛
tmpupage = thisurl.split ("/") ؛
thisupage = tmpupage [tmpupage.length-1] ؛
strwrite = "thishpage: [" + thishpage + "] <br />"
strwrite + = "thisupage: [" + thisupage + "] <br />"
document.write (strwrite) ؛
var url = "<٪ = request.getRequesturi () ٪>" ؛
تنبيه (URL)
</script>
request.getRequesturi () ؛
request.getRequesturl () ؛
request.getquerystring () ؛
request.getServletpath ()
: : request.getScheme ()+": //"+request.getServerName ()+":"+request.getServerPort ()+request.getRequesturi ()