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
>
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
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
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
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
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:
&
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
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
= 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
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
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
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
.
--
_
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
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,
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
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
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.
>
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
rsion seemed to have quite a
few more changes.
thanks,
adam
--
_____
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278
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
(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
stack = factory.createValueStack();
context.setValueStack(stack);
ActionContext.setContext(context);
--
_
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278
--
_
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
(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
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
.
- 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
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
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
.
>
> 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
---
> 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
-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
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
--
_
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?
>
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
udeFilters = {
@Filter(type = FilterType.ASSIGNABLE_TYPE,
value = {
SimpleAppConfiguration.class
})
})
--
_
Adam Brin
Director of Technology, Digital
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
.
--
_
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:
>
;
> -
> 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
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
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
emesh
thanks,
adam
--
_
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278
--
> > 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
.
--
_
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
>
ault methods with success?
thanks in advance,
adam
--
_____
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278
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
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
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
action to @Action("sitemap.xml")
thanks,
adam
_____
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278
+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
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
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
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
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
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/
/type-conversion.html
<@s.iterator value="beanList" id="bean">
<@s.textfield name="beanList(%{bean.id}).name" />
Thanks in advance,
adam
_____
Adam
55 matches
Mail list logo