how i anxiety resources opposite subdomain (or cdn) production?


i am operative both flush java worlds. i have fervent rather project, provides several functionality easy anxiety resources (images, css, etc.) located subdomain (or cdn).



i wish same java:




  • in development testing, i wish presumably jstl's <c:url> struts 2's <s:url value=""/> tags anxiety assets.

  • but production, i wish pierce many resources out removed subdomain (or cdn).



are there any taglibs (or methodologies) out there assistance this? i don't sole wish parent views <c:if tests localhost, everytime i insert an <img> <link> tag.



i am controlling struts 2 + jsp.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?