在jsp,servlet中设置contentType="application/x-javascript; charset=UTF-8"后可以动态生成js角本,可以应用在比如动态菜单,可定制的前端的模块等等