java - Urlrewrite using maven property -


i'm trying write outbound rule in urlrewrite.xml gets value maven property, depending on maven profile i'm using, this:

<outbound-rule encodefirst="true">     <from>/web/(.*)</from>     <to>${urlrewrite.path}</to> </outbound-rule> 

looking in urlrewrite.xml in target folder, seems correct value:

<outbound-rule encodefirst="true">     <from>/web/(.*)</from>     <to>/ecs/$1</to> </outbound-rule> 

however, when access page gives me following error:

info: org.tuckey.web.filters.urlrewrite.substitution.variablereplacer error: function ${urlrewrite.path} type 'urlrewrite.path' not valid type

anyone know if possible?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -