I forgot to include <html:base/> in login.jsp. I've included this and it worked!
-----Original Message----- From: sriram [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 11:19 AM To: 'Struts Users Mailing List' Subject: Missing images & style sheet in welcome file Hi, In my web application (using struts), I have login.jsp as welcome file. I've defined the welcome file in web.xml as follows: <welcome-file-list> <welcome-file>/jsp/login.jsp</welcome-file> </welcome-file-list> And in login.jsp, I'm using relative path to load images and style sheet. My directory structure is as follows: ---web | |--css | |--jsp | |--images | |--WEB-INF login.jsp is located in /web/jsp folder. In login.jsp, I'm including style sheet as follows: <link href="../css/style.css" rel="stylesheet" type="text/css"> "../css/style.css" --> the style sheet is located in /web/css folder. Now, when I browse http://localhost:8080/myApp, login.jsp is displayed as welcome page, but the style sheet is not found. Same is the case with images on login.jsp. (this problem is occurring on Linux) But when I use http://localhost:8080/myApp/jsp/login.jsp, then it is displaying everything perfectly. And http://localhost:8080/myApp displays the login page correctly on Windows. Any idea what could be the problem? Sriram