You may need to Java escape that key name. For example :

'it\'s my variable name'

Or change your application to not have special characters as keys. That can
present other problems.

-- Rick
On Jan 16, 2014 3:11 PM, "Eric J" <ericj...@gmail.com> wrote:

> I am trying to populate a hash map through an html form, with inputs
> looking
> like this:
>
> <input type="hidden" name="myHashMap['I'm a key with quotes']"
> value="value"
> />
>
> Whenever I submit my form, if the key has a either a single or double quote
> in it the value is never set. It's currently working for all other special
> characters.
>
> It's not an html encoding issue where an html attribute is getting cut off,
> and I can see that it's being sent correctly in the form data when I look
> at
> it in my browser's developer console. Does anyone have any ideas on what is
> possibly going wrong?
>
> -Eric
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to