Re: Upgrading spring 3.0.7 to spring 3.2.3 caused "INPUT" instead of "SUCCESS" result

2013-08-24 Thread Dionis Argiri
ally. I don't particularly like it, but > meh... it fixed the issue and I moved on. > > > On Sat, Aug 24, 2013 at 6:06 AM, Dionis Argiri >wrote: > > > Hi. > > > > I'm using struts 2 & struts-spring plugin. > > Both are of version 2.3.15.1. &g

Upgrading spring 3.0.7 to spring 3.2.3 caused "INPUT" instead of "SUCCESS" result

2013-08-24 Thread Dionis Argiri
Hi. I'm using struts 2 & struts-spring plugin. Both are of version 2.3.15.1. The problem is that after upgrading spring from 3.0.7 to spring 3.2.3 I started to get "INPUT" instead of "SUCCESS" result. After debugging for some time I've figured out, that method "setFieldErrors(Map> errorMap)" is c

Re: (OT) Hibernate question

2013-01-04 Thread Dionis Argiri
Hi! It's not possible to add hints to Hibernate criteria queries/hql queries. But it's possible to add it if you use native query(but it's not your case, as I understand). BR, Dionis 2013/1/4 Martin Gainty > oes anyone know how to hint a Hiber

Re: Action inheritance and value automatic injection failure

2012-05-29 Thread Dionis Argiri
re using Spring. > > If you use Spring injection via an xml file, you must use inheritance: > > > > > depends-on="baseAction"> > > > > depends-on="baseAction,itemDetails"> > > > Cheers, > J. >

Action inheritance and value automatic injection failure

2012-05-29 Thread Dionis Argiri
Hi! I'm using struts 2.3.3. And I have marked following problem. When I have some hierarchy of inheritance, then value is not automatically injected in inherited action. Example: abstract class BaseAction extends ActionSupport { ... } class NewItem extends BaseAction { ... } class ItemDetails e

Re: ActionContext and the application context

2012-05-04 Thread Dionis Argiri
Good starting point would be reading code of action context etc, it could give you some answers that are not mentioned in any faq/tutorial/documentation. Simplified answer is - struts2 actions are thread safe (but that doesn't means that if you inject some statefull service in your bean, it'll be a

Re: Struts 2 on top of roo

2012-05-03 Thread Dionis Argiri
You will get into troubles with integration stuff. I would prefer to use Struts2 only and don't try to integrate ball and banana, because even if you succeed to do that, you'll get a lot of head ache. 2012/5/2 Aravind Kumar > I find it easy to setup a project with roo and I want Struts2 as MVC >

Re: Struts2 session concurrency issue ?

2012-04-25 Thread Dionis Argiri
h will cause interference between > > threads (ie not thread safe), if the point that every session have a > > different counter value, then you must change the increment method > > like this: > > public static int increment() { > > return counter.incrementAndGet(); > >

Re: Struts2 session concurrency issue ?

2012-04-25 Thread Dionis Argiri
n? You said "asynchronous" but your code > does not look thread safe to me. (I have never used atomicinteger before so > never mind if that class somehow handles thread safety for you) > > Aaron > On Apr 25, 2012 5:11 AM, "Dionis Argiri" wrote: > &

Re: Struts2 session concurrency issue ?

2012-04-25 Thread Dionis Argiri
What is the difference between using ActionContext.getContext().getSession() vs implementing SessionAware interface? Does it give some advantages? 25 апреля 2012 г. 12:01 пользователь Łukasz Lenart < lukasz.len...@googlemail.com> написал: > Why don't you use SessesionAware interface ? > > > Regar