File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes why stylesheet not detected in tiles ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "why stylesheet not detected in tiles ?" Watch "why stylesheet not detected in tiles ?" New topic
Author

why stylesheet not detected in tiles ?

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 438
hi good day ,
i facing a problem on tiles, which is not detect my css file, so it doesn't decorate the alignment and text display pattern

in each page on tiles, i have included the link for every page as tile


for example , i have a page as follow , but it doesn't detect the stylesheet


as you can see the word "description" do not display like "User Role ID" which have fill up color

for your information : i have put the css file into myapp\pages\style.css

can i know where i make the mistake ? thank you
[ September 10, 2006: Message edited by: Nakata kokuyo ]
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Are you getting any errors? You may need to use single quotes in your page attribute.

from this:
page="/pages/style.css"

to this:
page='/pages/style.css'

Also, from your browser make sure you can get at the full URL:
http://myserver/myapp/pages/style.css

- Brent
Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 438
hi Brent , it doesn't give any error on it

but i found myself having a stupid mistake , that is the file name actually named as styles.css not style.css ...

anyway, really thanks for your guidance and have a nice day
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: why stylesheet not detected in tiles ?