spring mvc - Including a folder of css/js files in jsp -
i have set of common css/js files application in 2 folders commoncss , commonjs in folder(u_i) inside webroot. including them below
<script type="text/javascript" src="${commonresourcepath}/commonjs/dsf.js"></script> <script type="text/javascript" src="${commonresourcepath}/commonjs/sdc.js"></script> . . <script type="text/javascript" src="${commonresourcepath}/commonjs/eee.js"></script>
but include files in folder automatically giving folder path like
<myinclude:allfiles foldername="${commonresourcepath}/commonjs"/>
is there way it? in advance...
i tried find this, haven't found. so, think nobody did yet.
if need it, can create own jsp tag you.
some tutorials on google: https://www.google.com.br/search?q=creating+custom+jsp+tag
Comments
Post a Comment