views:

51

answers:

1

I'm using Struts2 w/ SiteMesh. In my CSS I have the following line:

#top_nav {
    background: url('../images/menu_tile.png') repeat-x 0 0 ;
    height: 36px; 
    padding-left: 8px;
}

When I login to the site my browser gets redirected to /url/menu_tile.png. The only place I can find menu_tile.png in my site is in a css file that is part of my sitemesh decorator.

If I use my browser back button and login a 2nd time I get sent to the correct page. If I remove the background: from my CSS and login fresh I also get sent to the right page (but obviously my page is wrong).

Any ideas?

Thanks

A: 

Traced the problem down to the following...

...
<title>My Site/title>
<link href="css/site.css" rel="stylesheet" type="text/css" />

The missing < for the title tag for some reason said to the browser... load the next url() as a page?

sigh

ShaneC
@ShaneC - very strange. These type of "features" cost thousands of hours of folks' time.
orokusaki