Why not just replace:
<link href="/myapp/stylesheets/blah.css" rel="stylesheet" type="text/css">
with:
<link href='<html:rewrite page="/stylesheets/blah.css"/>' rel="stylesheet"
type="text/css">
I think this is a better way because then you can specify a global-forward in
strut-config and use "rewrite forward" if you want to allow someone to change
at any time (site-wide).
Also, what about this stylesheet syntax:
<style type="text/css" media="screen">
@import url(<html:rewrite page="/stylesheets/blah.css"/>);
</style>
My 2 cents,
Matt
--- James Holmes <[EMAIL PROTECTED]> wrote:
> I'm not aware of anything that accomplishes what
> you're looking for, however, I've never gone looking
> for it either :)
>
> I would try looking at the JSTL stuff. Struts is
> headed that way.
>
> -james
> [EMAIL PROTECTED]
> http://www.jamesholmes.com/struts/
>
> --- James Mitchell <[EMAIL PROTECTED]> wrote:
> > Hey James H.,
> >
> > Are you aware of any stylesheet tags in the core?
> >
> > One that will render a simple:
> > <link href="/myapp/stylesheets/blah.css"
> > rel="stylesheet" type="text/css">
> >
> > from something like this:
> > <util:styleSheet href="/stylesheets/blah.css"/>
> >
> > To my knowledge there aren't any.
> >
> > I wrote my own last year, and I'd like to submit it
> > if there's not a similar
> > one.
> > It's 50 lines (including comments, but not license)
> >
> >
> >
> > James Mitchell
> > Software Engineer\Struts Evangelist
> > Struts-Atlanta, the "Open Minded Developer Network"
> > http://struts-atlanta.open-tools.org
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>