* we are using below mentioed like approach and its working in our case.
<link href="<s:url value="/yourcss.css"/>" rel="stylesheet"
          type="text/css"/>*



On Tue, Apr 13, 2010 at 4:29 PM, Upasana Sharma <sharma...@gmail.com> wrote:

> Hi
>
> I am new to Struts. I am trying to develop a project. The jsp pages that
> are
> relevant are arranged in respective folders. When I start the project from
> eclipse the page from welcome file list are loaded properly with the
> respective css. But whenever i try to access some other jsp css are not
> accessed. there is a single css file in web-content. Images are under
> images
> folder. I want to use a common css for my entire project. But the pages in
> each folder work only when they have individual copy of images and css
> inside their folder. I tried to use s:url  in the <link> href but it does
> not seem to help. What should be the approach to handle it? If I need to
> maintain a separate web.xml in each folder then how can I put the mapping
> for the images folders and css.
> --
> Thanks and Regards
> Upasana Sharma
>

Reply via email to