You could have all your actions extend a base class, which has a getContextPath
() method, or use request/contextPath

Quoting Justen Stepka <[EMAIL PROTECTED]>:

> Morning,
> 
> Currently I have the following in my JSP code...
> 
> <link rel="stylesheet" type="text/css" media="screen"
> href="<%=request.getContextPath()%>/css/generic.css" />
> 
> It would be nice to have something like the following...
> 
> <link rel="stylesheet" type="text/css" media="screen" href="<ww:contextPath
> />/css/generic.css" />
> 
> If there was such a tag I could pretty much remove all of my scriptlet code
> from my JSP pages...
> 
> Thougths?
> 
> Justen Stepka
> 






-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to