Re: When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-12 Thread Yasser Zamani
On 9/10/2022 9:27 AM, wwyyzz_001 wrote: "login" action is defined in default namespase."success" result is defined in global-results,result type is json. Where in which package you've defined the global-results? Could you share please its definition? Have you extended strus-default? Inv

Re: When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-11 Thread Lukasz Lenart
pon., 12 wrz 2022 o 07:30 wwyyzz_001 <517654...@qq.com.invalid> napisał(a): > > No,I used struts.convention.action.mapallmatches because some people say that > with this configuration can solve problem.But it doesn't work. Ok, so you don't use the Convention plugin - just enabling an option witho

Re: When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-11 Thread wwyyzz_001
No,I used struts.convention.action.mapallmatches because some people say that with this configuration can solve problem.But it doesn't work. My original struts.xml file (see attachment). Regards Mark Wang --  -- ??:

Re: When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-11 Thread Lukasz Lenart
niedz., 11 wrz 2022 o 12:51 wwyyzz_001 <517654...@qq.com.invalid> napisał(a): > > Also do you use the Convention plugin? > Yes,I have defined the following in xwork-conversion.properties: > wisdom.common.DataTablesInput=wisdom.common.DataTablesConvert I was asking about the Convention plugin not c

Re: When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-11 Thread wwyyzz_001
> Have you tried to use earlier version of 2.5 and then switch version by version? No,I'll try it later. > Also do you use the Convention plugin? Yes,I have defined the following in xwork-conversion.properties: wisdom.common.DataTablesInput=wisdom.common.DataTablesConvert See attachment for sou

Re: When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-11 Thread Lukasz Lenart
Could you answer my questions first? > Have you tried to use earlier version of 2.5 and then switch version by > version? > Also do you use the Convention plugin? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ -

Re: When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-09 Thread Łukasz Lenart
; >         at > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) > > [catalina.jar:8.5.61] > >         at > > org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616) > > [tomcat-coyote.jar:8.5.61] > >      

Re: When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-09 Thread Łukasz Lenart
.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831) > [tomcat-coyote.jar:8.5.61] >         at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1634) > [tomcat-coyote.jar:8.5.61] >         at > org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) > [tomcat-coyote.jar:8.5.61] >  

?????? When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-09 Thread wwyyzz_001
In Struct 2.3.34,when namespase="" is default namespase. If invoke http://localhost:8080/wisdomcampus-gs/user/login,because /user not define,Struct find action in default namespase,so everythiong is ok. But In Struct 2.5.30,config(struts.xml) is not change,invoke http://localhost:8080/wisdomcam

Re: When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-08 Thread Lukasz Lenart
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 -- Łu

When Struct 2.3.34 update Struct 2.5.30,the original interface cannot be accessed

2022-09-08 Thread wwyyzz_001
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/login can invoke,result is same. Use Struct 2.5.30,one interfa