śr., 20 lip 2022 o 21:32 Jerald Dominic napisał(a):
>
> Hello Lukasz,
>
> Thank you.
> It works fine with the 2.5.30 version.
> In order to plan for future migration of our application to Struts 6, what
> should be the next step?
> Should I go ahead and report it as a bug? Appreciate any
2022 o 04:21 Jerald Dominic napisał(a):
> >
> > Hello,
> >
> > We are migrating from Struts 2.5.26 to 6.0.0
> > *Issue*
> > Result type used in struts.xml is the default one and below is an example
> > of what we have, and we use request attributes as
from Struts 2.5.26 to 6.0.0
> *Issue*
> Result type used in struts.xml is the default one and below is an example
> of what we have, and we use request attributes as well.
> actionB?para1=value1para2=value2
> When migrating to Struts 6.0.0 the above result type is not working
Hello,
We are migrating from Struts 2.5.26 to 6.0.0
*Issue*
Result type used in struts.xml is the default one and below is an example
of what we have, and we use request attributes as well.
actionB?para1=value1para2=value2
When migrating to Struts 6.0.0 the above result type is not working
pt., 10 kwi 2020 o 15:51 Burton Rhodes napisał(a):
>
> Done. The JIRA ticket is located here:
> https://issues.apache.org/jira/browse/WW-5066
Thanks a lot!
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To
> > In other words, I would like to define a constant inside my struts.xml
> file
> > and then reference that constant further down in the file.
> >
> > For example:
> >
> > [struts.xml]
> >
> >
> >
> >
> >
> &
czw., 9 kwi 2020 o 16:58 Burton Rhodes napisał(a):
>
> Is it possible to reference a Struts constant from within the same file?
> In other words, I would like to define a constant inside my struts.xml file
> and then reference that constant further down in the file.
>
Is it possible to reference a Struts constant from within the same file?
In other words, I would like to define a constant inside my struts.xml file
and then reference that constant further down in the file.
For example:
[struts.xml
ubject: Mapping struts.xml actions to their full URL
>
>As part of security tests we are doing, I have to map the actions appears in
>struts.xml to their full URLs. I know to connect between the namespace and the
>action name of every action from struts.xml, but how can I know which ser
curity tests we are doing, I have to map the actions appears
> > in struts.xml to their full URLs. I know to connect between the namespace
> > and the action name of every action from struts.xml, but how can I know
> > which servlet refers to each action?
> >
> > For examp
curity tests we are doing, I have to map the actions appears
> > in struts.xml to their full URLs. I know to connect between the namespace
> > and the action name of every action from struts.xml, but how can I know
> > which servlet refers to each action?
> >
> > For examp
The "servlet prefix" (whatever that is) is dependent on the deployment, not
the app.
On Mon, Mar 11, 2019 at 8:22 AM shonlevin1...@gmail.com <
shonlevin1...@gmail.com> wrote:
> As part of security tests we are doing, I have to map the actions appears
> in struts.xml to t
As part of security tests we are doing, I have to map the actions appears in
struts.xml to their full URLs. I know to connect between the namespace and the
action name of every action from struts.xml, but how can I know which servlet
refers to each action?
For example, this is my struts.xml
sob., 26 sty 2019 o 01:19 developer researcher
napisał(a):
>
> Hello,
>
> I want to migrate a web application based on struts.xml to use annotations,
> but I have not found documentation and/or examples for the next cases:
>
> *1. *
>
> How should be the @Action (?) An
Hello,
I want to migrate a web application based on struts.xml to use annotations,
but I have not found documentation and/or examples for the next cases:
*1. *
How should be the @Action (?) Annotation be for the default action?
*2. Global Exception Handling*
The documentation of convention
2017-02-06 22:02 GMT+01:00 Emi <em...@encs.concordia.ca>:
> Hello,
>
> https://struts.apache.org/announce.html shows:
> - Struts 2.5.8 no longer supports the directive in struts.xml
Argh... this sounds wrong, it relates to
https://issues.apache.org/jira/browse/WW-4727 whic
Hello,
https://struts.apache.org/announce.html shows:
- Struts 2.5.8 no longer supports the directive in struts.xml
Used to have: "s1.xml, s2.xml, sN.xml".
Struts.xml:
.
In version 2.5.10, do we need any changes to include s1.xml... sN.xml
please
On 2016-11-01 12:20 (-0400), Lukasz Lenart <lukaszlen...@apache.org> wrote:
> 2016-11-01 4:00 GMT+01:00 Ronald Andersen <ronald.a.ander...@gmail.com>:
> > Hi Lakasz
> >
> > Below is the struts.xml and LoginAction (for reference). Using default fo
16 at 1:05 PM, ronald.a.ander...@gmail.com <
> ronald.a.ander...@gmail.com> wrote:
>
> >
> >
> > On 2016-11-01 12:20 (-0400), Lukasz Lenart <lukaszlen...@apache.org>
> > wrote:
> > > 2016-11-01 4:00 GMT+01:00 Ronald Andersen <ronald
16 at 1:05 PM, ronald.a.ander...@gmail.com <
> ronald.a.ander...@gmail.com> wrote:
>
> >
> >
> > On 2016-11-01 12:20 (-0400), Lukasz Lenart <lukaszlen...@apache.org>
> > wrote:
> > > 2016-11-01 4:00 GMT+01:00 Ronald Andersen <ronald
On 2016-11-01 12:20 (-0400), Lukasz Lenart <lukaszlen...@apache.org> wrote:
> 2016-11-01 4:00 GMT+01:00 Ronald Andersen <ronald.a.ander...@gmail.com>:
> > Hi Lakasz
> >
> > Below is the struts.xml and LoginAction (for reference). Using default fo
onald Andersen <ronald.a.ander...@gmail.com>:
> > > Hi Lakasz
> > >
> > > Below is the struts.xml and LoginAction (for reference). Using default
> for
> > > package name in struts.xml:
> > >
> > >
> > >
> > > > >
On 2016-11-01 12:20 (-0400), Lukasz Lenart <lukaszlen...@apache.org> wrote:
> 2016-11-01 4:00 GMT+01:00 Ronald Andersen <ronald.a.ander...@gmail.com>:
> > Hi Lakasz
> >
> > Below is the struts.xml and LoginAction (for reference). Using default fo
2016-11-01 4:00 GMT+01:00 Ronald Andersen <ronald.a.ander...@gmail.com>:
> Hi Lakasz
>
> Below is the struts.xml and LoginAction (for reference). Using default for
> package name in struts.xml:
>
>
>
> "-//Apache Software Foundation//DTD Struts Configuration 2
On 2016-10-31 15:58 (-0400), Lukasz Lenart <lukaszlen...@apache.org> wrote:
> 2016-10-30 18:59 GMT+01:00 ronald.a.ander...@gmail.com
> <ronald.a.ander...@gmail.com>:
> > My actions are working fine by following the convention rules - no
> > struts.xml required
On 2016-10-30 18:53 (-0400), Martin Gainty <mgai...@hotmail.com> wrote:
>
>
>
>
> From: ronald.a.ander...@gmail.com <ronald.a.ander...@gmail.com>
> Sent: Sunday, October 30, 2016 1:59 PM
> To: user@struts.apache.org
> S
Hi Lakasz
Below is the struts.xml and LoginAction (for reference). Using default for
package name in struts.xml:
http://struts.apache.org/dtds/struts-2.3.dtd;>
package net.codejava.struts;
imp
Hi Martin,
It threw the same exception after adding the annotations; including my
struts.xml file:
http://struts.apache.org/dtds/struts-2.3.dtd;>
On Sun, Oct 30, 2016 at 6:53 PM, Martin Gainty &l
2016-10-30 18:59 GMT+01:00 ronald.a.ander...@gmail.com
<ronald.a.ander...@gmail.com>:
> My actions are working fine by following the convention rules - no struts.xml
> required; I need to configure a custom interceptor, so struts.xml is
> required. As soon as I add the struts.xml
From: ronald.a.ander...@gmail.com <ronald.a.ander...@gmail.com>
Sent: Sunday, October 30, 2016 1:59 PM
To: user@struts.apache.org
Subject: convention plugin struts.xml interceptors
My actions are working fine by following the convention rules - no stru
My actions are working fine by following the convention rules - no struts.xml
required; I need to configure a custom interceptor, so struts.xml is required.
As soon as I add the struts.xml, the following exception is returned:
Oct 30, 2016 1:54:22 PM org.apache.struts2.dispatcher.Dispatcher
All,
I ran Debug and Deploy under NetBeans and found my error in line result
of struts.xml file.
Change
result name=successiteratorkfc.jsp/result ** this line
causes error. '/' is missing
to
result name=success/iteratorkfc.jsp/result
URL
Attachment is missing and mailing doesn't allow to send attachments ;-)
2014-06-20 3:26 GMT+02:00 Tri Quan quans...@wans.net:
All,
I am green horn in Struts 2 and need help with
struts.xml. I got the following error when try this URL :
localhost:8080/IteratorKFC/menu
Attachment is missing and mailing doesn't allow to send attachments ;-)
2014-06-20 3:26 GMT+02:00 Tri Quan quans...@wans.net:
All,
I am green horn in Struts 2 and need help with
struts.xml. I got the following error when try this URL :
localhost:8080/IteratorKFC/menu
All,
I am green horn in Struts 2 and need help with struts.xml.
I got the following error when try this URL :
localhost:8080/IteratorKFC/menu or localhost:8080/IteratorKFC/menu.action .
what is wrong ? Incorrect configuration or incorrect URL
Wrong url, it supposed to be:
http://localhost:8080/IteratorKFC/IteratorKFC/menu.action
/IteratorKFC - name of the war file, ie. context
/IteratorKFC - namespace defined in struts.xml
2014-06-20 13:33 GMT+02:00 Tri Quan quans...@wans.net:
All,
I am green horn in Struts 2
,
I am green horn in Struts 2 and need help with struts.xml.
I got the following error when try this URL :
localhost:8080/IteratorKFC/menu or localhost:8080/IteratorKFC/menu.action
.
what is wrong ? Incorrect configuration or incorrect URL ?
Struts has
be* menu in struts*xml
did you have a specific question?
Martin
Date: Fri, 20 Jun 2014 18:13:57 +0530
Subject: Re: need help on struts.xml configuration using Struts 2.3, Tomcat
7, Java JDK 1.6
From: yaragallamur...@gmail.com
To: user@struts.apache.org
localhost:8080
AM
To: Struts Users Mailing List
Subject: Re: need help on struts.xml configuration using Struts 2.3, Tomcat 7,
Java JDK 1.6
Wrong url, it supposed to be:
http://localhost:8080/IteratorKFC/IteratorKFC/menu.action
/IteratorKFC - name of the war file, ie. context /IteratorKFC - namespace
defined
iteratorkfc.jsp
any advices ?
thanks
Tri Quan
-Original Message-
From: Lukasz Lenart [mailto:lukaszlen...@apache.org]
Sent: Friday, June 20, 2014 8:14 AM
To: Struts Users Mailing List
Subject: Re: need help on struts.xml configuration using Struts 2.3,
Tomcat 7, Java JDK 1.6
Wrong url
All,
I am green horn in Struts 2 and need help with struts.xml.
I got the following error when try this URL :
localhost:8080/IteratorKFC/menu or localhost:8080/IteratorKFC/menu.action .
what is wrong ? Incorrect configuration or incorrect URL
to have lambdas in action methods.
Struts version is 2.3.16.3
Java version is 1.8.0_05
Best greetings,
Paweł Wielgus.
[1] - for action defined in struts.xml
SEVERE: Unable to read class [com.ppp.elsevier.struts.action.JournalCoverAction]
java.lang.ArrayIndexOutOfBoundsException: 51966
out of action body
to another class (helper)
everything works just fine.
How can i help to resolve this?
I would love to have lambdas in action methods.
Struts version is 2.3.16.3
Java version is 1.8.0_05
Best greetings,
Paweł Wielgus.
[1] - for action defined in struts.xml
SEVERE
.
How can i help to resolve this?
I would love to have lambdas in action methods.
Struts version is 2.3.16.3
Java version is 1.8.0_05
Best greetings,
Paweł Wielgus.
[1] - for action defined in struts.xml
SEVERE: Unable to read class
[com.ppp.elsevier.struts.action.JournalCoverAction
.
How can i help to resolve this?
I would love to have lambdas in action methods.
Struts version is 2.3.16.3
Java version is 1.8.0_05
Best greetings,
Paweł Wielgus.
[1] - for action defined in struts.xml
SEVERE: Unable to read class
[com.ppp.elsevier.struts.action.JournalCoverAction
,
Paweł Wielgus.
[1] - for action defined in struts.xml
SEVERE: Unable to read class
[com.ppp.elsevier.struts.action.JournalCoverAction]
java.lang.ArrayIndexOutOfBoundsException: 51966
at org.objectweb.asm.ClassReader.readUTF8(Unknown Source)
at org.objectweb.asm.ClassReader.readClass(Unknown
)
everything works just fine.
How can i help to resolve this?
I would love to have lambdas in action methods.
Struts version is 2.3.16.3
Java version is 1.8.0_05
Best greetings,
Paweł Wielgus.
[1] - for action defined in struts.xml
SEVERE: Unable to read class
I created my interceptor stack in the top-level struts.xml, like this :
!DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.3//EN
http://struts.apache.org/dtds/struts-2.3.dtd;
struts
package name=default namespace=/ extends=struts-default
What doesn't work?
Dave
On Aug 27, 2013 7:08 AM, Thomas Lionel SMETS (prof) tsm...@a3-system.eu
wrote:
I created my interceptor stack in the top-level struts.xml, like this :
!DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.3//EN
http
;
}
but it is not set in most Actions of module_1 module_2
\T,
On 27/08/13 13:55, Dave Newton wrote:
What doesn't work?
Dave
On Aug 27, 2013 7:08 AM, Thomas Lionel SMETS (prof) tsm...@a3-system.eu
wrote:
I created my interceptor stack in the top-level struts.xml, like
module_2
\T,
On 27/08/13 13:55, Dave Newton wrote:
What doesn't work?
Dave
On Aug 27, 2013 7:08 AM, Thomas Lionel SMETS (prof) tsm...@a3-system.eu
tsm...@a3-system.eu
wrote:
I created my interceptor stack in the top-level struts.xml, like this :
!DOCTYPE struts PUBLIC
-//Apache
wrote:
I created my interceptor stack in the top-level struts.xml, like this :
!DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.3//EN
http://struts.apache.org/dtds/struts-2.3.dtd;
http://struts.apache.org/dtds/struts-2.3.dtd
http
-INF/Hello.jsp/result
param name=scenarioDEFAULT/param
/action
action name=* class=be.a3-system.action.CatchAllAction
result name=success/WEB-INF/CatchAll.jsp/result
/action
/package
include file=m1/struts.xml /
include file=m2
/struts.xml /
include file=m2/struts.xml /
/struts
But this interceptor is not propagated to the m1/struts.xml
m2/struts.xml.
The interceptor needs to be added to the included files.
With something like this :
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE struts PUBLIC
-//Apache
2013/8/28 Ken McWilliams ken.mcwilli...@gmail.com:
Not looking that closely but both your packages extend struts-default if
you want the interceptors/results of package default to be available to
package M1 you should extend default on that package rather than
struts-default...
Exactly! How
Hello,
Is it possible to access a file that is located in the local drive or server
side folder from struts.xml? as follow:
result name=success type=jasper
param name=locationC:/Folder/jasperReport.jasper/param
or
param name=location%{filename}/param where the filename is avariable
drive or
server side folder from struts.xml? as follow:
result name=success type=jasper
param name=locationC:/Folder/jasperReport.jasper/param
or
param name=location%{filename}/param where the filename is avariable
in the action class with the file location is hardcoded as String filename
= C
.
From: Maurizio Cucchiara mcucchi...@apache.org
To: Struts Users Mailing List user@struts.apache.org; Omar Ngarigari
ngarigar...@yahoo.com
Sent: Tuesday, July 2, 2013 12:20 PM
Subject: Re: accessing an external file in the struts.xml
Much of the answer depends on what your application server
Mailing List user@struts.apache.org; Omar Ngarigari
ngarigar...@yahoo.com
Sent: Tuesday, July 2, 2013 12:20 PM
Subject: Re: accessing an external file in the struts.xml
Much of the answer depends on what your application server is.
In any case, I don't think this is a good practice. IMO you
Subject: Re: accessing an external file in the struts.xml
You have at least one extra layer in your file path, normally you'd keep
files like this under WEB-INF, and start the file path from there.
Dave
On Jul 2, 2013 1:14 PM, Omar Ngarigari ngarigar...@yahoo.com wrote:
Thanks for responding
2012/12/1 ChadDavis chadmichaelda...@gmail.com:
Thanks Lukasz. This is very useful information. I think this clearly fixes
my problem, but I still have some questions.
1) when was xwork moved to ASF?
Just before 2.2.1, two years ago, but DTDs where changed sometime later
Thanks!
On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2012/12/1 ChadDavis chadmichaelda...@gmail.com:
Thanks Lukasz. This is very useful information. I think this clearly
fixes
my problem, but I still have some questions.
1) when was xwork moved to ASF?
So, it seems like this should be added to the wiki on the webworks to
struts 2 migration page . . . I'm more than willing to do provide the text.
what do you think?
On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2012/12/1 ChadDavis chadmichaelda...@gmail.com:
2012/12/3 ChadDavis chadmichaelda...@gmail.com:
So, it seems like this should be added to the wiki on the webworks to
struts 2 migration page . . . I'm more than willing to do provide the text.
what do you think?
I'm happy to hear that, I've posted how to get contributor rights to docs
Why aren't there mappings for the struts-xxx.dtd's?
On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2012/12/1 ChadDavis chadmichaelda...@gmail.com:
Thanks Lukasz. This is very useful information. I think this clearly
fixes
my problem, but I still have some
There are (from 2.3):
79:dtdMappings.put(-//Apache Software Foundation//DTD Struts
Configuration 2.0//EN, struts-2.0.dtd);
80:dtdMappings.put(-//Apache Software Foundation//DTD Struts
Configuration 2.1//EN, struts-2.1.dtd);
81:dtdMappings.put(-//Apache Software
There are (from 2.3):
79:dtdMappings.put(-//Apache Software Foundation//DTD Struts
Configuration 2.0//EN, struts-2.0.dtd);
80:dtdMappings.put(-//Apache Software Foundation//DTD Struts
Configuration 2.1//EN, struts-2.1.dtd);
81:dtdMappings.put(-//Apache Software
2012/12/3 ChadDavis chadmichaelda...@gmail.com:
I'm happy to hear that, I've posted how to get contributor rights to docs
Posted where?
http://markmail.org/message/4way2m5y2vlwkrih :-)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2012/12/3 ChadDavis chadmichaelda...@gmail.com:
There are (from 2.3):
79:dtdMappings.put(-//Apache Software Foundation//DTD Struts
Configuration 2.0//EN, struts-2.0.dtd);
80:dtdMappings.put(-//Apache Software Foundation//DTD Struts
Configuration 2.1//EN, struts-2.1.dtd);
81:
2012/12/1 Davis, Chad chad.da...@emc.com:
IMO it just needs to match the DTD in the jar; as I said, I've generally seen
this happen when there's a mis-match.
In regards to your SO question, it would depend completely on the
implementation and its configuration.
Here's the one that doesn't
But what do you think needs to match the jar file? I mean,
struts2-core.jar doesn't contain xwork-1.1.1.dtd, but the xwork jar does .
. . so why wouldn't it find it if it was just taking the xwork-1.1.1.dtd
and checking the classpath.
When XWork was moved to ASF, we changed all the
So, when I restarted my struts2 app this afternoon I got complains about
unable to load configuration. - [unknown location]. But, the location of my
struts.xml - inside of the classes folder of the WAR - has not changes. And,
indeed, the file is there. The stack trace is below
struts.xml - inside of the classes folder of the WAR - has not changes.
And, indeed, the file is there. The stack trace is below. For starters,
I'm surprised to see sockets involved?
2012-11-30 20:45:28,357 WARN [pool-2-thread-1]-ejb.Ejb3Configuration:
hibernate.connection.autocommit = false
Probably trying to go out to the web for a DTD/XSD or something?
Okay. It does appear to be finding the struts.xml file, and then timing out
while trying to get something else over the network. I guess my first
reaction is . . . . does my struts app really need to be able to reach out
-dependent, but I may be mis-recalling that.
Dave
On Fri, Nov 30, 2012 at 3:42 PM, Davis, Chad chad.da...@emc.com wrote:
Probably trying to go out to the web for a DTD/XSD or something?
Okay. It does appear to be finding the struts.xml file, and then timing out
while trying to get something
is that I went from webwork to struts 2.3 on this app. I
did the migration a while back, and the struts.xml files still worked fine even
without migrating them to the new dtd ( declarations as well as actual
structure ). But in on this one installation they fail. My theory is that if
the internet
is that I went from webwork to struts 2.3 on this app.
I did the migration a while back, and the struts.xml files still worked fine
even without migrating them to the new dtd ( declarations as well as actual
structure ). But in on this one installation they fail. My theory
IMO it just needs to match the DTD in the jar; as I said, I've generally seen
this happen when there's a mis-match.
In regards to your SO question, it would depend completely on the
implementation and its configuration.
Here's the one that doesn't work:
?xml version=1.0 encoding=UTF-8?
This entry is working:
action name=signon class=signonAction
result/WEB-INF/jsp/index.jsp/result
/action
This entry is not:
action name=signon class=signonAction
result/shop/index.action/result
/action
It's not entirely clear what the question is, but in case the
statement is
Thanks Dave.You got it right.
So you are saying that if I want to forward the output of an action to
another action , I should use redirect action?? I will search for the
filter option.
Regards,
Srineel
On Mon, Nov 19, 2012 at 1:13 AM, Dave Newton davelnew...@gmail.com wrote:
This entry is
Hi I'm using struts2 and i have an action tag which redirects to a jsp page
with the parameter it receives.
action name=defaultstores class=storesAction
result name=success
stores.jsp?page${somepage}
true
true
Hi I'm using struts2 and i have an action tag which redirects to a jsp page
with the parameter it receives.
action name=defaultstores class=storesAction
result name=success
stores.jsp?page${somepage}
true
true
Put it in the session!
Maurizio Cucchiara
Il giorno 15/giu/2011 19.37, scoobyy vishwa.sa...@gmail.com ha scritto:
Hi I'm using struts2 and i have an action tag which redirects to a jsp
page
with the parameter it receives.
action name=defaultstores class=storesAction
result name=success
Hi,
http://struts.apache.org/2.x/webxml.html explains how to set struts2 params
from web.xml. I have several questions regarding this :
1/ If the same setting is declared both in web.xml and in struts.xml, which one
wins ?
2/ the example sets the setting on StrutsPrepareAndExecuteFilter. What
Hi list,
I am trying to call execute method of my UserRegistrationAction class but it
doesn't call the method.
Here is the code of my struts.xml :
struts
constant name=struts.enable.DynamicMethodInvocation value=false/
constant name=struts.devMode value=false/
package name=company
but it
doesn't call the method.
Here is the code of my struts.xml :
struts
constant name=struts.enable.DynamicMethodInvocation value=false/
constant name=struts.devMode value=false/
package name=company extends=tiles-default
action name=d_* class=com.company.action.{1
the method.
Here is the code of my struts.xml :
struts
constant name=struts.enable.DynamicMethodInvocation value=false/
constant name=struts.devMode value=false/
package name=company extends=tiles-default
action name=d_* class=com.company.action.{1} method=input
You might *think* it's there, but I'm pretty sure it isn't--is the correct
version deployed? Are its dependencies deployed?
The message is pretty explicit with regards to what's wrong.
Dave
On Mon, Dec 6, 2010 at 12:10 PM, ashish chawre ashish.chawr...@gmail.comwrote:
.
Thanks everyone for your responses. The problem is fixed but I don't know
how :).. What I did is just turn off my computer after battling with the
prob, thought to take a drive and when I came back and start the application
again
its just working fine. I got all my records in db using the same
It looks like, the latest class files were not deployed to the WebApp Context.
Sometimes this happens.
When you find something getting wrong, and your source code looks like right,
Just try turn off the web app, and re-deployed your latest code again.
See if it the error get fixed.
Sometimes,
BTW, according to the exception message:
The execute method of UserRegistrationAction IS CALLED,
but some code invoked by this method raised an exception.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
Thanks Li.. Yeh, it happens.. This trick certainly saves time.
-- Ashish
On Mon, Dec 6, 2010 at 4:02 PM, Li Ying liying.cn.2...@gmail.com wrote:
It looks like, the latest class files were not deployed to the WebApp
Context.
Sometimes this happens.
When you find something getting wrong,
sudhi...@gmail.com
To:
user@struts.apache.org
Date:
21-10-2010 17:58
Subject:
How to get the value of Constants defined in struts.xml
I am sorry, if this thread is repeated.
Please tell tell me how get the value of Constants defined in struts.xml.
Is it possible to get the value
=myConstant)
~SK
rahulmohan wrote:
Just put an @Inject(name=MYCONSTANTVARIABLE) annotation on the setter
in
action class.
- RM
From:
SudhirJava sudhi...@gmail.com
To:
user@struts.apache.org
Date:
21-10-2010 17:58
Subject:
How to get the value of Constants defined in struts.xml
@struts.apache.org
Date:
21-10-2010 17:58
Subject:
How to get the value of Constants defined in struts.xml
I am sorry, if this thread is repeated.
Please tell tell me how get the value of Constants defined in
struts.xml.
Is it possible to get the value of MYCONSTANTVARIABLE in action
/How-to-get-the-value-of-Constants-defined-in-struts.xml-tp30019022p30048243.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands
in struts.xml
I am sorry, if this thread is repeated.
Please tell tell me how get the value of Constants defined in struts.xml.
Is it possible to get the value of MYCONSTANTVARIABLE in action class.
constant name=MYCONSTANTVARIABLE value=MYCONSTANTVALUE /
Thanks
Sudhir
--
View
...@gmail.com
To:
user@struts.apache.org
Date:
21-10-2010 17:58
Subject:
How to get the value of Constants defined in struts.xml
I am sorry, if this thread is repeated.
Please tell tell me how get the value of Constants defined in struts.xml.
Is it possible to get the value
I am sorry, if this thread is repeated.
Please tell tell me how get the value of Constants defined in struts.xml.
Is it possible to get the value of MYCONSTANTVARIABLE in action class.
constant name=MYCONSTANTVARIABLE value=MYCONSTANTVALUE /
Thanks
Sudhir
--
View this message in context
Get it where? Normally you'd just use the @Inject annotation, IIRC.
Dave
On Thu, Oct 21, 2010 at 8:27 AM, SudhirJava sudhi...@gmail.com wrote:
I am sorry, if this thread is repeated.
Please tell tell me how get the value of Constants defined in struts.xml.
Is it possible to get the value
1 - 100 of 380 matches
Mail list logo