Re: Issues while migrating form Struts2.3.16 to 2.5.14.1

2018-03-14 Thread Adam Brin
grImpl.start( > CompositionUnitMgrImpl.java:388) > at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$ > 500(CompositionUnitMgrImpl.java:116) > at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run( > CompositionUnitMgrImpl.java:994) > at >

Re: Struts2 login action class seems to be reused

2018-03-05 Thread Adam Brin
then post back the exception if any (I don't expect any). You > should set to null or remove the attribute. Any other code is wrong. > > Regards. > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts 2.5.14 support for java 8/java 9/java 10

2018-03-05 Thread Adam Brin
You might look in the struts2 JIRA for open issues > On Mar 5, 2018, at 6:18 AM, David Greene wrote: > > Struts 2.5 has out of the gate support for Java8. I haven't tried 9 or 10 > yet. > > On Mon, Mar 5, 2018 at 4:16 AM, coolaki2...@gmail.com > wrote: > >> Hello, >> >> Can anyone throw som

Re: Struts 2.5.14.1 version - Security fixes - Need clarifications

2017-12-06 Thread Adam Brin
If you go look at the security declaration and the links into the jackson changset it’ll list what’s been patched. Sorry, not a complete answer, but best I can easily give. -- _ Adam Brin Director of Technology, Digital Antiquity

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread Adam Brin
Apologies if I missed something earlier, but can you do a dependency search in your project and see if you already have a version of net.sf.json.lib included elsewhere? perhaps an older (or newer) version is conflicting? -- _ Adam Brin

Re: Struts2.x ActionError And ActionMessage

2017-11-16 Thread Adam Brin
Hi Siva, Can you share an example of what you’re doing and what’s not working? thanks, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Nov 16, 2017, at 8:15 AM, Dhulipudi, Sivannarayana > wrote: &

Re: How to put Spring object in Struts application scope on web startup?

2017-09-29 Thread Adam Brin
it’s a mixture of things: * Struts.xml should be setup to know about spring: * register the appropriate application listeners * add the @Scope variables to controllers -- _ Adam Brin Director of Technology, Digital

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
Borrowing from Lukasz’s improvement. public class MyControlelr extends ActionSupport … @Override public String execute() { String msg = getText(‘myMessageKey”); FileReader.determineFileReader(msg, userString); -- _ Adam Brin Director

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
= provider.getText("global.unknown"); ... } -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2017, at 7:36 AM, Klaus Tachtler wrote: > > Hi Adam, > > can you give me a small example, to

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
Ok, then from your Action/Controller pass in a TextProvider into the method which has the localization. All ActionSupport subclassess implement this, so you can pass this in. -- _ Adam Brin Director of Technology, Digital Antiquity

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
what class are you doing this in? Are you subclassing off of ActionSupport? -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2017, at 7:20 AM, Klaus Tachtler wrote: > > Hi Łukasz, > > can

Re: Form not submitting, after migration

2017-08-01 Thread Adam Brin
What encoding type are you using? it’s possible that part of the issue is that you’re submitting a multi-part form and it’s being caught up by an existing bug [WW-4818] - adam -- _ Adam Brin Director of Technology, Digital Antiquity

Re: Multipart fixes in 2.5.12 and non-file payloads

2017-07-17 Thread Adam Brin
. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jul 17, 2017, at 6:16 AM, Lukasz Lenart wrote: > > 2017-07-17 14:35 GMT+02:00 Adam Brin : >> In the automated testing we run on our application there was not one test >> that passe

Re: Multipart fixes in 2.5.12 and non-file payloads

2017-07-17 Thread Adam Brin
In the automated testing we run on our application there was not one test that passed that used a browser backend be it Chrome or HtmlUnit without adjusting the regular expression. On Mon, Jul 17, 2017 at 5:29 AM, Adam Brin wrote: > Hi Lukasz, > Yes, > > - adam > > On Sun,

Re: Multipart fixes in 2.5.12 and non-file payloads

2017-07-17 Thread Adam Brin
Hi Lukasz, Yes, - adam On Sun, Jul 16, 2017 at 11:03 PM, Lukasz Lenart wrote: > I assume that this is the related ticket to this [1], right? > > [1] https://issues.apache.org/jira/browse/WW-4818 > > 2017-07-14 15:46 GMT+02:00 Adam Brin : > > We have a number of API comp

Multipart fixes in 2.5.12 and non-file payloads

2017-07-14 Thread Adam Brin
part.html though I'm less sure about other characters. I worry this default regex will likely trip up lots of uploads silently, -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Issues with Localization changes in 2.5.12

2017-07-14 Thread Adam Brin
Unfortunately, using the factory alone didn't help because we needed to add the ResourceBuindles into the TextProviderInstance On Fri, Jul 14, 2017 at 6:16 AM, Lukasz Lenart wrote: > 2017-07-14 14:36 GMT+02:00 Adam Brin : > > I think I tried that originally without help. >

Re: 2.5.12 & security fix protocol

2017-07-14 Thread Adam Brin
thanks for the clarification. On Fri, Jul 14, 2017 at 5:53 AM, Lukasz Lenart wrote: > 2017-07-14 14:40 GMT+02:00 Adam Brin : > > Hi Lukasz, > > Out of curiosity, I'm wondering, what the protocol or choice was about > > including the security patches for struts2 in

2.5.12 & security fix protocol

2017-07-14 Thread Adam Brin
rsion seemed to have quite a few more changes. thanks, adam -- _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Issues with Localization changes in 2.5.12

2017-07-14 Thread Adam Brin
I think I tried that originally without help. Anyway, it seems like my fix worked. On Thu, Jul 13, 2017 at 10:41 PM, Lukasz Lenart wrote: > 2017-07-13 20:08 GMT+02:00 Adam Brin : > > // FIXME: needs to be a better way to handle this > > TextProviderFactory text

Re: Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
(LocalizedTextProvider.class); instance.addDefaultResourceBundle(“…"); … -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jul 13, 2017, at 11:08 AM, Adam Brin wrote: > > Hi, > With the removal of the TextProvide

Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
stack = factory.createValueStack(); context.setValueStack(stack); ActionContext.setContext(context); -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Adam Brin
-- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 21, 2017, at 11:34 AM, Ken McWilliams wrote: > > Sure, it would be most ideal if there could be variables scoped to struts > action packages, and accessible from only

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread Adam Brin
(using json-plugin) but in both cases the > serialization is executed by json-plugin automatically. > > According to the documentation, the results supported are > https://cwiki.apache.org/confluence/display/WW/Result+Types Have you > implemented a custom result? > > Thanks

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
ossible to use both "CGLIB proxy" and "JDK dynamic > proxy". > *2. For results of json **type **:* without AOP everything works fine, with > AOP both using "JDK dynamic proxy" and "CGLIB proxy" the action is > executed, the advice also b

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
. - adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On May 8, 2017, at 12:27 PM, developer researcher > wrote: > > Hello Martin, > > First of all thanks for the reply, but I'm not sure

Re: Disable file uploads

2017-04-13 Thread Adam Brin
One step is to modify the struts.xml to create a custom stack that doesn’t include the file-upload interceptor. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Apr 13, 2017, at 8:42 AM, Greg Lindholm wr

Re: Load Message from database using ResourceBundle

2017-03-23 Thread Adam Brin
That’ll help in a few places, but technically you want a custom implementation of the TextProvider. A quick google search suggests: http://struts.1045723.n5.nabble.com/Stuts-2-and-Custom-TextProvider-td3494753.html -- _ Adam Brin Director

Re: Request exceeded allowed size limit! Max size allowed is: 2,097,152

2017-03-13 Thread Adam Brin
. > > tomcat7 server.xml: > redirectPort="8443" >maxpostsize="9000"> > > Thanks a lot! > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts2.5.2 upgradingn does't work

2016-09-24 Thread Adam Brin
--- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts 2 and ASM jar version

2016-09-22 Thread Adam Brin
-plugin.html . - adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2016, at 1:18 PM, Dhamelia, Krunal > wrote: > > So this means I can upgrade to struts 2.3.21+ with java8 plugin and upgrad

Re: Struts 2 and ASM jar version

2016-09-22 Thread Adam Brin
had some success using ASM 5.1 with our codebase while using the java-8 plugin. It’s planned that in an upcoming version of Struts2 (as Lukasz mentions as I write this), to resolve some other compatibility issues. - adam _ Adam Brin

Re: How to disable devMode in prod

2016-09-15 Thread Adam Brin
-- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 15, 2016, at 8:00 AM, Lukasz Lenart wrote: > > Maybe the first step should be just simple, use ENV in > struts.xml/struts.properties > > > > wdyt? >

Re: Struts2 documentation and Stack Overflow

2016-08-31 Thread Adam Brin
Anyone can write a blurb, and it's looking a bit barren over there right > now. > > > -- > Sent from my C64 using a 300 baud modem > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts2 initial page loading time

2016-07-21 Thread Adam Brin
udeFilters = { @Filter(type = FilterType.ASSIGNABLE_TYPE, value = { SimpleAppConfiguration.class }) }) -- _ Adam Brin Director of Technology, Digital

Re: Struts2 initial page loading time

2016-07-20 Thread Adam Brin
Hi, Have you tried this on a blank artifact? Seems like it might be a local configuration issue as opposed to a struts issue. If the former, addressing it might depend on your own initialization sequence and perhaps setting up your own Servlet init method > On Jul 20, 2016, at 1:46 PM, Sreeka

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-18 Thread Adam Brin
. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jul 18, 2016, at 8:37 AM, Emi wrote: > >> try the bridge to log4j1 >> https://logging.apache.org/log4j/log4j-2.2/log4j-1.2-api/index.html >> > > Updated to: >

Re: Struts 2: running processes/threads in background

2016-07-17 Thread Adam Brin
; > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: 2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation

2016-06-29 Thread Adam Brin
Hi, Emi, do you have a maven pom that shows dependencies? It might be that you’ve got multiple copies of XWork, Struts2 (somehow) or another conflict. Probably need more information to help debug. best, adam -- _ Adam Brin Director of

Re: tiles, sitemesh, velocity and other template engines

2016-06-29 Thread Adam Brin
Hi Christoph & Łukasz, Thanks. This is useful. We’ll stay with Sitemesh2 and Freemarker for now. thanks, adam -- _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 29, 2016, at 1:19 AM, Christoph

tiles, sitemesh, velocity and other template engines

2016-06-28 Thread Adam Brin
emesh thanks, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: interfaces with default methods on actions

2016-06-12 Thread Adam Brin
-- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: interfaces with default methods on actions

2016-06-11 Thread Adam Brin
. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 9, 2016, at 11:42 PM, Lukasz Lenart wrote: > > 2016-06-10 1:04 GMT+02:00 Adam Brin : >> I've been experimenting with Struts 2.5 and trying to simplify our Struts2 >

interfaces with default methods on actions

2016-06-09 Thread Adam Brin
ault methods with success? thanks in advance, adam -- _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Validation using annotations with two execute methods are applied always

2015-12-17 Thread Adam Brin
ustomer')"})}) > public String createUserForClient() throws Exception { > > > The issue is that both sets of validations are always executed, no matter > which action has been called. And I see in the response that when > idLanguage or idCompany are missing, the error appears twice, since it is > requited in both actions. > > What am I doing wrong? > > Regards > > JL > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Allow max. file upload size of more than 2gb in struts 2

2015-12-09 Thread Adam Brin
You may also want to check the docs: https://struts.apache.org/docs/file-upload.html which has a section on size limits. > On Dec 9, 2015, at 1:38 AM, punter wrote: > > > Hello, > I am using Struts 2.1 in my project. For the file upload process, is it > possible to supersede the normal 2 gb

Re: Struts 2.5.Beta1 and samples

2015-08-25 Thread Adam Brin
You might also need the bridge between log4j v1 and v2, and also the "web" jar. Log4j2 is quite "modularized" when compared to v1. On Tue, Aug 25, 2015 at 10:12 AM, Chris wrote: > Hi, > Thank you for the update.I did it to , yesterday, but I got a new error > about log4j. ( even with log4j2.xm

mapping actions to names with periods

2015-04-29 Thread Adam Brin
action to @Action("sitemap.xml") thanks, adam _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: struts, freemarker and servlet 3.1

2014-10-04 Thread adam brin
+02:00 Adam Brin : > > Quick question, is anyone running struts 2.3 with servlet 3.1 (Jetty > 9)? Our freemarker rendered pages appear to be blank (i.e. no content > returned), though the rest of the app appears to function properly (stream > results return properly). My first guess

struts, freemarker and servlet 3.1

2014-09-30 Thread Adam Brin
Sitemesh or Freemarker config, but I can't seem to quickly tell. Has anyone else had any issues or needed to make any changes when upgrading? thanks, adam _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

i18N <@s.radio> enum

2014-03-01 Thread adam brin
Does anyone have a working example of a <@s.radio list tag that uses localization of the labels? I've been searching the doc and stack overflow but not finding things that are working? e.g. if we have an enum: enum EnumTest { A, B, C; } and a getter on the controller: public List getEnumTestLi

Re: struts 2.3.16 custom (sub-classed) theme issue

2014-01-23 Thread adam brin
y the errors for struts2 looking for template/~~~tdar/css.ftl go away. Is it possible that there's a relative directory reference or some other assumption in how/where it looks for different themes? - adam On Thu, Jan 23, 2014 at 8:15 AM, adam brin wrote: > Hi Lukasz, > Our case is sl

Re: struts 2.3.16 custom (sub-classed) theme issue

2014-01-23 Thread adam brin
ange controlheader.ftl/controlfooter.ftl (and > you don't want to touch textarea.ftl), you can simple define them in > your theme and textarea.ftl from xhtml theme will pick them up as well > (when there be no theme attribute defined, in other case, templates > from pointed out th

struts 2.3.16 custom (sub-classed) theme issue

2014-01-22 Thread adam brin
ot;/${parameters.templateDir}/simple/textarea.ftl" /> <#include "/${parameters.templateDir}/${parameters.theme}/controlfooter.ftl" /> note, I've tried change parameters.theme to parameters.expandTheme as documented here: http://struts.apache.org/release/2.3.x/docs/

example of Struts2 TypeConverter for a bean

2010-12-04 Thread Adam Brin
/type-conversion.html <@s.iterator value="beanList" id="bean"> <@s.textfield name="beanList(%{bean.id}).name" /> Thanks in advance, adam _____ Adam