This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSP and the fly likes CSS with EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "CSS with EL" Watch "CSS with EL" New topic
Author

CSS with EL

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

How can I use CSS file and EL?
For example I want to read color value using EL and assign it to the property of CSS file. Is it possible?


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

They have nothing to do with each other.

So, no.

Perhaps you can explain what you are really trying to accomplish and perhaps a supported way of achieving it might be possible.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You could run a CSS file through JSP, I suppose.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CSS with EL
 
Similar Threads
JSP configured in web.xml
EL: how to access properties/methods that are not getFoo() methods
layout and multibrowser hell
Change CSS from ControllBean
Expression Language inside javascript file