Ach... right, support for "id" was dropped recently [1] - this must be fixed in the mailreader app - replacing "id" with "var" should solve the problem
[1] https://issues.apache.org/jira/browse/WW-2069 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2015-11-13 10:18 GMT+01:00 Chris <christal...@yahoo.fr>: > Hello, > > Thank you for giving me those explainations. > > So I've tried with struts2-core-2.5-20151112.202249-95.jar or > struts2-core-2.5-20151104.175152-90.jar but I receive another error ( NB : > All the jar files are the same as 2.5 BETA2 , except the struts-core ) > > The error is with the id (?) , in the /WEB-INF/jsp/Welcome.jsp (line: 26, > column: 8) > <s:url id="en" action="Welcome"> ....accordind to the TLD > > nov. 13, 2015 10:05:23 AM org.apache.catalina.core.ApplicationDispatcher > invoke > SEVERE: "Servlet.service()" pour la servlet jsp a lancé une exception > org.apache.jasper.JasperException: /WEB-INF/jsp/Welcome.jsp (line: 26, > column: 8) L'attribut id est incorrect pour le tag url d'après la TLD > indiquée > at > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) > at > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408) > at > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237) > at > org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1265) > > > > Le Vendredi 13 novembre 2015 10h17, Chris <christal...@yahoo.fr> a écrit : > > > Hello, > > Thank you for giving me those explainations. > > So I've tried with struts2-core-2.5-20151112.202249-95.jar or > struts2-core-2.5-20151104.175152-90.jar but I receive another error ( NB : > All the jar files are the same as 2.5 BETA2 , except the struts-core ) > > The error is with the id (?) , in the /WEB-INF/jsp/Welcome.jsp (line: 26, > column: 8) > <s:url id="en" action="Welcome"> ....accordind to the TLD > > nov. 13, 2015 10:05:23 AM org.apache.catalina.core.ApplicationDispatcher > invoke > SEVERE: "Servlet.service()" pour la servlet jsp a lancé une exception > org.apache.jasper.JasperException: /WEB-INF/jsp/Welcome.jsp (line: 26, > column: 8) L'attribut id est incorrect pour le tag url d'après la TLD > indiquée > at > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) > at > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408) > at > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237) > at > org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1265) > > > > Le Vendredi 13 novembre 2015 8h41, Chris <christal...@yahoo.fr> a écrit : > > > > > Le Vendredi 13 novembre 2015 8h39, Chris <christal...@yahoo.fr> a écrit : > > > > > Le Jeudi 12 novembre 2015 20h28, Lukasz Lenart <lukaszlen...@apache.org> a > écrit : > > > 2015-11-12 18:24 GMT+01:00 Chris <christal...@yahoo.fr>: >> Hello, >> >> I'm sorry . I don't use pom.xml in any of my examples. >> I work with Netbenas 7.3 and ant, I guess. But no maven. >> I have no idea what SNAPSHOT is, and how to use it, and where find it.Is >> it another version of all librairies ? > > SNAPSHOT is the latest development build > https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/ > >> 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) > > This is fixed in the latest development version > > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org