• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

using css file in jsp along with tiles

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Then your next step is to look at the generated HTML. What do you see there?
 
sandy sean
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
reply
    Bookmark Topic Watch Topic
  • New Topic