Hi Hoboy2

As per your web-app definition webapp mount point is root "/" and you are
trying to access resources using full path.This will not working.

{code}
                <set field="layoutSettings.javaScripts[]"
value="/osafe/webapp/osafe/common/test/js/bootstrap.min.js" global="true" />
{code}

Suggestion 1:
Please change your mount point from "/" to "/osafe" and access resources
using following pattern:
{code}
                <set field="layoutSettings.javaScripts[]"
value="/osafe/common/test/js/bootstrap.min.js" global="true" />
{code}

Suggestion 2:

Create new web-app for static resources and serve static resources from
this web-app, do not use "/" mount point.

Suggestion 3:

Use only one web-app with root mount point and separate out the
css/js/images request using default servlet:
https://tomcat.apache.org/tomcat-7.0-doc/default-servlet.html



Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com

On Wed, Mar 2, 2016 at 2:28 PM, Julien NICOLAS <[email protected]>
wrote:

> Sorry, I can't found it in this thread...
>
>
> Le 02/03/2016 09:26, hoboy2 a écrit :
>
>> Hi Deepak Dixit-3
>>
>> I have send ofbiz-component.xml
>>
>> Thanks in advance
>>
>>
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/New-Screen-css-layoutSettings-issue-tp4677488p4677570.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>
>

Reply via email to