Forum How do I...?

can stylesheet be loaded from stream in Java

c094728
Can css file be loaded from a stream so that it can be passed in along with the html stream or does it have to resided on the file system? We're storing html in the database and would like to store css files there also.
mikeday
At the moment there is no API for streaming in CSS files, although one workaround you could try would be to include it in the HTML file in a <style> element.
jshutt
I am curious if this is will ever be an option? Meaning, the ability to set the css as a stream?
mikeday
We are getting closer in that direction, as latest builds have a new control interface that we may be able to extend to pass multiple input files over a stream.