I'm working with Struts 2. In my JSP I have a <s:head />
tag. Somhow, this triggers CSS links to be inserted into the final HTML file:
<link href="/app/styles/design.css" rel="stylesheet" type="text/css" media="all"/>
<link href="/app/styles/print.css" rel="stylesheet" type="text/css" media="print"/>
<link rel="stylesheet" href="css/flick/jquery-ui-1.10.0.xyz.min.css" />
How does Struts know about this files? How can I add other CSS files or change them?
This was a nasty one. After all I discovered that the application is using sitemesh and uses the <s:head>
tag in the final jsp. This means the first 3 CSS files are comming fromt the sitemesh template, the struts/xhtml/styles.css
is comming from the xhtml fremarker template.