I have an application using struts2-ognl. I have an array of strings and it gets populated by GET parameters in the request. Like the following example
http://localhost:8080/myapp/myAction.action?myArray[1]=value1&myArray[2]=value2 etc etc
Is there any way to instruct ognl that for arrays I don't want to use "[" or "]" but another set of characters ( let;s say for example "(" and ")" so the url could work like:
http://localhost:8080/myapp/myAction.action?myArray(1)=value1&myArray(2)=value2 etc etc
I'm asking this because "[" and "]" are url reserved characters. I have tried to urlEncode them but then ognl ignores those parameters.