[EMAIL PROTECTED] wrote:
>
> > I agree that <base> tags are not the best solutiosn but I could not come up
> > with something better for resolving everything inside the the webapp folder.
> >
> > Any suggestions welcome.
>
> There is now a ContentURI class in Turbine that helps resolve
> links to static content within a webapp. It's currently
> being used in the TurbineVelocity/WebMacro service but
> I'm sure you could use it for your needs too! :-)
>
> ContentURI cu = new ContentURI();
> String link = cu.getURI("images/jetspeed.gif");
>
> This will returned you URL that corresponds to jetspeed.gif
> in an images directory in the top level of your webapp.
> Maybe this will help you.
>
Yes, definitely what we need.
Thanks for the info.
--
Rapha�l Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]