开发者

Mapping an action in the struts framework

开发者 https://www.devze.com 2023-03-18 02:28 出处:网络
I am facing problem in struts 1 , I want to call one action class for different url. Like service1.doservice2.do service3.do

I am facing problem in struts 1 , I want to call one action class for different url.

Like service1.do service2.do service3.do

i want to hit this service in same action class. and after i want to distinguish that request base on 开发者_如何学运维name of service in action configuration file.

And Yes i not require parameter funda. passing some parameter with url.that i can do by using dispatchAction.

I saw that i can do this thing in struts2 by adding one attribute 'method'in config file.

Please reply as soon as possible.

0

精彩评论

暂无评论...
验证码 换一张
取 消