As far I see you have defined "/login" action under default namespace
"/" and you don't have namespace called "/user" - which means is
working according to the config.
https://issues.apache.org/jira/secure/attachment/13049087/struts.xml
https://issues.apache.org/jira/browse/WW-5222
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
pt., 9 wrz 2022 o 04:06 wwyyzz_001 <517654...@qq.com.invalid> napisał(a):
>
> Dear all:
>
> Use Struct 2.3.34,one interface can invoke by two ways,example:
>
> http://localhost:8080/wisdomcampus-gs/login; can invoke, the interface
> can also be called under the subdirectory,
>
> http://localhost:8080/wisdomcampus-gs/user/logincan invoke,result is
> same.
>
> Use Struct 2.5.30,one interface only invoke by one way, example:
>
> http://localhost:8080/wisdomcampus-gs/login; can invoke, the interface
> can't be called under the subdirectory,
>
> http://localhost:8080/wisdomcampus-gs/user/logincan't invoke,
> return error: No result defined for action wisdom.user.action.LoginAction and
> result success.
>
>
>
>
> Why? How to config in Struct 2.5.30, can realization same result in
> Struct 2.3.34?
>
> Look forward to your reply, thank you!
>
>
>
>
> Mark wang
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org