首页 > 代码库 > STURTS2 HELLOWORLD

STURTS2 HELLOWORLD

 

 

 

4.

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts PUBLIC	"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"	"http://struts.apache.org/dtds/struts-2.3.dtd">		<struts>		<package name="hello" namespace="/" extends="struts-default">		<action name="firstAction" class="cn.anstone.action.FirstAction">		<result name="success" type="dispatcher">helloworld.jsp</result>		</action>		</package> 			</struts>

STURTS2 HELLOWORLD