I must rewrite:

http://url.com/app%5Fname/action.do

to

http://url.com/context/action.do?value=1

My question is how you can add the variable 'value' towards the url for every rewrited URL (it is a hard coded value) ?

#RewriteRule ^/app_name(.*) /context$1

Thanks!

Do this rule:

RewriteRule ^/app_name(/.*)?$ /context$1?value=1 [QSA]

The QSA flag would be to instantly append the initial query towards the brand new one.