at 8:40 AM Lukasz Lenart
wrote:
> wt., 28 sty 2025 o 14:22 John Wilson napisał(a):
> > I did go through the constants and update as required. We have the
> > typeconverters defined application wide using the
> > struts-conversion.properties.
> >
> > Although I’
%20%3D%206.0.0
As to create the type converter it now goes through the renamed
StrutsTypeConverterCreator. It seems to use the createConverter, instead of
createBean?
Thanks for your help,
J
On Tue, Jan 28, 2025 at 12:50 AM Lukasz Lenart
wrote:
> pon., 27 sty 2025 o 15:31 John Wilson napisa
Yes. It should be using Spring to inject it as it did on 2.5.33.
We have the struts2-spring-plugin which my understanding sets the object
factory in the web.xml to spring.
On 2025/01/26 06:29:29 Lukasz Lenart wrote:
> czw., 23 sty 2025 o 17:51 jw1474674 napisał(a):
> > Hi, I’m facing issues upg
I believe Spring6 and Hibernate6 are the branches including the JDK17
javax to jakarta change.
John
On 3/1/2023 7:31 AM, Burton Rhodes wrote:
Well that's a good start. We may begin testing this to see what
happens. Lukasz - many thanks as always.
-- Original Message --
Scary answer to business users - thanks for the honesty
On 2/12/2023 4:39 AM, Lukasz Lenart wrote:
śr., 8 lut 2023 o 21:41 John napisał(a):
I'm not finding any announcement on a struts2 release resolving the
jakarta (two years ago) vs javax namespace problem. Is there a target
date
I'm not finding any announcement on a struts2 release resolving the
jakarta (two years ago) vs javax namespace problem. Is there a target
date for a resolution?
Thanks
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.
l the
getter for formcolumnName.
Code
Result
Thanks - John Bush
On 2/23/2020 5:57 AM, Lukasz Lenart wrote:
pt., 21 lut 2020 o 04:05 M Huzaifah napisał(a):
the jsp has error:
Struts Problem Report
Struts has detected an unhandled exception:
Messages:
/pages/
able to specify a unique SCOPE when
calling the action and get the result you need.
John
On 12/19/2019 12:52 AM, Zahid Rahman wrote:
This is not overriding method.
As you see when you declare the same functionality using the
struts.xml Then only that explicitly declared
method will be exe
rstand the technology stack used including
the order of classpaths searched at execution time. A framework is
intended to help you do a job which implies you know what it's doing.
John
On 12/18/2019 9:48 AM, Lukasz Lenart wrote:
Feel free to register a ticket in JIRA, but this is something low
Simon,
Note that it also states that you can declare newer versions of Spring
if you wish. I currently support a number of web applications using the
plugin and Spring v5.1.9 without any problems.
John
On 12/14/2019 4:16 AM, Yasser Zamani wrote:
Hi,
Thank you so much!
Yes we will upgrade
en produces (or my inputs
to maven).
I strongly suspect I will have more success moving this issue to the
JBoss user forum mailing list than continue bothering all of you.
Thanks for your help.
John
On Sun, 2019-02-24 at 16:48 +, Martin Gainty wrote:
> never say the r word..better to say
is directory we include index.html which uses a
> simple meta refresh to send the users browser to the ...
> docs.wildfly.org
>
>
> hth
>
> From: John W. Himpel
> Sent: Saturday, February 23, 2019 2:52 PM
> To: user@struts.apache.org
>
Greetings,
I have a very small Struts web app that I developed under Red Hat
Developer Studio.
I am using Struts 2.5.20, Jboss 7.2.0.
Right-click in on the project name in Red Hat Developer Studio, select
properties->Web Project Settings and the Context root: shows a
"learning".
After deploymen
. If you don't find that's possible I have had
success dropping in newer versions of commons-fileupload to replace the
older. I haven't attempted it to a Struts 1 application though.
John B
On 11/14/2018 12:41 PM, Eric Reed wrote:
Struts 2.
-Original Message-
From: Deb
Please help
I use struts2 to handle file upload, i already configured the following
a. /WEB-INF/lib contains commons-fileupload-1.3.2.jar
commons-io-2.2.jar
b. /WEB-INF/classes/struts.xml
c. /var/apache-tomcat-7.0.34/webapps/mytest/WEB-INF/classes/dream
mytest app
I did add conventions plug-in,
From: Ken McWilliams
To: Struts Users Mailing List ; john lee
Sent: Wednesday, July 19, 2017 4:52 PM
Subject: Re: struts2 +rest service problem
As mentioned in the other thread have you added the conventions plug-in?
The indicated error indicates
after i append, the problem is gone, but when i did test, have error message
generated.
please see the thread.
thanks in advance.
john
From: Ken McWilliams
To: Struts Users Mailing List ; john lee
Sent: Wednesday, July 19, 2017 4:11 PM
Subject: Re: struts2 with rest service
Please help for the struts2 + rest service
http://beta-dev/ecommerce/employee.xml
return the following error report
Struts Problem Report
Struts has detected an unhandled exception:
| Messages: |
- com.thoughtworks.xstream.XStream
- com/thoughtworks/xstream/XStream
- java.lang.
/struts.xml (add the following line with red font)
after start application, but in catalina.out see the following error, i did
copy struts-plugin.xml into WEB-INF/classes/.
thanks in advance
john
***
SEVERE
g the wildcard matching was because I didn't
want to have to type out every method in the configuration. STI makes me have
to type out every method in the configuration again.
--
John
-Original Message-
From: Lukasz Lenart [mailto:lukaszlen...@apache.org]
Sent: Thursday, December 22,
wildcard actions to work again. I'm not sure if the regex was
needed or not, but I'm leaving it for now since it's working.
--
John J. Aylward
-Original Message-
From: John Aylward [mailto:john.aylw...@sagenet.com]
Sent: Thursday, December 22, 2016 10:20 AM
To: Struts Use
ssage when an action was configured, but
in 2.5.x I don't appear to get any such messages.
--
John
-Original Message-
From: Lukasz Lenart [mailto:lukaszlen...@apache.org]
Sent: Thursday, December 22, 2016 1:33 AM
To: Struts Users Mailing List
Subject: Re: problem Migrating from
r error messages output.
Do I need to do something different in 2.5 to get my actions loading? My action
definitions look something like this:
http://struts.apache.org/dtds/struts-2.3.dtd";>
Any help would be greatly appreciated! Thanks
--
John
unsubscribe
After click the button, the value of partid is passed to action class,
and see the output '123' from the console. the assigned value of dummymesg
is displayed on the console as well.
but the dummymesg never return to front javascript. looks like success or
error function call never
ubject: RE: [struts-user] Re: struts2 json return null if involve hibernate
or spring
> -Original Message-
> From: john lee
> Sent: Monday, October 27, 2014 9:06
>
> the delete itself has no problem if called it directly.
(please try not to top post)
> From: Lukasz
the delete itself has no problem if called it directly.
From: Lukasz Lenart
To: Struts Users Mailing List
Sent: Monday, October 27, 2014 2:46 AM
Subject: Re: struts2 json return null if involve hibernate or spring
2014-10-27 3:55 GMT+01:00 john lee :
> is hibernate
is hibernate dao manipulation could affect struts 2 json return?
or spring framework could affect struts2 json return?
my program's struts2 json execution is success if not involve dao or spring
call.
but if involve hibernate/spring/dao manipulation, then json return is null and
not returned.
st
validation service and it’s
available at https://github.com/johnboyer/mailgun-manager
John Boyer
rodaxsoft.com
On Oct 12, 2014, at 9:57 AM, Lukasz Lenart wrote:
> 2014-10-11 4:20 GMT+02:00 John Boyer :
>> Hi All:
>>
>> We’re using the latest version of Struts 2 in production and
.
true
Email address is invalid
Incidentally, the XML email validator works fine in Safari for Mac OS X.
Have a nice weekend.
Regards,
John Boyer
rodaxsoft.com
Thanks Chris.
It is solved after apply ID
On Friday, July 25, 2014 3:04 PM, Chris Pratt wrote:
Make sure you set the "id" attribute on the s:textfield if you're going to
refer to it that way using jQuery.
(*Chris*)
On Fri, Jul 25, 2014 at 12:30 PM, john lee
wr
;).val('XXX');
and
$('#partid').text('XXX');
s:textfield's placeholder impossible for jquery to change, is struts2 limition
or bugs?
thanks in advance
john
*
<%@ taglib prefix="
Oracle 12c should fit your needs. Unless you want to recreate this feature
by your self.
On Tue, Jul 8, 2014 at 5:36 AM, Kevin Peterson wrote:
> Hi,
>
> We have an application wherein we want to keep separate database for each
> client. We want to achieve this using multi tenancy approach. A wo
Hi Dave,
How to verify ?
thanks in advance
John
On Friday, June 27, 2014 4:04 PM, Dave Newton wrote:
Do you have dynamic method invocation turned on?
On Fri, Jun 27, 2014 at 4:34 PM, john lee
wrote:
>
>
> I try to use s:url to call action's method, but not works,
n!add?partid=1508, shows no resource is
available
so, what is the correct way/syntax to use s:url tag to call action's method ?
thanks in advnce
john
***
3 files ( CartAction.java, Cart.jsp, Struts.xml )
Not seen this happen myself, what struts jar's do you have as it might be
something like the convention plugin...
If your using maven then it might be useful for others to include what
specific maven dependencies your including so potentially someone else can
try using the exact same jars.
elow, if that helps.
Thank you for your time in advance.
Regards,
John Boyer
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<&l
I can confirm that setting devMode to `false` suppresses the token error. I
should have looked more closely at the error message because it contained the
solution.
Thank you,
John Boyer
On Apr 29, 2014, at 10:02 PM, Lukasz Lenart wrote:
> Switch off devMode and check again.
>
> 201
on 'token' with value
['1GO4EYXDWVOD8UQYOBQT3KU0H7SRZED', ]
I changed my configuration to be consistent with the examples; however, that
didn't seem to make a difference. What am I missing here? Am I supposed to add
a token
EB-INF/jsp/input.jsp
http://example.com
...
---
Thank you for your time.
John Boyer
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
ow can I fix this problem?
---
/WEB-INF/jsp/success.jsp
---
Thanks for your time.
John Boyer
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
try pastebin.com or gist.github.com as they do syntax highlighting and
saves people having the whole xml blob in an email, also line numbers can
be commented upon correctly as it might be different depending what your
viewing it in.
On 6 March 2014 13:04, Fredrik Andersson wrote:
> Yes you are
ectly, i.e.
$ mvn clean install ;
$ mvn jetty:run ;
$ curl http://localhost:8080/hello-world
Any ideas, or is this a potential issue/bug with struts2-junit-plugin?
Cheers,
John
I use sturs2 jquery sj:tabbedpanel with remoteurl feature, it works fine.
But, the remote url is called when did initiala load, how can I disable initial
load for remote url?
i just want to load(tab1 with remote URL) when i click it.
thanks in advance
John
*
from the following output,
we can tell sell_price=36.97, display_price=1
why
none of test statement works ?
please advise, thanks in advance
john
Class Part {
float sell_price;
int display_price;
./*..get set here
from the following output,
we can tell sell_price=36.97, display_price=1
why
none of test statement works ?
please advise, thanks in advance
john
Class Part {
float sell_price;
int display_price;
./*..get set here
the attribute selectedTab of sj:tabbedpanel's attrubte "selectedTab",
but not working.
>
>
>
> Accessories here
> Replacement Parts here
> Cross Reference here
>
Please advise
thanks again
john
thanks for reply,
i did view source before ask question here, but sj:tabbedpanel convert into
jquery, even view source, still not match.
john
From: Chris Pratt
To: Struts Users Mailing List ; john lee
Sent: Friday, August 9, 2013 12:43 PM
Subject: Re
try to using javascript to set sj:tabbedpanel's attribute, but not working
what is the correct format for access attribute sj:tabbedpanel's atrtribute in
javascript?
thanks in advance
John
function setpartmoreinfo(id) {
$("#Cross").tabs( "optio
Hi Srikanth:
That fixed it. Thank you!
John
On Aug 7, 2013, at 10:41 AM, Sreekanth S. Nair
wrote:
> use this
>
>"-//Apache Struts//XWork Validator 1.0.2//EN"
> "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";>
>
Hi Martin:
Okay, but my validation XML is pointing to
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd, which is no longer
available. What should it point to now?
Thanks, John
---
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd
Hi:
Suddenly, in-production, we're getting file-not-found errors for the
xwork-validator-1.0.2.dtd at http://www.opensymphony.com/xwork.
How can resolve this problem? We're running Struts 2 v2.3.4.1
Thanks, John
-
10:01:18 ERROR h
Dave,
Thanks your very much, it works very well
brw, the book you wrote/published, i had it.
john
From: Dave Newton
To: Struts Users Mailing List ; john lee
Sent: Tuesday, August 6, 2013 11:26 AM
Subject: Re: sj:a json return result question
the render return result/display is the following
TOTAL # PARTS
{"JSON":"success","sum":310}
I only expect result of 310 get returned, why heading info also get returned?
obvioulsy, even did not working.
how can i just display 310 only?
thanks in advance
john
rayList();
why="Temperature";
return success;
}
public String getJSON() throws Exception { return execute(); }
please advise,
thanks in advance
john
y" to value="%{why}", but still not working,
the setting inside KeywordcategoryAction is the following
...
public String getWhy(String why) { return why; }
public void setWhy(String why) { this.why=why; }
why="Temperature";
return success;
please advise, thanks in advance
john
SSCCE ? what u refer to?
From: Dave Newton
To: john lee
Cc: Struts Users Mailing List
Sent: Monday, July 29, 2013 10:04 PM
Subject: Re: s:property display INTERGER
Please put an SSCCE on github/equivalent; I'm very skeptical.
On Mon, Jul 29,
No, inside the action, before the return, I do
detailpart.getQty().intValue(), return is 1, /* have value inside */
thanks for reply, any other thoughts?
john
From: Dave Newton
To: Struts Users Mailing List ; john lee
Sent: Monday, July 29, 2013 9
, but nothing either
so, how to display/convert object inside value ?
thanks in advance
john
ck to same page,
qty is null
do not understand at all. if I redirect to different page, and qty can retrieve
for no problem at all.
does struts can not postback after reset the same variable ?
thanks in advance
john
ot; href=javascript:toggle("")>SHOW
the purpose for using s:div inside s:iterator is hide/show "detail"
please help
thanks in advance
john
x27;d need to use the same
indexed format as form fields-all you can send from the browser are strings.
On Jul 19, 2013 5:11 PM, "john lee" wrote:
>
>
> I have no problem to iterator the arrarylist
>
>
>
> <
>
>
> but if i want to pass ar
I have no problem to iterator the arrarylist
<
but if i want to pass arraylist parts back to action, can i do following?
Keyword Process
thanks in advance
john
ontents of 'Section 1" ?
i just try to use string "Section 1,
google" to replace "Section 1", but render result only display text, but
not link.
please advise
thanks in advance
john
thanks, it works
the format is
From: Dave Newton
To: Struts Users Mailing List
Sent: Wednesday, July 10, 2013 10:17 PM
Subject: Re: struts s:property
Escape it. Check out the tag Docs.
On Jul 10, 2013 11:16 PM, "john lee" wrote:
>
in my application, the following newline charactor never happen.
how to let above take effect?
thanks
john
It return/display garbage char from image, really have no idea why this
happen, because regular call
http://localhost/ecommerce/ImageAction?imageId=darksouls.jpg works perfect.
any trick to use s:j:div resize feature?
thanks in advance
john
I use Lucas's suggestion, but still can not get value out
please advise how to get list member of an class from stack.
thanks in advance
john
From: john lee
To: struts support
Sent: Friday, June 28, 2013 11:
{component(subset) } of parts, failed.
Please advise how to make set member (partxref) of Part works, thanks in
advance
john
to make section works, thanks in advance
john
struts2's OGNL looks like more complicate.
please advise
thanks in advance
john
Thanks Chester,
the fieldName attribute is good remind, that is what i am looking for.
From: Chester Twomey
To: Struts Users Mailing List ; john lee
Sent: Wednesday, June 19, 2013 9:02 AM
Subject: Re: multiple form s:fielderror mesg cross over, how to
lds place,
how to solve it?
or that is struts 2 bug?
please help
thanks in advance
john
i need to have multiple on single web page,
when any single form's validation triggered, then and
displayed at multiple form's textfields place,
how to solve it?
or that is struts 2 bug?
please help
thanks in advance
john
can not associate with its embed form, how to solve that?
is that struts2 bug?
tks in advance
john
*
source code
f
tks chris, that is what i want to know
From: Chris Pratt
To: Struts Users Mailing List ; john lee
Sent: Sunday, June 9, 2013 9:55 PM
Subject: Re: how interceptor knowing invoke's class name?
The interceptor is called by Struts, not by the Action.
in struts2 , defined an interceptor, it triggered by Action, my question is
inside the interceptor class, what is the function call that can tell
caller's name, because that interceptor could be triggered by different Action,
we need to log the caller's name, but how?
thanks
john
pache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:199)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1215)
i check the reference, s:button is valid, if so, why not receive the error at
above
please advise
john
efore
proceeding too much further-it'll save some time in the long run.
Also note that it's often faster to just try something.
Dave
On May 24, 2013 3:17 PM, "john lee" wrote:
>
>
> In an cutomized Struts2 Intercepter class,
>
> public class SecurityVerifySessionI
extends AbstractInterceptor for use interceptor, certainly i can
not extends ActionSupport any more.
then how can i access ServletActionContext in the interceptor?
without extends Actionsupport, can i get ServletActionContext from
ActionContext? how to convert?
please advise
john
in the interceptor,
in order to access ServletActionContext, in the interceptor class, which
interface should be implement?
tks in advance
john
From: Chris Pratt
To: Struts Users Mailing List ; john lee
Sent: Thursday, May 23, 2013 6:25 PM
Subject: Re
because if cookie exist, then interceptor can catch it and assign the session
object if user open the new webpage.
From: "jlm...@gmail.com"
To: Struts Users Mailing List ; john lee
Sent: Thursday, May 23, 2013 6:25 PM
Subject: Re: struts 2 I
thanks,
so, how can I access Cookie in the interceptor? as my knowledge, to access
cookie, i have to get Servlet first, then get Request object, then access
Cookie..
please advise
john
From: Chris Pratt
To: Struts Users Mailing List ; john lee
Sent
, not interceptors.
On May 23, 2013 5:51 PM, "john lee" wrote:
> it is interceptor, the following is struts.xml, (i just not include last
> time)
>
>
>
>
>
> class
From: Dave Newton
To: Struts Users Mailing List
Sent: Thursday, May 23, 2013 4:31 PM
Subject: Re: struts 2 Intercepter ServletRequestAware
That interface is for actions, not interceptors.
On May 23, 2013 5:30 PM, "john lee" wrote:
object can not be implemented? if can, why i get null?
thanks in advance
john
public class SecurityVerifySessionIntercepter extends AbstractInterceptor
implements ServletResponseAware, ServletRequestAware {
protected HttpServletResponse servletResponse;
public void
thanks, in my program, after i import it, the compile error is gone.
From: Chris Pratt
To: Struts Users Mailing List
Cc: john lee
Sent: Wednesday, May 15, 2013 4:54 PM
Subject: Re: Cookie in struts2
Ah, my bad, you are correct, Dave.
John, like Dave
;
which library i should include to use the global variable of Action ?
thanks in advance
john
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.opensymphony.xwork2.ActionContext;
import com.opensymph
-static method getCookies() cannot be referenced from a static context
Cookie cookieList[]=HttpServletRequest.getCookies();
please advise
thanks in advance
john
Dave,
so, as your experience, which one u recommend to use?
JSON or S2Jquery?
thanks in advance
john
From: Dave Newton
To: Struts Users Mailing List
Cc: john lee
Sent: Monday, May 13, 2013 5:03 PM
Subject: Re: struts 2 ajax choice
On Mon
So, JSON is the only choice ?
thanks
john
From: Paul Benedict
To: Struts Users Mailing List ; john lee
Sent: Monday, May 13, 2013 4:43 PM
Subject: Re: struts 2 ajax choice
Please note the Dojo plugin is deprecated.
On Mon, May 13, 2013 at 4:42 PM
from the document,
Struts 2 support both DoJo plugin and JSON plugin,
which one is easy to plugin and use?
which one is more powerful?
thanks in advance
john
alpha:/var/apache-tomcat-7.0.34/webapps/ecommerce # cat partsearchinput.jsp
<%@ taglib prefix="s" uri="/struts-tags"%>
the above code works, and verified by
http://localhost/ecommerce/partsearchinput.jsp
but, after i start to use sitemesh, it has the problem as the following
The Strut
the difference b/w session.put and session.setAttribute?
thanks in advance
john
struts 2 presentation layer
support JSP, freemaker
as i know.
does it support PHP?
what is the presentation layer it support?
thanks
john
From: Martin Gainty
To: Struts Users Mailing List
Sent: Monday, March 11, 2013 5:33 AM
Subject: RE: struts 2
i try to start tomcat, but giving the following error
Unable to load configuration... struts2-gxp-plugin-2.3.7.jar...
in the CLASSPTH, i even did not load struts2-gxp-plugin-2.3.7.jar at all, why
this happen?
please advise
thanks in advance
john
SEVERE: Dispatcher initialization failed
other words,we need to save
sth(such as the accessary parts) in his shopping cart..
any example?
thanks in advance
john
?
is this the only way to lett struts2/spring validation works?
thanks so much in advance
john
From: Lukasz Lenart
To: Struts Users Mailing List ; john lee
Sent: Friday, March 8, 2013 7:27 AM
Subject: Re: struts 2 validation if use with spring
2013/3/
Lukasz,
thanks for your help, i just tried, but still not works
any other suggestion?
thanks in advance
john
From: Lukasz Lenart
To: Struts Users Mailing List
Sent: Friday, March 8, 2013 12:01 AM
Subject: Re: struts 2 validation if use with spring
XXXvalidation.xml for both matched
psesuo action class name and actually class name, but looks like no one works.
Is XXXvalidation.xml only works for struts2 actual class
name only? But not works if used in struts2/spring proxy action forward?
Pelase advise.
john
alpha:/var/apache-tomcat
1 - 100 of 699 matches
Mail list logo