wood burning stoves 2.0*
The moose likes Struts and the fly likes using css file in jsp along with tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "using css file in jsp along with tiles" Watch "using css file in jsp along with tiles" New topic
Author

using css file in jsp along with tiles

sandy sean
Ranch Hand

Joined: Dec 30, 2010
Posts: 69
I m using a css file with tiles but it is not working.

my tiles.xml is:



and my jsp is:



my css file "mail.css" lies in tomcat_root/web-app-name/css/mail.css

and jsp is in tomcat_root/web-app-name/jsps/mailbase.jsp

control flow is like:

request---------->inboxaction(struts2.xml)------------------>inbox.tile (tiles.xml)
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Then your next step is to look at the generated HTML. What do you see there?
sandy sean
Ranch Hand

Joined: Dec 30, 2010
Posts: 69
The html output is not showing any of the formatting i described in css file. output is like as if i have not provided css file at all (it is not able to read css file)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using css file in jsp along with tiles