You can add a new path to the AllowedPaths parameter for the context filter in the web.xml file of your component.
Amine. 2007/4/9, Kane Lo <[EMAIL PROTECTED]>:
I understand this is one of the ways for solving this, if the server is under my control. However, if the server is not under my control, and I just want can put the images file and application all under one single directory, like https://xxx.com/webtools/images. Then the control file and filter will prevent the static content to be displayed. ----- Original Message ----- From: "G.Venkata Phanindra" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, April 09, 2007 6:24 PM Subject: Re: location of static content > Hi, > If u r using Apache Server u can configure using the rewrite > rules.Or place the folder where ever u want and just create a symbolic > link > in the images folder. > > Regards > Phani > > On 4/9/07, Kane Lo <[EMAIL PROTECTED]> wrote: >> >> Hi, >> I am trying to put the static content like javascript, or image under >> directory for example webtools. However, it just seem like cannot find >> the >> relevant file. However if I just follow the Ofbiz standard put them under >> /images, then all the content come out. Are there any way to do it or go >> around? >> >>
