MyEclipse设置JSP页面默认编码方式以及设置在Java文件中作者、日期等说明
MyEclipse设置JSP页面默认编码方式:
windows(窗口)-Preferences(首选项)-MyEclipse-Files& Editors-JSP-右侧encoding:设置为ISO10646/Unicode(UTF-8)
MyEclipse在Java文件中设置作者、日期等说明:
windows(窗口)-Preferences(首选项)-Java-CodeStyle(代码样式)-CodeTemplates(代码模版)-右侧Comments(注释)-选择Types(类型)-点击edit(编辑)-输入如下信息
点击OK(确定)-选中左侧的代码样式-选择右侧复选框(Automaticallyadd Comments for new Methods and types)(自动为新方法和类型添加注释)-点击Apply(应用)-点击OK(确定)
Eclipse在Java文件中设置作者、日期等说明:
windows(窗口)-Preferences(首选项)-Java-CodeStyle-Code Templates-右侧Comments-选择Types-点击edit(编辑)-输入如下信息
点击OK-选中下面的复选框(Automaticallyadd Comments for new Methods and types)-点击Apply-点击OK