I18n 程序的国际化(jsp中 绑定资源文件)
以下是一个简单的例子:(完成中英文切换)效果:
1, 准备一个jsp文件 实现以上格式的页面
<form action="" method="get">
<ahref="I18n.jsp?loc=zh_CN"><input type="button"id="ch" name="ch"value="中文"/></a>
<a href="I18n.jsp?loc=en_US"><input type="button"id="en" name