struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris <christal...@yahoo.fr>
Subject Re: Some problems with Struts-mailreader
Date Fri, 13 Nov 2015 09:18:38 GMT
Hello,  Thank you for giving methose explainations. So I've  tried withstruts2-core-2.5-20151112.202249-95.jar
orstruts2-core-2.5-20151104.175152-90.jar but I receive another error ( NB : Allthe 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
    atorg.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408)
    atorg.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237)  
 atorg.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1265)



     Le Vendredi 13 novembre 2015 10h17, Chris <christalkto@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 <christalkto@yahoo.fr> a écrit :
   

 

      Le Vendredi 13 novembre 2015 8h39, Chris <christalkto@yahoo.fr> a écrit :
   

 

      Le Jeudi 12 novembre 2015 20h28, Lukasz Lenart <lukaszlenart@apache.org> a écrit
:
   

 2015-11-12 18:24 GMT+01:00 Chris <christalkto@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


    

    

   

  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message