When I use
<h:outputStylesheet library="css" name="styles.css">
or
<h:graphicImage library="images" name="image.jpg">
then in html I get something like this
<link type="text/css" rel="stylesheet" href="/appName/javax.faces.resource/styles.css.xhtml?ln=css" />
so the user can see which framework was used to write this app. How can I avoid showing javax.faces.resource/styles.css.xhtml?ln=css
to the user, but also still using facelets(not html, like <link rel=...
>)? It will be good when the user simply will see the path to the css file as resources/css/styles.css
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…