現在のWebアプリケーションのコンテキストパス実装方法を取得するJS
// js webcontextvar webroot = document.location.href; webroot = webroot.substring(webroot.indexof( '//')+2、webroot.length); webroot = webroot.substring(webroot.indexof( '/')+1、webroot.length); webroot = webroot.substring(0、webroot.indexof( '/')); rootpath = "/"+webroot;
現在のWebアプリケーションのコンテキストパス実装方法を取得する上記の記事JSは、私があなたと共有したすべてのコンテンツです。参照を提供できることを願っています。wulin.comをもっとサポートできることを願っています。