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 i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members