you mean you want to include links to different css files in the resulting html stream depending on some parameters?
What you're doing now is indeed the correct way to do that using servlets alone.
Were you using jsp, you'd set the string to be used as the uri to the css in the request object and in the jsp read that out and use jstl to insert it into the proper place in the html.
jwenting 1,905 duckman Team Colleague