Struts 配置骨架
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Config 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<data-sources>
<data-source>
<set-property name="${}" value="${}"/>
</data-source>
</data-sources>
<form-beans>
<form-bean name="${}" type="${}">
<form-property name="${}" type="${}"/>
</form-bean>
</form-beans>
<global-exceptions>
<exception type="${}" key="${}" path="${}"/>
</global-exceptions>
<global-forwards>
<forward name="${}" path="${}"/>
</global-forwards>
<action-mappings>
<action path="${}" type="${}" name="${}" scope="${}" validate="${}" input="${}">
<forward
name="${}"
path="${}"/>
<exception
type="${}"
key="${}"
path="${}"/>
</action>
</action-mappings>
<controller processorClass="${}" />
<form-beans>
<form-bean
name="${}"
type="${}">
<form-property
name="${}"
type="${}"/>
</form-bean>
</form-beans>
<global-exceptions>
<exception
type="${}"
key="${}"
path="${}"/>
</global-exceptions>
<global-forwards>
<forward name="${}" path="${}"/>
</global-forwards>
<action-mappings>
<action path="${}" type="${}" name="${}" scope="${}" validate="${}" input="${}">
<forward name="${}" path="${}"/>
<exception type="${}" key="${}" path="${}"/>
</action>
</action-mappings>
<controller processorClass="${}" />
<message-resources parameter="${}"/>
<plug-in className="${}">
<set-property property="${}" value="${}"/>
</plug-in>
</struts-config>
Struts 配置骨架,有误之处还望大家指出!(*^__^*) 嘻嘻……
补充:Jsp教程,Java基础