Re: my execute method of action class is getting executed twice

2007-12-04 Thread Ing. Andrea Vettori
situation. -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP EL on struts2 tags

2007-11-30 Thread Ing. Andrea Vettori
exist ? Thank you -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http

JSP EL on struts2 tags

2007-11-29 Thread Ing. Andrea Vettori
is : If in the JSP page I use ONLY page variables into EL (that is don't use request variables) do the problem still exist ? Thank you -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL

slowing down action execution time

2007-07-17 Thread Ing. Andrea Vettori
Hi what's the best method to slow an action execution time ? Something like Thread.sleep(...). Thanks ! -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: slowing down action execution time

2007-07-17 Thread Ing. Andrea Vettori
not possibile to call Thread methods inside a servlet container. Anyone can confirm this ? Thanks Il giorno 17/lug/07, alle ore 16:25, Leon Rosenberg ha scritto: actually you named it. Thread.sleep(). only for debugging purposes of course :-) regards leon On 7/17/07, Ing. Andrea Vettori

Re: slowing down action execution time

2007-07-17 Thread Ing. Andrea Vettori
thanks to all I'll try... Il giorno 17/lug/07, alle ore 16:38, Antonio Petrelli ha scritto: 2007/7/17, Ing. Andrea Vettori [EMAIL PROTECTED]: I don't remember where but I think I read somewhere that's not possibile to call Thread methods inside a servlet container. Anyone can confirm

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
. Best, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +374 91 518456 E-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
? Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +374 91 518456 E-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +374 91 518456 E-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
the text will not be evaluated? Best, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +374 91 518456 E-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology

Re: Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-16 Thread Ing. Andrea Vettori
the amout property? No, s:property value=%{propName}”/ should be equivalent to s:property value=propName/. I think You'll get the second behaviour with s:property value=%{% {propName}}/ -- Ing. Andrea Vettori Consulente per l'Information Technology

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
time. I suspect you'll find that your DB is causing a lot of the delay in the short ramp up test. -Original Message- From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED] Sent: 12 July 2007 11:30 To: Struts Users Mailing List Subject: Re: Struts 2 performance I've done some measurements

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
2007/7/12, Ing. Andrea Vettori [EMAIL PROTECTED]: Yes i'm sure it's true. So the struts related performance seems not too bad... compared to what? Compared to nothing... they are pure numbers. They are simply just good enought (to me). If we don't have this in mind we should use

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
Il giorno 12/lug/07, alle ore 16:31, Guillaume Carré ha scritto: 2007/7/12, Ing. Andrea Vettori [EMAIL PROTECTED]: Compared to nothing... they are pure numbers. They are simply just good enought (to me). If we don't have this in mind we should use assember for everything :) what I meant

Re: Struts 2 performance

2007-07-11 Thread Ing. Andrea Vettori
that minimizes memory/cpu utilization for non-struct components and some pre-defined tests so we can produce benchmarks we can compare... -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e

Re: Struts 2 performance

2007-07-11 Thread Ing. Andrea Vettori
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Struts 2 requires input result on failed type conversion

2007-07-11 Thread Ing. Andrea Vettori
, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [S2] Disabling OGNL

2007-07-11 Thread Ing. Andrea Vettori
commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: Struts 2 requires input result on failed type conversion

2007-07-11 Thread Ing. Andrea Vettori
-setters with some kind of string parsing would be a whole lot of work. So my favourite solution would be something that easily achieved by struts default functionality. After all, this problem doesn't seem too exotic :) -Ursprüngliche Nachricht- Von: Ing. Andrea Vettori [mailto

Re: How do we get access to the servlet context from a class that is not an action?

2007-07-10 Thread Ing. Andrea Vettori
Asaf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology

Re: [S2] Form Processing - Security - ParameterNameAware

2007-07-09 Thread Ing. Andrea Vettori
archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per l'Information Technology

Re: [ot] weird message

2007-07-06 Thread Ing. Andrea Vettori
[EMAIL PROTECTED] voz +34 985 129 820 voz +34 660 026 384 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per

Found Denial Of Service (was [S2] App produces lot garbage IMPORTANT NEWS (I HOPE))

2007-07-05 Thread Ing. Andrea Vettori
, Ing. Andrea Vettori ha scritto: All the traces points me to this function on the xwork library Since it contains an infinte loop it's promising ;) Need to sleep now, I hope tomorrow to find someone else solution in my inbox :) Thank you public static Object translateVariables(char open

Re: Found Denial Of Service (was [S2] App produces lot garbage IMPORTANT NEWS (I HOPE))

2007-07-05 Thread Ing. Andrea Vettori
Done. https://issues.apache.org/struts/browse/WW-2030 I tried on two different struts application. Maybe others can try on their app ??? If it's not already addressed it's a very serious bug! Il giorno 05/lug/07, alle ore 12:28, Antonio Petrelli ha scritto: 2007/7/5, Ing. Andrea Vettori

Re: Found Denial Of Service (was [S2] App produces lot garbage IMPORTANT NEWS (I HOPE))

2007-07-05 Thread Ing. Andrea Vettori
: Struts 2.0.8 Xwork 2.0.3 Tomcat 5.5.17 Java 1.5 I'm not familiar enough with JIRA to file an issue right now, but I'll do so later today if I find some time... On 05/07/07, Ing. Andrea Vettori [EMAIL PROTECTED] wrote: Done. https://issues.apache.org/struts/browse/WW-2030 I tried on two

[S2] App produces lot garbage IMPORTANT NEWS (I HOPE)

2007-07-04 Thread Ing. Andrea Vettori
._jspx_meth_s_005fform_005f2 (carrelloB_jsp.java:634) at org/apache/jsp/carrelloB_jsp._jspService(carrelloB_jsp.java:133) -- Ing. Andrea Vettori Responsabile Sistemi Informativi -- Ing. Andrea Vettori Consulente per l'Information Technology

Re: [S2] App produces lot garbage IMPORTANT NEWS (I HOPE)

2007-07-04 Thread Ing. Andrea Vettori
; } } return XWorkConverter.getInstance().convertValue (stack.getContext(), result, asType); } -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [S2] App generate lot (2GB) of garbage! SOLVED

2007-06-30 Thread Ing. Andrea Vettori
and caching the freemarker BeanWrapper. Hope to see this in the PerformanceTuning wiki pages. If I found WHAT's wrong with the previous version I'll make a note here. Thanks to all who have tried to help. Il giorno 25/giu/07, alle ore 18:40, Ing. Andrea Vettori ha scritto: I'll now try

Re: [S2] App generate lot (2GB) of garbage! SOLVED

2007-06-30 Thread Ing. Andrea Vettori
Il giorno 30/giu/07, alle ore 13:54, Dave Newton ha scritto: --- Ing. Andrea Vettori wrote: However, my code still benefit a lot from disabling logging of struts \classes in jboss and caching the freemarker BeanWrapper. Hope to see this in the PerformanceTuning wiki pages. Logging

Re: [S2] App generate lot (2GB) of garbage!

2007-06-27 Thread Ing. Andrea Vettori
Thanks In fact they are already there! I made a mistake writing the email... Il giorno 27/giu/07, alle ore 22:05, Guillaume Carré ha scritto: 2007/6/23, Ing. Andrea Vettori [EMAIL PROTECTED]: yes the templates are into WEB-INFO/templates you have to put them in tour WEB-APP root, meaning

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
/ on this server. -Original Message- From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 08:34 To: Struts Users Mailing List Subject: Re: [S2] App generate lot (2GB) of garbage! Hi, I've run a profile with yourkit (nice!) on my development platform. Here is the most important

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
with this problem! -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
the methods are being executed? Thanks, Al. -Original Message- From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 09:35 To: Struts Users Mailing List Subject: Re: [S2] App generate lot (2GB) of garbage! Il giorno 25/giu/07, alle ore 09:50, Al Sutton ha scritto: Your trace

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
is false, the call is not made, and the string doesn't need to be built, and hence no StringBuilder will be created, hence you'll see a drop of over 5% in your Gced object count for exactly the same test. -Original Message- From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED] Sent: 25

Re: [S2] App generate lot (2GB) of garbage!

2007-06-25 Thread Ing. Andrea Vettori
? Maybe in the meantime the yourkit guys resolve the problem but I really want to leave this problem behind as soon as possibile! Thank you -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
, if possible: http://www.nabble.com/-S2--FreeMarker-usage-in-Struts-2-tf3965756.html Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing. Andrea Vettori Consulente per

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
s:hidden name=idRicerca value=$ {numeri.idRicerca}/ /s:form /span /td What object are created ? Thanks regards musachy On 6/20/07, Ing. Andrea Vettori [EMAIL PROTECTED] wrote: I discussed the problem

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
. The entire list is returned and cached for struts2 action as said above. When I first profiled the app, the most ram demanding classes was freemarker.ext.beans. generated HashMaps (between 400 and 500 mb). -- Ing. Andrea Vettori Consulente per l'Information Technology

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
yes the templates are into WEB-INFO/templates Il giorno 23/giu/07, alle ore 11:28, Guillaume Carré ha scritto: 2007/6/23, Ing. Andrea Vettori [EMAIL PROTECTED]: So struts asks freemarker to generate the html for the struts tag. Freemarker looks at the template and outputs the html based

Re: [S2] App generate lot (2GB) of garbage!

2007-06-20 Thread Ing. Andrea Vettori
struts tags can I focus on struts tags only to try to understand why the app is producing garbage ? Thank you Il giorno 19/giu/07, alle ore 12:58, Ing. Andrea Vettori ha scritto: Il giorno 19/giu/07, alle ore 12:07, Antonio Petrelli ha scritto: 2007/6/19, Ing. Andrea Vettori [EMAIL

Re: [S2] App generate lot (2GB) of garbage!

2007-06-19 Thread Ing. Andrea Vettori
Anyone ? Anyone knows who's calling freemarker.ext.beans methods ? Il giorno 17/giu/07, alle ore 19:08, Ing. Andrea Vettori ha scritto: Hi, I've a struts 2.0.8 app that runs on Linux and JBoss 4.0.5. I'ts an e-commerce site. I have the following problem. The app seems to generate lot

Re: [S2] App generate lot (2GB) of garbage!

2007-06-19 Thread Ing. Andrea Vettori
yes but their list and forum seems almost dead... I hope someone in the struts team can help me found what's the problem... Il giorno 19/giu/07, alle ore 11:39, Antonio Petrelli ha scritto: 2007/6/19, Ing. Andrea Vettori [EMAIL PROTECTED]: Anyone knows who's calling freemarker.ext.beans

Re: [S2] App generate lot (2GB) of garbage!

2007-06-19 Thread Ing. Andrea Vettori
Moreover I'm not using freemaker in my project! It's struts that's using it. My page are all jsps !! Il giorno 19/giu/07, alle ore 11:41, Ing. Andrea Vettori ha scritto: yes but their list and forum seems almost dead... I hope someone in the struts team can help me found what's

Re: [S2] App generate lot (2GB) of garbage!

2007-06-19 Thread Ing. Andrea Vettori
Il giorno 19/giu/07, alle ore 12:07, Antonio Petrelli ha scritto: 2007/6/19, Ing. Andrea Vettori [EMAIL PROTECTED]: Moreover I'm not using freemaker in my project! It's struts that's using it. My page are all jsps !! This is pretty strange... Is FreeMarker servlet declared in your

[S2] App generate lot (2GB) of garbage!

2007-06-17 Thread Ing. Andrea Vettori
) freemarker.ext.beans.StringModel.init(StringModel.java:90) -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

s2 image submit button and methods

2006-11-28 Thread Ing. Andrea Vettori
the appropriate method. But I'm looking for a better solution. I also think that since this will be a common problem, it should be addressed by the framework automatically rejecting method:xxx and action:xxx parameters that ends with a .x and .y. Thanks -- Ing. Andrea Vettori Consulente

Re: Struts2 question on action with properties

2006-11-09 Thread Ing. Andrea Vettori
=action_* method={1} class=... -- Ing. Andrea Vettori Consulente per l'Information Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts2 question on action with properties

2006-11-07 Thread Ing. Andrea Vettori
. Now I think it would be cleaner if the getInfos() method belonged to the Action that is associated to the form. Is this possible to do ? Am I missing something ? Thank you P.S. Hope you understand my Italian-English :) -- Ing. Andrea Vettori Consulente per l'Information Technology