From: "Hyrum" <[EMAIL PROTECTED]> > I can't get my struts application to recognize my Style Sheet. Here is the > link I am using: > > <html:link style="cssStyle" href="/include/filename.css" /> > > I'm trying to use the css to create a style for some menu links. It works > if I use the <style> tags within the jsp, but if I use the <html:link> tag, > it doesn't see it. What am I doing wrong??
Unless you need the URL to the style sheet to be dynamic, you can just use a plain old HTML tag. I have: <LINK REL=StyleSheet HREF="css/denStyle.css" TYPE="text/css" MEDIA="screen"> When using tags, I had trouble with the jsessionid being appended to the stylesheet URL-- it would work, then not work then work... it wasn't until I looked at the HTML source that I figured out what was going on. The browser will make a separate request for the stylesheet, it isn't something that gets used as the container runs the Servlet/JSP code. -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]