你好!请问:jsp页面向后台servlet传递参数中的 “#” 丢失问题。带#号的值你是怎么处理的?

如题所述

第1个回答  2012-03-19
前台将#替换为一个中间字符,servlet接收到后,将中间字符替换回#即可
第2个回答  2012-03-18
链接中不能有带“#”的参数,#表示“锚点”,可用于a的定位
第3个回答  2012-03-19
you might be able to pass the hex value, like "%23". not sure though.本回答被提问者采纳
相似回答