Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 有没有办法键入“的?”+&引用;在文本字段中?_Html_Grails - Fatal编程技术网

Html 有没有办法键入“的?”+&引用;在文本字段中?

Html 有没有办法键入“的?”+&引用;在文本字段中?,html,grails,Html,Grails,您是否使用GET请求?POST请求不应该有这样的问题,因为参数不会以HTML方式编码 when i type "name+2" in text field and submit i get "name 2" in my controller is there any way to send "name+2" like html decoded... i dono.... 试试这个,它应该可以在你的代码中使用。我们都不想键入+;而不是+输入输出文本字段 + Returns

您是否使用GET请求?POST请求不应该有这样的问题,因为参数不会以HTML方式编码

when i type "name+2" in text field and submit i get "name 2" in my controller

is there any way to send "name+2" like html decoded... i dono....

试试这个,它应该可以在你的代码中使用。

我们都不想键入+;而不是+输入输出文本字段
+ Returns + in HTML