Struts2的Action类很有意思,你可以使用3种方式来实现具体的Action类:
- 让你的Action类继承自ActionSupport类(项目中最常用这种方式,因为ActionSupport类中定义了很多帮助方法)
- 让你的Action类实现Action接口
- 使用POJO的方式来实现,只要Action类中有一个返回值为String的execute方法就好了(这种方式使Action类最容易被测试)
以上三种Action的实现方式都可以被struts2框架自动识别,如果你在struts.xml里面配置了一个action块但是没有配置action类的路径,这样框架默认使用ActionSupport来处理请求。
但是在实际使用struts2的过程中我发现了一个问题,一个Action只有一个execute方法来处理一类请求,如果我开发的某块功能有100个不同的请求那我岂不是要写100个Action类,每个类实现一个execute方法,这样虽然满足了一个类一个责任的设计原则,但是会不会造成“类爆炸”?后来看了struts2的文档才知道,其实我们可以使用struts2灵活的通配符配置来达到减少action类的目的:
先来看看一个简单的时序图
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlkAAAHUCAIAAACGXKqLAAAgAElEQVR4nO2dz2tc2ZmGr7pL1sKK24uxllIvghQcGyIUxQSNbTl/QBbjabVpnLYZ3CDa4O7YNKglMipCI5oepcEbO90o0JEXIr0oGqLVoMXATGW8mEK9SGYEBYkNtVIWSsUuOkYRNYtDH27f+qGq0ind7/vu8y6M/NStU6fOV3XfOve+596o/k3VarV6M8HhcDgcbpVHAvsEh8PhcDheCIfD4XA4XgiHw+Fw+HFxvBAOh8PhWedRDSGEEMq2mBfC4XA4POscL4TD4XB41jleCIfD4fCsc7wQDofD4VnneCEcDofDs87xQjgcDodnnffLC5eWlvLNZIMffXykcZnjHIozztr5UcZfQv/7x4/nc5sF3pf1hUtLS7Ozs8tGNTs7u7i42I9xS0vU63hke5z7p6NU0PaYy/lsG1Bf5oX5fH55ebnp9gbU9N0FGbe0OPU6Hm57nPunfD6/uLjY9KFDx9/2mPt3J2p/opTjhV1Lzr41FKdex8Ntj3P/hBe2El4YkOOFXUvOvjUUp17Hw22Pc/+EF7YSXhiQ44VdS86+NRSnXsfDbY9z/4QXthJeGJDjhV1Lzr41FKdex8Ntj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M3KJujj1EsjJkQbh5Eg1cjteCIfD4XB4bxwvhMPhcHjWuR0vJJeoi1MvgZwcaRBOjlQjt7O+MIrsvJcsiHoJFEUJIoZRo+zMC8kl6uLUSyAnRxqEkyPVyO3UjFyiLk69BHJypEE4OVKN3I4XwuFwOBzeG8cL4XA4HJ51bscLySXq4tRLICdHCs8st+OFZDF0ceolkJOdgWeW44XwdDjZGYGc7Aw8s9zOOphcLpd2FxBCCKmUnXkhHA6Hw+G9cbwQDofD4VnneCEcDofDs87xQjgcDodnneOFcDgcDs86xwvhcDgcnnWOF8LhcDg869zO+kKEEEKoNzEvhMPhcHjWOV4Ih8Ph8KxzvBAOh8PhWed4IRwOh8OzzvFCOBwOh2ed44VwOBwOzzrHC+FwOByedc76QoQQQlkX80I4HA6HZ53jhXA4HA7POscL4XA4HJ51jhfC4XA4POscL4TD4XB41jleCIfD4fCs8/8H8zHroRJQ/1UAAAAASUVORK5CYII=" alt="" />
请求从这个页面发起,只是简单的两个链接
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<a href="infoadd">ADD INFO</a><br>
<a href="infodel">DEL INFO</a><br>
</body>
</html>
请求的控制转发是在struts.xml里面配置的
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="true" />
<package name="mypack" extends="struts-default">
<action name="info*" class="com.stone.struts2.action.MyFirstAction" method="{1}">
<result>/{1}info.jsp</result>
<allowed-methods>add,del</allowed-methods>
</action>
</package>
</struts>
上面这个XML的配置内容有几点需要注意:
- 我开启了struts2的RMI,apache struts基于安全性考虑,RMI默认是关闭的。
- 大家看到action name的值跟平常有点不一样,我使用了星号通配符用来匹配JSP中的两个链接:infoadd和infodel, 要配置method="{1}", 这样要被调用的method名字就分别是add和del了。
- result的JSP页面的名字也可以用通配符来配置,我分别定义了两个JSP,addinfo.jsp和delinfo.jsp,这样正好一一对应。
- 注意在struts2.5之后,基于安全性考虑struts2默认开启了SMI,必须显示定义Action中能被请求调用的方法,所以我有配置<allowed-methods>
看看这个Action类
public class MyFirstAction extends ActionSupport { public String add() {
return SUCCESS;
} public String del() {
return SUCCESS;
}
}
这个demo是为了测试struts2的通配符配置,所以两个JSP里面的内容只是返回一句话而已,这里我就不贴出来了,现在看看调用,我点第一个链接:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABFCAIAAABSRDSXAAAD10lEQVR4nO2cO5KbQBBA9xw6DnfQHUg4xkRb5EoISZwQUGTOOICLjNvgAIHm0w3Saq1G6/eKSEbMeHnb8+me/fj1+w8Xl9X1MQHYgX9gCf6BJfgHluAfWIJ/YAn+gSX4B5bgH1iCf2AJ/oEl+AeW4B9Ycqd/vTt9uib8rKnPp8/0KspxvaXLhRvOp0s1iK2MVeY/p3XSM/12XS734Zz3+mPHpF0w4y7/hvJyPn2eszbRZqyy4I1e7zzV3e2jtgiEW2wIFPFo6lDQ3gnKjlW2NhH3YZp6tz68qUPneif/R8CGe/wbq+zi8osUt9J3v8Sn1YDYv2la4mIcUG9f9/Sdepe3VRY6PY1Vvjok9eHWdCp67zbsh9dyh39Nfc77+V0mr1l+913uRSzJv604JPjXJyap/g1lvbY1lOLvTNg9MGXfvy6/BqouT42R/ZtH4Wt4k/0bk5C2IPo3RSOp6l+Xr22pTQTdA1P2/BvaYnWuqZPXpox9viuyf3oQ0vwLvhL7Jy1uthVnIXIIdvwbyks8eU+Wli+Kf8G3nop/0i8S2LDtX++E3Y1wHfCa+d/KdSLYquuPpmX+90Zs+jevPHyGtggix2vWv31yg+8u6983ZsO/3qnBQ917E3YKlf0/dfq161+8EhqrbHs3kf2/46L4N0eOUxSlgpm+lnvwo5qS/5DmZMnzi3JcdrOl/ed5/A1yMNpjg1kEy45DQf4XLME/sET1T87r/6zrlT9oECH+gSX4B5bgH1iCf2AJ/oEl+AeWaP5FRU1SjkE5/zHf46Uu9pL9YQ6jun0xLnS4fp7VTu5b0ErQARJuR2Wv/iBKxcYpLCH371VA9e7efFecw73ak1QeeHUuUd/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dNqu12FjQugBcwaCaXnGorHtehI9H1GgCodnjTFzYadHjmACOyMSzoZbBv4Scqtm1+sw103ObxXrAsgWVIotvXTt2auCUYy8PX8kvCmlZ5v5IywdkB1X1gOKzOQv/k2f5Acidmy7yG6pO19fwtzPFyNJkphR7HqdjiRx67F0BF1yPcUd5KlQT2Gblf1WsS6AbEG92AQXT6gYRCdS9ug40qayIwhakfBTsqdIkhKFn7TYKJJEAxt3c+AJSoXYKMxAdr2OKZBF4zPpSmpuifsVr1mV3yrWBZAtLEdsvMskuNyCy7McseGvrCqxIZJQsl/qygs1SbEhdRQ+PwgPCIxFhSEzvSCrIIrCPNty/mLTnpLY1PmtYl0A2cKyxIZeJtG2gOhJQFZs0qayI4i2CJYtNl5YicSGGVkyaHnxyTPGphNuBwjJKjq9Hacc5OlMJFDWqZWKTZiSldYFkC1kK7MhmyPS9hnImyp6gFY70s/x0mJD4nBVmY0nA9ZYonhjp+cyFasokXJQreHVtnqxCTOb9LoAsoWn65lNeCp6yWc2wWbEcp7ZsP0FCYTZqpdaStwOv2gPNpvPbLLrAsgWsrsbyd4RcVJhL6u8qbQHUq3YJzd5saUxe97Z243EhLlow0Wn4xWqfD9wSy94K6EsNtW7kQrrAsgWlveejZdUMC/LeDd60RthieASmCIz4qox3D1eqlaSFZtoCrl3g6res4mzExrT0tY8LYlXgrUQrL7EQ7X4LZrCezaldQFkC6q/IFGsc5Y6SX4FQlJKpjgP+FWR9MBSZ6DT25Hfope3JPvUhD1TFFJ7IBLGuDNFnqeQRzjusI4dSSgspJ1ngspZYkkk926U1wWQVcC3kQCARgCxAQAaAcQGAGgEEBsAoBFAbACARgCxAQAaAcQGAGgEEBsAoBFAbACARgCxAQAaAcQGAGgEEBsAoBFAbACARgCxAQAaAcQGAGiE/weCtGucfe+DUwAAAABJRU5ErkJggg==" alt="" />
由此可见,struts2的通配符配置真的是很灵活很强大滴,这样我们在实际项目开发中可以少写很多Action类并减少很多配置。