MyEclipse关于Structs
1. MyEclipse视图窗口切换navigation窗口可以显示workspace目录下的内容,一般使用的是Package Explorer
2. 载入Structs源代码
在jar包上右键->properties->java source attachment
在jar包上右键->properties->javadoc location
3.写xml文档的时候出现提示
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
http://struts.apache.org/dtds/struts-2.0.dtd是文档的位置
还可以配置
3. 拷贝项目需要注意
将properties->web 中的
修改掉
4. 修改默认编码
默认是ISO8859-1
默认建出来的encoding、pageEncoding、charset会相应的改变
Structs
1.structs.xml转换成开发模式
<constant name="struts.devMode" value="true" />
1. MyEclipse视图窗口切换navigation窗口可以显示workspace目录下的内容,一般使用的是Package Explorer
2. 载入Structs源代码
在jar包上右键->properties->java source attachment
在jar包上右键->properties->javadoc location
3.写xml文档的时候出现提示
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
http://struts.apache.org/dtds/struts-2.0.dtd是文档的位置
还可以配置
3. 拷贝项目需要注意
将properties->web 中的
修改掉
4. 修改默认编码
默认是ISO8859-1
默认建出来的encoding、pageEncoding、charset会相应的改变
Structs
1.structs.xml转换成开发模式
<constant name="struts.devMode" value="true" />