Re: Lang

2018-02-10 Thread Yasser Zamani


On 2/9/2018 9:17 PM, Deborah White wrote:
> I have this:
> 
> 
> 
> It doesn't seem to like lang=es
> 
> Help?

Do you look for something like below described at [1]?


es


[1]
https://struts.apache.org/getting-started/message-resource-files.html#internationalization-i18n


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



Re: Lang

2018-02-09 Thread Martin Gainty
Buenas Noches

your implementation of AbstractBeanProvider needs to supply 
struts-messages_es.properties

in WEB-INF/classes/org/apache/struts2 folder


if you have no impl of AbstractBeanProvider use 
org.apache.struts2.config.DefaultBeanSelectionProvider

public void register(ContainerBuilder builder, LocatableProperties props) {

...find your way to LocalizedTextUtil.addDefaultResourceBundle to add in your 
_es properties:


LocalizedTextUtil.addDefaultResourceBundle("org/apache/struts2/struts-messages_es");
loadCustomResourceBundles(props);

in org/apache/struts2/default.properties point struts.custom.i18n.resources to 
your properties:
struts.custom.i18n.resources=struts_messages_es

i will leave org/apache/struts2/struts-messages_es.properties as ejercicio de 
traducción

Un Saludo desde Nueva Inglaterra
Martín
__



From: Deborah White <deborah.wh...@doj.ca.gov>
Sent: Friday, February 9, 2018 12:47 PM
To: Struts Users Mailing List
Subject: Lang

I have this:



It doesn't seem to like lang=es

Help?

CONFIDENTIALITY NOTICE: This communication with its contents may contain 
confidential and/or legally privileged information. It is solely for the use of 
the intended recipient(s). Unauthorized interception, review, use or disclosure 
is prohibited and may violate applicable laws including the Electronic 
Communications Privacy Act. If you are not the intended recipient, please 
contact the sender and destroy all copies of the communication.


Lang

2018-02-09 Thread Deborah White
I have this:



It doesn't seem to like lang=es

Help?

CONFIDENTIALITY NOTICE: This communication with its contents may contain 
confidential and/or legally privileged information. It is solely for the use of 
the intended recipient(s). Unauthorized interception, review, use or disclosure 
is prohibited and may violate applicable laws including the Electronic 
Communications Privacy Act. If you are not the intended recipient, please 
contact the sender and destroy all copies of the communication.


Re: spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164

2017-08-02 Thread Rubens Gomes
I am back to *no* longer using the spring+struts plugin.  I chose to have 
actions be created by the struts framework instaead to avoid issues.

Sent from Outlook

From: Christoph Nenning <christoph.nenn...@lex-com.net>
Sent: Monday, July 31, 2017 3:49 AM
To: Struts Users Mailing List
Subject: Re: spring struts 2:  Unexpected Exception caught setting 'lang' on 
'class com.sun.proxy.$Proxy164

Hi,

seems to me like a issue with spring setup. Can you share that?


Regards,
Christoph



> From: Rubens Gomes <rubens_go...@hotmail.com>
> To: "user@struts.apache.org" <user@struts.apache.org>,
> Date: 30.07.2017 22:54
> Subject: spring struts 2:  Unexpected Exception caught setting
> 'lang' on 'class com.sun.proxy.$Proxy164
>
> I am using the Spring + Struts 2 Plugin, and I am getting an error
> from the Struts2 ParameterInteceptor (see below) when setting
> request parameters sent on the URL.  My Actions are being created by
> the Spring factory.  And I *do* have the proper properties setters
> in my class (see below).
>
> In the URL below, the "lang" and "redirectURL" , both lang/
> redirectURL are not being set.
>
> http://localhost:8080/locale/change-locale.do?lang=en=%
> 2Fsecurity%2Fview-login.do
>
>
> 07-30 13:49:05.187 DEBUG [http-nio-8080-exec-5]
> c.o.x.i.ParametersInterceptor - Setting params lang => enredirectURL =>
> 07-30 13:49:05.188 DEBUG [http-nio-8080-exec-5]
> c.o.x.i.ParametersInterceptor - Parameter [lang] was accepted and
> will be appended to action!
> 07-30 13:49:05.188 DEBUG [http-nio-8080-exec-5]
> c.o.x.i.ParametersInterceptor - Parameter [redirectURL] was accepted
> and will be appended to action!
> ...
> 07-30 13:49:05.235 ERROR [http-nio-8080-exec-5]
> c.o.x.i.ParametersInterceptor - Developer Notification (set
> struts.devMode to false to disable this message):
> Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.
> $Proxy164: Error setting expression 'lang' with value ['en', ]
> 07-30 13:49:05.236 DEBUG [http-nio-8080-exec-5]
> c.o.x.c.i.InstantiatingNullHandler - Entering nullPropertyValue
> [target=[com.ezlista.web.struts2.action.ChangeLocaleAction@4bfd8bce,
> com.opensymphony.xwork2.DefaultTextProvider@18e0976d], property=devmode]
> 07-30 13:49:05.245 ERROR [http-nio-8080-exec-5]
> c.o.x.i.ParametersInterceptor - Developer Notification (set
> struts.devMode to false to disable this message):
> Unexpected Exception caught setting 'redirectURL' on 'class
> com.sun.proxy.$Proxy164: Error setting expression 'redirectURL' with
> value ['', ]
>
>
>
> @Scope("request")
> @Controller
> @SuppressWarnings("serial")
> @Namespace("/locale")
> @Results( {
>   @Result(name=Action.INPUT,
>   location="/error.do",
>   type="dispatcher"),
>   @Result(name=Action.SUCCESS,
>   location="${redirectURL}",
>   type="dispatcher")
> } )
> public class ChangeLocaleAction extends BaseAction
> {
> private String lang;
> private String redirectURL;
>
>
> public ChangeLocaleAction()
> {
> super();
> }
>
>
>@Override
> public String execute()
> {
> //  code not displayed
> }
>
>
> /**
>  * @return the redirectURL
>  */
> public String getRedirectURL()
> {
> return redirectURL;
> }
>
>
>
> /**
>  * @param url the redirectURL to set
>  */
> public void setRedirectURL(String url)
> {
>   //  _->>>>>> NOT BEING CALLED <<<< 
> this.redirectURL = url;
> }
>
>
> /**
>  * @return the lang
>  */
> public String getLang()
> {
> return lang;
> }
>
>
> /**
>  * @param lang the lang to set
>  */
> public void setLang(String lang)
> {
>   //  _->>>>>> NOT BEING CALLED <<<< 
> this.lang = lang;
> }
>
> }
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>

This Email was scanned by Sophos Anti Virus

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



Re: spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164

2017-07-31 Thread Christoph Nenning
Hi,

seems to me like a issue with spring setup. Can you share that?


Regards,
Christoph



> From: Rubens Gomes <rubens_go...@hotmail.com>
> To: "user@struts.apache.org" <user@struts.apache.org>, 
> Date: 30.07.2017 22:54
> Subject: spring struts 2:  Unexpected Exception caught setting 
> 'lang' on 'class com.sun.proxy.$Proxy164
> 
> I am using the Spring + Struts 2 Plugin, and I am getting an error 
> from the Struts2 ParameterInteceptor (see below) when setting 
> request parameters sent on the URL.  My Actions are being created by
> the Spring factory.  And I *do* have the proper properties setters 
> in my class (see below).
> 
> In the URL below, the "lang" and "redirectURL" , both lang/
> redirectURL are not being set.
> 
> http://localhost:8080/locale/change-locale.do?lang=en=%
> 2Fsecurity%2Fview-login.do
> 
> 
> 07-30 13:49:05.187 DEBUG [http-nio-8080-exec-5] 
> c.o.x.i.ParametersInterceptor - Setting params lang => enredirectURL => 
> 07-30 13:49:05.188 DEBUG [http-nio-8080-exec-5] 
> c.o.x.i.ParametersInterceptor - Parameter [lang] was accepted and 
> will be appended to action!
> 07-30 13:49:05.188 DEBUG [http-nio-8080-exec-5] 
> c.o.x.i.ParametersInterceptor - Parameter [redirectURL] was accepted
> and will be appended to action!
> ...
> 07-30 13:49:05.235 ERROR [http-nio-8080-exec-5] 
> c.o.x.i.ParametersInterceptor - Developer Notification (set 
> struts.devMode to false to disable this message):
> Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.
> $Proxy164: Error setting expression 'lang' with value ['en', ]
> 07-30 13:49:05.236 DEBUG [http-nio-8080-exec-5] 
> c.o.x.c.i.InstantiatingNullHandler - Entering nullPropertyValue 
> [target=[com.ezlista.web.struts2.action.ChangeLocaleAction@4bfd8bce,
> com.opensymphony.xwork2.DefaultTextProvider@18e0976d], property=devmode]
> 07-30 13:49:05.245 ERROR [http-nio-8080-exec-5] 
> c.o.x.i.ParametersInterceptor - Developer Notification (set 
> struts.devMode to false to disable this message):
> Unexpected Exception caught setting 'redirectURL' on 'class 
> com.sun.proxy.$Proxy164: Error setting expression 'redirectURL' with
> value ['', ]
> 
> 
> 
> @Scope("request")
> @Controller
> @SuppressWarnings("serial")
> @Namespace("/locale")
> @Results( {
>   @Result(name=Action.INPUT,
>   location="/error.do",
>   type="dispatcher"),
>   @Result(name=Action.SUCCESS,
>   location="${redirectURL}",
>   type="dispatcher")
> } )
> public class ChangeLocaleAction extends BaseAction
> {
> private String lang;
> private String redirectURL;
> 
> 
> public ChangeLocaleAction()
> {
> super();
> }
> 
> 
>@Override
> public String execute()
> {
> //  code not displayed
> }
> 
> 
> /**
>  * @return the redirectURL
>  */
> public String getRedirectURL()
> {
> return redirectURL;
> }
> 
> 
> 
> /**
>  * @param url the redirectURL to set
>  */
> public void setRedirectURL(String url)
> {
>   //  _->>>>>> NOT BEING CALLED <<<< 
> this.redirectURL = url;
> }
> 
> 
> /**
>  * @return the lang
>  */
> public String getLang()
> {
> return lang;
> }
> 
> 
> /**
>  * @param lang the lang to set
>  */
> public void setLang(String lang)
> {
>   //  _->>>>>> NOT BEING CALLED <<<< 
> this.lang = lang;
> }
> 
> }
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 

This Email was scanned by Sophos Anti Virus


spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164

2017-07-30 Thread Rubens Gomes
I am using the Spring + Struts 2 Plugin, and I am getting an error from the 
Struts2 ParameterInteceptor (see below) when setting request parameters sent on 
the URL.  My Actions are being created by the Spring factory.  And I *do* have 
the proper properties setters in my class (see below).

In the URL below, the "lang" and "redirectURL" , both lang/redirectURL are not 
being set.

http://localhost:8080/locale/change-locale.do?lang=en=%2Fsecurity%2Fview-login.do


07-30 13:49:05.187 DEBUG [http-nio-8080-exec-5] c.o.x.i.ParametersInterceptor - 
Setting params lang => enredirectURL => 
07-30 13:49:05.188 DEBUG [http-nio-8080-exec-5] c.o.x.i.ParametersInterceptor - 
Parameter [lang] was accepted and will be appended to action!
07-30 13:49:05.188 DEBUG [http-nio-8080-exec-5] c.o.x.i.ParametersInterceptor - 
Parameter [redirectURL] was accepted and will be appended to action!
...
07-30 13:49:05.235 ERROR [http-nio-8080-exec-5] c.o.x.i.ParametersInterceptor - 
Developer Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164: 
Error setting expression 'lang' with value ['en', ]
07-30 13:49:05.236 DEBUG [http-nio-8080-exec-5] 
c.o.x.c.i.InstantiatingNullHandler - Entering nullPropertyValue 
[target=[com.ezlista.web.struts2.action.ChangeLocaleAction@4bfd8bce, 
com.opensymphony.xwork2.DefaultTextProvider@18e0976d], property=devmode]
07-30 13:49:05.245 ERROR [http-nio-8080-exec-5] c.o.x.i.ParametersInterceptor - 
Developer Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting 'redirectURL' on 'class 
com.sun.proxy.$Proxy164: Error setting expression 'redirectURL' with value ['', 
]



@Scope("request")
@Controller
@SuppressWarnings("serial")
@Namespace("/locale")
@Results( {
  @Result(name=Action.INPUT,
  location="/error.do",
  type="dispatcher"),
  @Result(name=Action.SUCCESS,
  location="${redirectURL}",
  type="dispatcher")
} )
public class ChangeLocaleAction extends BaseAction
{
private String lang;
private String redirectURL;


public ChangeLocaleAction()
{
super();
}


   @Override
public String execute()
{
//  code not displayed
}


/**
 * @return the redirectURL
 */
public String getRedirectURL()
{
return redirectURL;
}



/**
 * @param url the redirectURL to set
 */
public void setRedirectURL(String url)
{
  //  _->>>>>> NOT BEING CALLED <<<< 
    this.redirectURL = url;
}


    /**
 * @return the lang
 */
public String getLang()
{
return lang;
}


/**
 * @param lang the lang to set
     */
public void setLang(String lang)
{
  //  _->>>>>> NOT BEING CALLED <<<< 
this.lang = lang;
}

}

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



RE: java.lang.NoSuchMethodError: org.apache.struts.config.ModuleConfig.findActionConfigId(Ljava/lang/String;)

2014-10-28 Thread ev.srinivas
Using the above steps,
1.Start server.
2.Remove the EAR file from servers tab in eclipse.
3.Restart server
4.The error will be gone on loading login page of application server.
5.Deploy your application(EAR file ) again.



--
View this message in context: 
http://struts.1045723.n5.nabble.com/java-lang-NoSuchMethodError-org-apache-struts-config-ModuleConfig-findActionConfigId-Ljava-lang-Stri-tp3477789p5716832.html
Sent from the Struts - User mailing list archive at Nabble.com.

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



java.lang.NoSuchMethodError: org.apache.struts.config.ModuleConfig.findActionConfigId(Ljava/lang/String;)

2008-04-03 Thread DWilkerson
Hello all.

I am using MyEclipse, JBoss 4.0.2, and Struts 1.3.8. I have an exploded war
file directory that contains the skeleton files for my Struts app. When I
deploy to JBoss using the MyEclipse facilities for this, I get a
java.lang.NoSuchMethodError:
org.apache.struts.config.ModuleConfig.findActionConfigId(Ljava/lang/String;)

I tried posting on the MyEclipse forums for this, but their support people
advised to cross post on some Struts forums too. My stack trace and product
version info is below. Thanks in advance!!

dw

Daniel Wilkerson
SPARTA, Inc.
13501 Ingenuity Drive - Suite 132
Orlando, Fl. 32826-3009
TEL:(407)380-0076 ext.121
IDE: (321)235-7667
email:[EMAIL PROTECTED] 

==
Environment Info:
==
I am using the following products:
Eclipse Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
Build id: M20070921-1145

MyEclipse Version: 6.0.1.zmyeclipse601200710
Build id: 6.0.1-GA-200710

JBoss 4.0.2

Struts 1.3.8.

==
Offending Lines of Code (Tomcat Generated Servlets)
==
I checked the generated servlets to see the offending lines of code getting
executed in the stack trace below. The exception was thrown at lines 68 and
then again at 95.

* line 68 is:if (_jspx_meth_html_form_0(_jspx_page_context)) return;

* line 95 is: int _jspx_eval_html_form_0 =
_jspx_th_html_form_0.doStartTag();

==
The stack trace in my JBoss console is:
==
12:38:58,226 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NoSuchMethodError:
org.apache.struts.config.ModuleConfig.findActionConfigId(Ljava/lang/String;)
Lorg/apache/struts/config/ActionConfig;
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:823)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:467)
at
org.apache.jsp.form.exerciseControlViewInput_jsp._jspx_meth_html_form_0(org.
apache.jsp.form.exerciseControlViewInput_jsp:95)
at
org.apache.jsp.form.exerciseControlViewInput_jsp._jspService(org.apache.jsp.
form.exerciseControlViewInput_jsp:68)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
22)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:153)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThre
ad.java:112)
at java.lang.Thread.run(Thread.java:595)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: java.lang.NoSuchMethodError: org.apache.struts.config.ModuleConfig.findActionConfigId(Ljava/lang/String;)

2008-04-03 Thread Antonio Petrelli
2008/4/3, DWilkerson [EMAIL PROTECTED]:

 I am using MyEclipse, JBoss 4.0.2, and Struts 1.3.8

...
 java.lang.NoSuchMethodError:

 org.apache.struts.config.ModuleConfig.findActionConfigId(Ljava/lang/String;)



ModuleConfig.findActionConfigId has been introduced since Struts 1.3.6.
http://struts.apache.org/1.x/apidocs/org/apache/struts/config/ModuleConfig.html#findActionConfigId(java.lang.String)

Probably you are messing with JARs of the taglib and the core. Are you sure
that they are of the same Struts version?

Antonio


RE: java.lang.NoSuchMethodError: org.apache.struts.config.ModuleConfig.findActionConfigId(Ljava/lang/String;)

2008-04-03 Thread DWilkerson
Thanks for the reply Antonio. I sincerely appreciate it. 

I solved the problem. Figures as soon as I go on a posting spree...lol. It's
the way it always works. 

When clicking Redeploy in MyEclipse to push your updated files to the
server, MyEclipse didn't delete the Struts 2 jars from my deployed
WEB-INF/lib directory. I had been experimenting with Struts 2. Now, I can
see why I got that error. The fix was to remove the war file using the
remove button on the MyEclipse deployment dialog, bounce JBoss, then
redeploy. Now only the 1.3.8 jars are there and no more error. Life is good
again. 

Thanks again!
dw 

-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 03, 2008 11:05 AM
To: Struts Users Mailing List
Subject: Re: java.lang.NoSuchMethodError:
org.apache.struts.config.ModuleConfig.findActionConfigId(Ljava/lang/String;)

2008/4/3, DWilkerson [EMAIL PROTECTED]:

 I am using MyEclipse, JBoss 4.0.2, and Struts 1.3.8

...
 java.lang.NoSuchMethodError:

 org.apache.struts.config.ModuleConfig.findActionConfigId(Ljava/lang/St
 ring;)



ModuleConfig.findActionConfigId has been introduced since Struts 1.3.6.
http://struts.apache.org/1.x/apidocs/org/apache/struts/config/ModuleConfig.h
tml#findActionConfigId(java.lang.String)

Probably you are messing with JARs of the taglib and the core. Are you sure
that they are of the same Struts version?

Antonio



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



MessageResourcesFactory.createFactory java.lang.VerifyError: (class: org/apache/struts/util/RequestUtils, method: getActionMappingURL signature: (Ljava/lang/String;Ljavax/servlet/jsp/PageContext;

2006-12-18 Thread malin76

Hi,

I'm having problems starting up an Struts application in Websphere
application server. Below is the error message I get, does anyone know how
to fix this?

Thanks, 

Malin

INFO org.apache.struts.action.ActionServlet  - inside init
[2006-12-18 11:46:45:340 CET] 33b9f334 SystemOut O 2000 [Thread-1] ERROR
org.apache.struts.util.MessageResourcesFactory  -
MessageResourcesFactory.createFactory
java.lang.VerifyError: (class: org/apache/struts/util/RequestUtils, method:
getActionMappingURL signature:
(Ljava/lang/String;Ljavax/servlet/jsp/PageContext;)Ljava/lang/String;)
Incompatible object argument for method call
at
org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
at
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1354)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
at
com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:876)
at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
at
com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1279)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:392)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:211)
at
com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1005)
at
com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
at
com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at 
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at
com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at 
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at
com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:92)
[2006-12-18 11:46:45:356 CET] 33b9f334 ServletInstan E SRVE0100E: Did not
realize  init() exception thrown by servlet ActionServlet:
javax.servlet.ServletException
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:99)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113

Re: xhtml 1.1 strict lang attributes

2005-09-25 Thread Xavier Vanderstukken

It is the same behavior if I remove the locale attribute.
I also found no valid javascript in the page :

script language=JavaScript
!--

function SymError()
{
 return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
 return (new Object());
}

window.open = SymWinOpen;

//--
/script

What generates that script because the struts validator javascript scripts are 
well formed :
script type=text/javascript 
//![CDATA[


var bCancel = false; 

   function validateUserForm(form) {   





Laurie Harper wrote:

Note that the 'locale' attribute is deprecated. What happens if you 
remove it? I think that might be what's causing the 'lang' attribute 
to be generated.


L.

Xavier Vanderstukken wrote:


In the top on my jsp page :
html:html xhtml=true locale=true

The generated html page looks like that :

html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en

-- 2lang attributes

and the w3c validation fails :
/Result:
Failed validation, 1 error
/

/
Error /Line 8 column 48/: there is no attribute lang./

/|html xmlns=http://www.w3.org/1999/xhtml; lang=**fr-BE 
xml:lang=fr-BE|/


/ You have used the attribute named above in your document, but the 
document type you are using does not support that attribute for this 
element. This error is often caused by incorrect use of the Strict 
document type with a document that uses frames (e.g. you must use the 
Transitional document type to get the target attribute), or by 
using vendor proprietary extensions such as marginheight (this is 
usually fixed by using CSS to achieve the desired effect instead). /


/ This error may also result if the element itself is not supported 
in the document type you are using, as an undefined element will have 
no supported attributes; in this case, see the element-undefined 
error message for further information. /


/ How to fix: check the spelling and case of the element and 
attribute, (Remember XHTML is all lower-case) and/or check that they 
are both allowed in the chosen document type, and/or use CSS instead 
of this attribute./







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



xhtml 1.1 strict lang attributes

2005-09-24 Thread Xavier Vanderstukken

In the top on my jsp page :
html:html xhtml=true locale=true

The generated html page looks like that :

html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en

-- 2lang attributes

and the w3c validation fails :
/Result:
   
 Failed validation, 1 error

/

/
Error /Line 8 column 48/: there is no attribute lang./

/|html xmlns=http://www.w3.org/1999/xhtml; lang=**fr-BE xml:lang=fr-BE|/

/ You have used the attribute named above in your document, but the 
document type you are using does not support that attribute for this 
element. This error is often caused by incorrect use of the Strict 
document type with a document that uses frames (e.g. you must use the 
Transitional document type to get the target attribute), or by using 
vendor proprietary extensions such as marginheight (this is usually 
fixed by using CSS to achieve the desired effect instead). /


/ This error may also result if the element itself is not supported in 
the document type you are using, as an undefined element will have no 
supported attributes; in this case, see the element-undefined error 
message for further information. /


/ How to fix: check the spelling and case of the element and attribute, 
(Remember XHTML is all lower-case) and/or check that they are both 
allowed in the chosen document type, and/or use CSS instead of this 
attribute./





Re: xhtml 1.1 strict lang attributes

2005-09-24 Thread Laurie Harper
Note that the 'locale' attribute is deprecated. What happens if you 
remove it? I think that might be what's causing the 'lang' attribute to 
be generated.


L.

Xavier Vanderstukken wrote:

In the top on my jsp page :
html:html xhtml=true locale=true

The generated html page looks like that :

html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en

-- 2lang attributes

and the w3c validation fails :
/Result:
Failed validation, 1 error
/

/
Error /Line 8 column 48/: there is no attribute lang./

/|html xmlns=http://www.w3.org/1999/xhtml; lang=**fr-BE 
xml:lang=fr-BE|/


/ You have used the attribute named above in your document, but the 
document type you are using does not support that attribute for this 
element. This error is often caused by incorrect use of the Strict 
document type with a document that uses frames (e.g. you must use the 
Transitional document type to get the target attribute), or by using 
vendor proprietary extensions such as marginheight (this is usually 
fixed by using CSS to achieve the desired effect instead). /


/ This error may also result if the element itself is not supported in 
the document type you are using, as an undefined element will have no 
supported attributes; in this case, see the element-undefined error 
message for further information. /


/ How to fix: check the spelling and case of the element and attribute, 
(Remember XHTML is all lower-case) and/or check that they are both 
allowed in the chosen document type, and/or use CSS instead of this 
attribute./







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NoClassDefFoundError: org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager

2005-09-07 Thread Randy Shepherd

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey Guys,

I am trying to migrate a small app from 1.1 to 1.2.7 and I experiencing  
this exception on JSP that previously worked just fine. I have the  
standard.jar in the lib directory and in the classpath.


[2005-09-07 13:59:50]java.lang.NoClassDefFoundError:  
org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager
[2005-09-07 13:59:50]	at  
com.caucho.jsp.QPageContext.handlePageException(QPageContext.java:665)
[2005-09-07 13:59:50]	at  
_web_22dinf._jsp._downloadgames._edit_0game__jsp._jspService(_edit_0game 
__jsp.java:609)
[2005-09-07 13:59:50]	at  
com.caucho.jsp.JavaPage.service(JavaPage.java:75)

[2005-09-07 13:59:50]   at com.caucho.jsp.Page.subservice(Page.java:506)

Any guesses?

- -Randy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFDH1aAvmgyD0mfSYQRAjVXAJ940v3KAU2Nn6fCHMMQMc6pv/N21QCfdG9p
sGBKdXymllIbiIcAB50ROI8=
=UM+l
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: NoClassDefFoundError: org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager

2005-09-07 Thread gramani
Randy Shepherd [EMAIL PROTECTED] wrote on 09/07/2005 05:07:12 PM:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hey Guys,
 
 I am trying to migrate a small app from 1.1 to 1.2.7 and I experiencing 
 this exception on JSP that previously worked just fine. I have the 
 standard.jar in the lib directory and in the classpath.

Can you check and see that standard.jar is just in one place: WEB-INF/lib? 
If so, do a clean rebuild and see if your error goes away.

Regards,
Geeta


Re: Speaking of the Wiki, what lang is this?

2005-03-02 Thread Sebastian Hennebrueder
Yes it is, but it is rather nonsense. It is a kind of listing words
Regards
Sebastian Hennebrueder

http://www.laliluna.de
Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB
David G. Friedman wrote:
http://wiki.apache.org/struts/LocalSpellingWords
Is that German?  Do we have many other multi-lingual struts Wiki pages that
I've never noticed before?  -- This could be a rhetorical question if there
are lots of them on the Wiki.
Regards,
David: bald, tired, and apparently not very funny
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Speaking of the Wiki, what lang is this?

2005-03-01 Thread David G. Friedman
http://wiki.apache.org/struts/LocalSpellingWords

Is that German?  Do we have many other multi-lingual struts Wiki pages that
I've never noticed before?  -- This could be a rhetorical question if there
are lots of them on the Wiki.

Regards,
David: bald, tired, and apparently not very funny


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



commons-lang 1_0_1 and 2_0

2004-08-17 Thread salgado.pc
Hi,

  I am trying to use a Struts1.1 and OJB1.1RC7 application but I am facing
with the problem that commons-lang1_0_1 doesn't have some classes that
OJB uses (like java.lang.NoClassDefFoundError:
org/apache/commons/lang/BooleanUtils).



  If I switch from one version of commons-lang to another one of the
packages stop working. I tried both libs on /WEB-INF/lib and OJB doesn't
correctly.

  Is there any way around this (without recompiling/modifying one of the
sources)?

Pedro Salgado



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?

2004-05-14 Thread Dan Tran
I have been using version 2.0 with struts 1.1 since last September.  No
problem surface yet ;-)

Go for it.

-D
- Original Message - 
From: Hohlen, John C [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 8:57 PM
Subject: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?


 We're trying to figure out how backwards compatible Commons-Lang 2.0 is
with it's predecessor (1.0.1).  Specifically, we'd like to use Commons Lang
2.0 with Struts 1.1 (which is distributed with Commons-Lang 1.0.1).  Has
anyone ever attempted this?   I asked this question about a month ago but
never received any replies:

 http://marc.theaimsgroup.com/?l=struts-userm=108154032009627w=2

 Thanks,

 JOHN


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?

2004-05-14 Thread Hohlen, John C
Thanks for the reply.  

I also confirmed a few things myself.  I was able to rebuild the Struts
1.1 source against Commons-Lang 2.0 and did not encounter any errors.
Furthermore, it looks like the only Commons-Lang dependencies are in
the test classes which are part of the struts.jar release (hence, the
reason you and others are running fine).

JOHN

-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 14, 2004 1:43 AM
To: Struts Users Mailing List
Subject: Re: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?


I have been using version 2.0 with struts 1.1 since last September.  No
problem surface yet ;-)

Go for it.

-D
- Original Message - 
From: Hohlen, John C [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 8:57 PM
Subject: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?


 We're trying to figure out how backwards compatible Commons-Lang 2.0 
 is
with it's predecessor (1.0.1).  Specifically, we'd like to use Commons
Lang 2.0 with Struts 1.1 (which is distributed with Commons-Lang 1.0.1).
Has
anyone ever attempted this?   I asked this question about a month ago
but
never received any replies:

 http://marc.theaimsgroup.com/?l=struts-userm=108154032009627w=2

 Thanks,

 JOHN


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?

2004-05-13 Thread Hohlen, John C
We're trying to figure out how backwards compatible Commons-Lang 2.0 is with it's 
predecessor (1.0.1).  Specifically, we'd like to use Commons Lang 2.0 with Struts 1.1 
(which is distributed with Commons-Lang 1.0.1).  Has anyone ever attempted this?   I 
asked this question about a month ago but never received any replies:
 
http://marc.theaimsgroup.com/?l=struts-userm=108154032009627w=2
 
Thanks,

JOHN


RE: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?

2004-05-13 Thread Joe Hertz
You might want to ask this on commons-user.

As a datapoint, I'm looking at the Struts 1.2 Nightlies I have built
with, and I don't even see a Commons-Lang.jar packaged with it.

 -Original Message-
 From: Hohlen, John C [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 13, 2004 11:57 PM
 To: [EMAIL PROTECTED]
 Subject: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?
 
 
 We're trying to figure out how backwards compatible 
 Commons-Lang 2.0 is with it's predecessor (1.0.1).  
 Specifically, we'd like to use Commons Lang 2.0 with Struts 
 1.1 (which is distributed with Commons-Lang 1.0.1).  Has 
 anyone ever attempted this?   I asked this question about a 
 month ago but never received any replies:
  
http://marc.theaimsgroup.com/?l=struts-userm=108154032009627w=2
 
Thanks,

JOHN



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?

2004-05-13 Thread Hohlen, John C
That's a good idea about the Commons-Lang User list.  I actually searched the archive 
before posting to the Struts mailing list, but didn't see anything. 
 
That's very interesting about the 1.2 nightlies.  I'm seeing 2.0 is required for 1.2 
(assuming the installation notes are up to date):
 
http://jakarta.apache.org/struts/userGuide/installation.html
 
Thanks for the reply,

JOHN

-Original Message- 
From: Joe Hertz [mailto:[EMAIL PROTECTED] 
Sent: Thu 5/13/2004 11:12 PM 
To: 'Struts Users Mailing List' 
Cc: 
Subject: RE: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?



You might want to ask this on commons-user.

As a datapoint, I'm looking at the Struts 1.2 Nightlies I have built
with, and I don't even see a Commons-Lang.jar packaged with it.

 -Original Message-
 From: Hohlen, John C [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 13, 2004 11:57 PM
 To: [EMAIL PROTECTED]
 Subject: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?


 We're trying to figure out how backwards compatible
 Commons-Lang 2.0 is with it's predecessor (1.0.1). 
 Specifically, we'd like to use Commons Lang 2.0 with Struts
 1.1 (which is distributed with Commons-Lang 1.0.1).  Has
 anyone ever attempted this?   I asked this question about a
 month ago but never received any replies:
 
http://marc.theaimsgroup.com/?l=struts-userm=108154032009627w=2

Thanks,

JOHN



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Is Struts 1.1 Compatible With Commons-Lang 2.0?

2004-04-09 Thread Hohlen, John C
Does anyone know whether Struts 1.1 is compatible with Commons-Lang 2.0?  There are 
some utilities in the latest version of the Commons-Lang library that we'd really to 
use with our Struts 1.1 based application.  Struts 1.1 comes with Commons-Lang 1.0.1

Thanks,

JOHN

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]