can you provide a example for this.

like original resource location = /faces/myFacesExtensionResource/*

allowed url = /faces/ndm/*



Leonardo Uribe wrote:
> 
> Hi
> 
> The web config param you are looking for is this one:
> 
> org.apache.myfaces.RESOURCE_VIRTUAL_PATH
> 
> by default is:
> 
> /faces/myFacesExtensionResource
> 
> so you'll need to change your filter mapping and this param to make it
> work.
> 
> regards,
> 
> Leonardo
> 
> 2011/5/3 sundaram <[email protected]>:
>>
>> Myfaces resources for extension are loaded from this default path
>>
>> /faces/myFacesExtensionResource/*
>>
>> But in my web app, for security purpose urls can have only
>> path like this /faces/fduf/*
>>
>> and thus extension resources are not getting loaded in webpages, as
>> extension resource urls are not allowed.
>>
>> How can i change the default extension url.
>>
>>
>> usual entry in web.xml
>>    <filter-mapping>
>>        <filter-name>MyFacesExtensionsFilter</filter-name>
>>        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
>>    </filter-mapping>
>> --
>> View this message in context:
>> http://old.nabble.com/Myfaces-extension%3A-changing-default-resource-uri-tp31535354p31535354.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Myfaces-extension%3A-changing-default-resource-uri-tp31535354p31543632.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to