My bad, was using BETA1 :(

2015-10-30 8:50 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>:
> It works, just fetched the latest version and everything is ok, no
> errors, exceptions. Please check if you are using the latest version
> from Git
>
> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>:
>> Looks like a bug in 2.5. The Login action is defined as follow
>>
>> <action name="Login_*" method="{1}" class="mailreader2.Login">
>>
>> which means any method should be allowed - I'm going to check that
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> 2015-10-28 12:21 GMT+01:00 Chris <christal...@yahoo.fr>:
>>> Hello,
>>>
>>> I have some problems with the "new" mailreader sample in the 
>>> linkhttps://github.com/apache/struts-examples/tree/master/mailreader   with 
>>> Struts 2.5 BETA2
>>>
>>> PS :  my old mailreader example 2.3.16 works perfectly.And I try to 
>>> translate the tour.html to unterstand.
>>> But with the new one..Here are my lib or jar files
>>> - Struts2.5 BETA2 ( the same as form-xml-validation)
>>> - struts2-junit-plugin-2.5-BETA2.jar
>>> - struts-mailreader-dao-1.3.8.jar
>>> - spring-core-4.1.6.RELEASE.jar
>>> - spring-test-4.1.6.RELEASE.jar
>>> - commons-logging-1.1.3.jar
>>> - commons-beanutils-1.9.2.jar
>>> - commons-digester-2.1.jar
>>> First, the Login.jsp with good values ("user" and "pass") gives this error 
>>> ( And The Cancel button too!)
>>>
>>> = = = = = = = = = =  = = = = = = = =  = = = = = = =  = = =
>>>
>>>
>>> Struts Problem Report
>>>   Struts has detected an unhandled exception:
>>> | Messages: |
>>>    - This method: execute for action Login is not allowed!
>>>  |
>>>
>>>
>>> Stacktraces
>>>  This method: execute for action Login is not allowed! - [unknown location] 
>>>      
>>> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200)
>>>     
>>> org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
>>>     
>>> org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37)
>>>     
>>> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
>>>     
>>> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:543)
>>>     
>>> org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81)
>>>     
>>> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:102)
>>>     
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>     
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>     
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>     
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>     
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>     
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>     
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>     
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>>     
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>     
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>     
>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>>>     
>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>>     
>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
>>>     
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>     
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>     java.lang.Thread.run(Thread.java:722)
>>>      You are seeing this page because development mode is enabled. 
>>> Development mode, or devMode, enables extradebugging behaviors and reports 
>>> to assist developers. To disable this mode, set:  struts.devMode=false
>>> in your WEB-INF/classes/struts.properties file.
>>> = = = = = = = = = =  = = = = = = = =  = = = = = = =  = = =
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> |   |
>>> |   |  |   |   |   |   |   |
>>> | apache/struts-examplesstruts-examples - Mirror of Apache Struts |
>>> |  |
>>> | Afficher sur github.com | Aperçu par Yahoo |
>>> |  |
>>> |   |
>>>
>>>
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to