http://ofbiz.116.s1.nabble.com/OFBiz-Users-allowedPaths-tp136293p136296.html
This means that "style" must be mounted as a webapp in Tomcat. Does
>It seems that the stylesheet url cannot be an absolute one, as having
>moved the stylesheet out of /images, only the current one in /style
>works and not the previous attempt, which i intended to be an absolute url:
>
><html>
><head>
><!-- <link rel="stylesheet" href="../images/main.css" type="text/css"> -->
><!-- <link rel="stylesheet" href="/style/main.css" type="text/css"> -->
><link rel="stylesheet" href="../style/main.css" type="text/css">
><title>Second Hello World</title>
></head>
><body>
><p align="right">It is now
>${Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().toString()}</p>
><a href="<@ofbizUrl>/main</@ofbizUrl>">Main</a>
><a href="<@ofbizUrl>/news</@ofbizUrl>">News</a>
><a href="<@ofbizUrl>/sports</@ofbizUrl>">Sports</a>
><a href="<@ofbizUrl>/weather</@ofbizUrl>">Weather</a>
><a href="<@ofbizUrl>/horoscope</@ofbizUrl>">Horoscope</a>
><a href="<@ofbizUrl>/people</@ofbizUrl>">People</a>
><hr>
>
>
>Si Chen wrote:
>
>
>
>>Can you be more specific? What change did you actually make? What
>>does your log file say?
>>Si
>>
>>Charles Johnson wrote:
>>
>>
>>
>>>I note that in Tutorial 2 the path to the css file is given as
>>>..\images\maincss.css (from memory). I tried to change this to
>>>\style\main.css and altered web.xml accordingly, but without any success
>>>whatever. Can anyone explain why? I suspect there is yet another
>>>mechanism intervening to allow 'allowedPaths'
>>>
>>>Charles Johnson
>>>
>>>
>>>_______________________________________________
>>>Users mailing list
>>>
[hidden email]
>>>
http://lists.ofbiz.org/mailman/listinfo/users>>>
>>>
>>>
>>>
>>>
>>_______________________________________________
>>Users mailing list
>>
[hidden email]
>>
http://lists.ofbiz.org/mailman/listinfo/users>>
>>
>>
>>
>
>
>_______________________________________________
>Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users>
>
>