Re: Performance issue with nested iterator

2012-07-05 Thread Łukasz Lenart
Thanks! The latest version of S2 is already using 2.3.19 Kind regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2012/7/5 Miguel Almeida : > I believe I've found the culprit. > While the problem is present in commit > htt

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
I believe I've found the culprit. While the problem is present in commit https://github.com/mmalmeida/struts-performance/commit/aba93098174c8c8c1684ffdd9bf332b212a893a , it's not present in the latest commit if you turn devMode to false. The issue was the freemarker version 2.3.9 in that commit.

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
Sorry, I sent the email before explaining. The repo has a maven project that I stripped down to the most basic to show the issue. Notice the iterator in index.jsp. I tried to remove every unused configuration, file and dependency to make the project as simple as possible. The original project is

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
Sure, Lukas: https://github.com/mmalmeida/struts-performance On Thu, 2012-07-05 at 06:48 +0200, Lukasz Lenart wrote: > Could you post somewhere (GitHub) the whole code base ? > > > Regards

Re: Performance issue with nested iterator

2012-07-04 Thread Lukasz Lenart
Could you post somewhere (GitHub) the whole code base ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts

Performance issue with nested iterator

2012-07-04 Thread Miguel Almeida
Dear all, I have got a performance issue on a nested iterator, running Struts 2.3.1.1. Consider the code below, (the example is a Book with chapters and subchapters and we're displaying the book index - bookIndex is a Map>. This takes several seconds to load (map has size 10, each li

Re: Critical performance issue in production environment due to OGNL 3.0 blockages!

2011-02-23 Thread Shishir Saxena
Date: 02/23/2011 10:47AM Subject: Re: Critical performance issue in production environment due to OGNL 3.0 blockages! Hi, Could you post code for MainAppLogin.jsp and StartMainApp interceptor ? And why are you using such interceptors in a production environment ? - TimerInterceptor

Re: Critical performance issue in production environment due to OGNL 3.0 blockages!

2011-02-23 Thread Lukasz Lenart
Hi, Could you post code for MainAppLogin.jsp and StartMainApp interceptor ? And why are you using such interceptors in a production environment ? - TimerInterceptor - ProfilingActivationInterceptor - DebuggingInterceptor Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Jav

Re: Critical performance issue in production environment due to OGNL 3.0 blockages!

2011-02-23 Thread Shishir Saxena
Hi My web application based on Struts 2.2.1 is using OGNL 3.0. This web application is rolled into production; however, due to serious performance considerations the website is in danger of being rolled back. The thread dumps indicate 'BLOCKING' at ognl.OgnlRuntime.invokeMethod (OgnlRuntime.java:

Re: Performance issue using tag

2009-11-03 Thread musomesa
- From: Musachy Barroso To: Struts Users Mailing List Sent: Tue, Nov 3, 2009 8:04 am Subject: Re: Performance issue using tag I would suggest you to use a profiler to find out for sure what is aking the time. You can use VisualVM which comes with java 6 or the xcellent jrockit mission control

Re: Performance issue using tag

2009-11-02 Thread Musachy Barroso
ity that the delay was caused by the >   EJB lookup / execution > > I hope my analysis above is correct. Hope someone with more experience can > provide their input here as I'm really getting pasted about the performance > issue on a daily basis. > > Thanks! > Wong > &g

Re: Performance issue using tag

2009-11-02 Thread CS Wong
execution I hope my analysis above is correct. Hope someone with more experience can provide their input here as I'm really getting pasted about the performance issue on a daily basis. Thanks! Wong On Tue, Nov 3, 2009 at 6:27 AM, Musachy Barroso wrote: > It is the same struts code runnin

Re: Performance issue using tag

2009-11-02 Thread Musachy Barroso
It is the same struts code running all the time, so it should as fast(or slow) every time. The only thing that changes is the call to the EJB, so I would bet that the problem is there. musachy On Mon, Nov 2, 2009 at 9:57 AM, CS Wong wrote: > Hi, > > I seem to be having a performance

Performance issue using tag

2009-11-02 Thread CS Wong
Hi, I seem to be having a performance issue in some of my Struts 2 actions. On several of my pages, I render a couple of drop down tags in my output page. I populate the drop down tags by instantiating an tag and invoking the methods in the bean to call an EJB service and populating a collection

Re: Performance issue with large data(such as images)

2009-06-11 Thread fireapple
s.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > Yes, I streamed it from an action. However, I could show the above table using an action to stream images. -- View this message in context: http://www.nabble.com/Performance-issue-with-large-data%28such-as-imag

Re: Performance issue with large data(such as images)

2009-06-10 Thread Dave Newton
fireapple wrote: Any way to resolve the security issue? If the user save the portrait in the hard drive(outside of app), I couldn't find a way to display it using URL. "" doesn't work at all. Stream it from an action/servlet/etc? Dave ---

RE: Performance issue with large data(such as images)

2009-06-10 Thread fireapple
mmands, e-mail: user-h...@struts.apache.org > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > I also use the URL that points to an action in my jsp, such as: http:

Re: Performance issue with large data(such as images)

2009-06-10 Thread fireapple
If the user save the portrait in the hard drive(outside of app), I couldn't find a way to display it using URL. "" doesn't work at all. -- View this message in context: http://www.nabble.com/Performance-issue-with-large-data%28such-as-images%29-tp23945029p23969795

RE: Performance issue with large data(such as images)

2009-06-10 Thread Security Management
I should have also mentioned that there are security issues with persisting to the hard drive. I would recommend saving to the database and loading the images as needed. Do not save them to session. I do not think you will have a performance problem. Rich I have had problems when trying to sho

RE: Performance issue with large data(such as images)

2009-06-10 Thread Mitchell, Steven
Sayre [mailto:richardsa...@gmail.com] Sent: Wednesday, June 10, 2009 12:41 PM To: Struts Users Mailing List Subject: Re: Performance issue with large data(such as images) >Thanks, Rich, I''m happy to help. > If I use BLOB, I have to make a lot of change to my code. Therefore, I have > to pers

Re: Performance issue with large data(such as images)

2009-06-10 Thread Richard Sayre
I should have also mentioned that there are security issues with persisting to the hard drive. I would recommend saving to the database and loading the images as needed. Do not save them to session. I do not think you will have a performance problem. Rich --

Re: Performance issue with large data(such as images)

2009-06-10 Thread Richard Sayre
outside WAR? No just make a base dir in your app called 'userAvatar' or something similar. Then persist the image as user_.gif ( = the user id). When they chage their image override the file. Also as stated by Pawel, make sure you have a performance problem before you try to sol

Re: Performance issue with large data(such as images)

2009-06-09 Thread Paweł Wielgus
Hi All, just as a side note, 300 users is a very small quantity of users. So i would recomend to check if there is a performance problem at all. Best greetings, Paweł Wielgus. 2009/6/9 Jim Collings : > Can't put em in your database as BLOB's with all the other user info? > > On Tue, Jun 9, 2009

Re: Performance issue with large data(such as images)

2009-06-09 Thread Jim Collings
Can't put em in your database as BLOB's with all the other user info? On Tue, Jun 9, 2009 at 4:26 PM, Dave Newton wrote: > fireapple wrote: >> >> If I want to persist images to the hard drive of server. Shall I persist >> the >> data inside WAR or outside? Because user can change their portrait, d

Re: Performance issue with large data(such as images)

2009-06-09 Thread Dave Newton
fireapple wrote: If I want to persist images to the hard drive of server. Shall I persist the data inside WAR or outside? Because user can change their portrait, does it mean it must be persisted outside WAR? You can't write stuff into your WAR. Dave --

Re: Performance issue with large data(such as images)

2009-06-09 Thread fireapple
est among the above three? "If you must use the least amount of memory as possible, persist the images to the hard drive and store the file reference to the url in the database. " If I want to persist images to the hard drive of server. Shall I persist the data inside WAR or outside? Bec

Re: Performance issue with large data(such as images)

2009-06-09 Thread Richard Sayre
database. Or even store the images as userId_avatar.gif. That way you can link the file to a user id and have no need to store the url. Use a base directory for storing the images. Before you guess if something is a performance issue, you should test to see what the actual cost of each method of i

Performance issue with large data(such as images)

2009-06-09 Thread fireapple
ll have to access db for 300 times. Is there any solution (such as a design pattern or interceptor) for this performance issue? Many thanks! -- View this message in context: http://www.nabble.com/Performance-issue-with-large-data%28such-as-images%29-tp23945029p23945029.html Sent from the Struts - Us

Re : Performance issue

2009-01-07 Thread François Rouxel
Are you using many interceptors? - Message d'origine De : Pierre Thibaudeau À : Struts Users Mailing List Envoyé le : Mardi, 6 Janvier 2009, 16h19mn 36s Objet : Re: Performance issue Ye

Re: Performance issue

2009-01-06 Thread stanlick
This test sounds about as straightforward as parallel parking a freight train on a one lane road.

RE: Performance issue

2009-01-06 Thread Andy
I would be interested in seeing new benchmark results if anyone happens to generate some. Might want to avoid database-based tests due to caching. > Date: Tue, 6 Jan 2009 16:19:36 -0500> From: pierre.thibaud...@gmail.com> To: > user@struts.apache.org> Subject: Re: Performan

Re: Performance issue

2009-01-06 Thread Pierre Thibaudeau
Yes the model is *exactly* the same in the two cases. In fact, both S1 and S2 exist concurrently in the same Tomcat application. Each test is run using JMeter, with 10 users who randomly try to access one of 42 different pages involving 10 different types of results (that is, roughly speaking, 10

Re : Performance issue

2009-01-06 Thread François Rouxel
Is is the same model behind the MVC? fr/ - Message d'origine De : Pierre Thibaudeau À : Struts Users Mailing List Envoyé le : Mardi, 6 Janvier 2009, 13h09mn 39s Objet : Re: Performance

Re: Performance issue

2009-01-06 Thread Musachy Barroso
s? > > > That's a tough one. I may have to write my own OGNL-less version of > that tag... Suggestions for a simpler alternative? > > All in all, it seems to me that this performance issue could easily be > the death of S2 (which would be a real shame). Two alternatives &

Re: Performance issue

2009-01-06 Thread Pierre Thibaudeau
esources are not customized to S2's model-driven actions...) That would probably involve an unpleasant amount of refactorization, but if it's worth it, I'll do it! Any comment on this? That's a tough one. I may have to write my own OGNL-less version of that tag... Suggestions

Re: Performance issue

2008-12-15 Thread Steven Yang
I had encountered similar problem a while back in Webwork.I believe its OGNL's problem as well. However, in most of my other projects using WebWork, I had no performance problem. I believe it has something to do with some jar files included in the project. I have not got a chance to find out which

Re: Performance issue

2008-12-13 Thread yorlick kilroy
but then howcome I'm getting such immense perfomace increases. I did a bit of profiling in eclpise IDE and it turned out that OGNL is the main performance killer ? On Sat, Dec 13, 2008 at 11:53 PM, Dave Newton wrote: > --- On Sat, 12/13/08, yorlick kilroy wrote: >> since I'm replacing all struts2

Re: Performance issue

2008-12-13 Thread Dave Newton
--- On Sat, 12/13/08, yorlick kilroy wrote: > since I'm replacing all struts2 accessor tags and expressions > in my jsps I use the '$' instead of the '%' and '#'. If you're accessing value stack objects via ${...} it's still OGNL under the hood--the S2 request wrapper will look for objects on th

Re: Performance issue

2008-12-13 Thread yorlick kilroy
since I'm replacing all struts2 accessor tags and expressions in my jsps I use the '$' instead of the '%' and '#'. Obviously there are convenience drawbacks such as the tags that let you push a value onto the ognl stack but the performance advantages overweigh the conveniences that struts2 tags of

Re: Performance issue

2008-12-13 Thread Dave Newton
--- On Sat, 12/13/08, yorlick kilroy wrote: > Any way heres what I did. I replaced the struts2 tags > with JSTL Core tags: [...] Are you accessing value stack objects via JSP 2.0 EL's ${...} notation, or have you put values into a JEE scope? Dave --

Re: Performance issue

2008-12-13 Thread yorlick kilroy
Hi Hardik, I had exactly the same problem with struts2. I wrote a struts2 webapp that produces a huge amount of output in JSPs. My JSPs took about 10 seconds to produce the content. The bottleneck is OGNL. OGNL has an extremely poor performance. Struts2 is an excellent framework but the struts2 te

Re: Performance issue

2008-12-13 Thread Dave Newton
--- On Sat, 12/13/08, Hardik Shah wrote: > [...] i dont know how to turn on profiliing [...] http://struts.apache.org/2.0.14/docs/profiling.html Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional c

Re: Performance issue

2008-12-13 Thread Hardik Shah
, page rendering in browser or result processing or maybe You are talking about action processing time? Also You can turn on profiling in struts2 to see how much time is spent where. Best greetings, Paweł Wielgus. -- View this message in context: http://www.nabble.com/Performance-issue

Re: Performance issue

2008-12-10 Thread Paweł Wielgus
ew window i have used s:iterator tag > > there are approximately more than 500 records for display in table > > but it takes more than 1 minute > > ,there is no problem at database side > > > plese help me if anybody can do > -- > View this message in c

Performance issue

2008-12-10 Thread Hardik Shah
r display in table but it takes more than 1 minute ,there is no problem at database side plese help me if anybody can do -- View this message in context: http://www.nabble.com/Performance-issue-tp20949820p20949820.html Sent from the Stru

RES: Major performance issue while displaying data in tabbedPanel

2007-03-23 Thread Daniel Felix
da em: sexta-feira, 23 de março de 2007 12:41 Para: Struts Users Mailing List Assunto: RE: Major performance issue while displaying data in tabbedPanel That worked nicely! Thanks Felipe. Laxman -Original Message- From: Felipe Rodrigues [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22,

RE: Major performance issue while displaying data in tabbedPanel

2007-03-23 Thread Gajbhe, Laxman \(Contractor\)
That worked nicely! Thanks Felipe. Laxman -Original Message- From: Felipe Rodrigues [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 7:08 PM To: user@struts.apache.org Subject: Re: Major performance issue while displaying data in tabbedPanel Copy the template dir under the

Re: Major performance issue while displaying data in tabbedPanel

2007-03-22 Thread Felipe Rodrigues
mespace="/home"/> > > > > Or > > > > Directly invoke action from browser link. > > > > We are using IE 6.0 > > > > I would appreciate your comments/feedback. > > > > Thanks, > > > > Laxman > > >

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Ted Husted
On 2/27/07, Shuai Zheng <[EMAIL PROTECTED]> wrote: First of all, when I saw Vlad's email, I copy out the template and delete the original from struts-core.jar. You shouldn't have to delete the one in the JAR. The one under WEB-INF is earlier on the classpath, and it's "first come first served".

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Tom Schneider
r All, > > > > > > > > I am using struts 2.0.6, but honestly the performance is very bad > > > (not > > > > need > > > > to think about scalability), to speed to load a simple page is much > > > slower > > > > than

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Shuai Zheng
calability), to speed to load a simple page is much > > slower > > > than pure JSP (I haven't compared with struts 1). To refresh one > > page it > > > is > > > 3-5 seconds with only one user. The profiler tells me the OGNL is > > the > > > b

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Shuai Zheng
;t compared with struts 1). To refresh one page > it > > is > > 3-5 seconds with only one user. The profiler tells me the OGNL is the > > bottleneck. > > > > I notice that there are some complains on OGNL about the performance > > already, may I know any other wa

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Shuai Zheng
ble for production. > > Regards, > > Zheng Shuai > > -- View this message in context: http://www.nabble.com/The-performance-issue-about-OGNL-tf3291137.html#a9157447 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Shuai Zheng
ction. > > Regards, > > Zheng Shuai > > -- View this message in context: http://www.nabble.com/The-performance-issue-about-OGNL-tf3291137.html#a9157447 Sent from the Struts - User mailing list archive at Nabble.com.

Re: [S2] The performance issue about OGNL

2007-02-26 Thread Mike Baroukh
Ok. I understand. I thought that there was no cache at all. In development, I also need tempalte to be reloaded as soon as possible. But in production, I don't care at all so this si not, for me, a performance issue ... Thanks Mike Vlad2006 a écrit : Hi Mike, As written in the

Re: [S2] The performance issue about OGNL

2007-02-26 Thread Vlad2006
ion. >>> >>> Regards, >>> >>> Zheng Shuai >>> >>> >>> >> >> > > > -- > > Mike Baroukh > > --- > Cardiweb - 31 Rue de Mogador Paris IXeme > 06 63 57 27 22 - 01 53 21 82 63 - Jabber: [EMAIL PROTECTED] > http://www.cardiweb.com > --- > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- View this message in context: http://www.nabble.com/The-performance-issue-about-OGNL-tf3291137.html#a9159500 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] The performance issue about OGNL

2007-02-26 Thread Ted Husted
There is a page on WebWork Wiki about it: http://wiki.opensymphony.com/display/WW/Performance+Tuning Phil, Since you added this page to the WW wiki, did you also want to add it to the S2 docs? I would suggest putting it in the Configuration section, between Wildcard Mappings and Application Se

Re: [S2] The performance issue about OGNL

2007-02-26 Thread Mike Baroukh
>If it is your case, you could make it faster, you have to extract templates >out of webwork.jar (in your case probably struts.jar) and put them in, for >example, WEB-INF/templates directory. Just to know, I saw this many times but without doing this and using only "template_update_delay" in

Re: [S2] The performance issue about OGNL

2007-02-26 Thread Vlad2006
NL with anything else to > get > a faster speed? Currently the speed is not acceptable for production. > > Regards, > > Zheng Shuai > > -- View this message in context: http://www.nabble.com/The-performance-issue-about-OGNL-tf3291137.html#

Re: The performance issue about OGNL

2007-02-26 Thread Ted Husted
Can you post a copy of the page? We really need to drum up a set of benchmarks to run ourselves, and this type of page sounds like it would be a good test case. Back in the day, there was a common phenomenon where if a page hit fifty JSP tags, performance suddenly bottomed out. I wonder if some o

The performance issue about OGNL

2007-02-25 Thread Shuai Zheng
Dear All, I am using struts 2.0.6, but honestly the performance is very bad (not need to think about scalability), to speed to load a simple page is much slower than pure JSP (I haven't compared with struts 1). To refresh one page it is 3-5 seconds with only one user. The profiler tells me the OG

Re: Performance issue

2007-01-05 Thread Daniel Chacón Sánchez
Thanks again Leon :) 2007/1/4, Leon Rosenberg <[EMAIL PROTECTED]>: there are 4 scopes or visibilities/lifecycles of attributes in the servlet/jsp world. page : the jsp page, same as local variable in a class. request: the duration of the request over multiple pages session: the duration of the

Re: Performance issue

2007-01-04 Thread Leon Rosenberg
there are 4 scopes or visibilities/lifecycles of attributes in the servlet/jsp world. page : the jsp page, same as local variable in a class. request: the duration of the request over multiple pages session: the duration of the user session, over multiple requests application scope: the whole web

Re: Performance issue

2007-01-04 Thread Daniel Chacón Sánchez
Thanks Leon!!! Ok I made it using the servletcontext like you have said :-), with this servlet.getServletContext().setAttribute("objHospital", objHospital); All works fine, even if the user made a mistake :) One question: 1- I dont understand something about the servletContext, which is the p

Re: Performance issue

2007-01-04 Thread Leon Rosenberg
Hmm, can you send some code? What kind of validation do you use? Serverside or js? I suppose it happens because the validation-whatsoever send the user directly to use jsp bypassing the action. If you need a quick and dirty solution, alter you preExecute method to put the objects into the sessio

Re: Performance issue

2007-01-04 Thread Daniel Chacón Sánchez
Leon!!! something happen... I applied your solution putting the objects in the request in the preExecute method of the base action, and all works fine, but... when the user made a mistake, for example leave a required field in blank, and the ActionErrors validate method of the ActionForm return

RE: Performance issue

2007-01-02 Thread Raghu
osenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 03, 2007 12:28 AM To: Struts Users Mailing List Subject: Re: Performance issue The easiest way is to initialize the data once in the init(ServletConfig) method of the servlet and put them into the application scope (servletcontext). The s

Re: Performance issue

2007-01-02 Thread Leon Rosenberg
u welcome :-) L On 1/2/07, Daniel Chacón Sánchez <[EMAIL PROTECTED]> wrote: Thanks Leon!!!, I got it!!! 2007/1/2, Leon Rosenberg <[EMAIL PROTECTED]>: > > On 1/2/07, Daniel Chacón Sánchez <[EMAIL PROTECTED]> wrote: > > Thanks > > > > Leon, about using the servlet context, I read that on a distri

Re: Performance issue

2007-01-02 Thread Daniel Chacón Sánchez
Thanks Leon!!!, I got it!!! 2007/1/2, Leon Rosenberg <[EMAIL PROTECTED]>: On 1/2/07, Daniel Chacón Sánchez <[EMAIL PROTECTED]> wrote: > Thanks > > Leon, about using the servlet context, I read that on a distributed > application the share information of the servlet context is not entererly > gl

Re: Performance issue

2007-01-02 Thread Leon Rosenberg
On 1/2/07, Daniel Chacón Sánchez <[EMAIL PROTECTED]> wrote: Thanks Leon, about using the servlet context, I read that on a distributed application the share information of the servlet context is not entererly global right?: Right, but since the data is readonly its ok to have a copy per webser

Re: Performance issue

2007-01-02 Thread Daniel Chacón Sánchez
Thanks Leon, about using the servlet context, I read that on a distributed application the share information of the servlet context is not entererly global right?: *"...In the case of a web application marked "distributed" in its deployment descriptor, there will be one context instance for each

Re: Performance issue

2007-01-02 Thread Leon Rosenberg
The easiest way is to initialize the data once in the init(ServletConfig) method of the servlet and put them into the application scope (servletcontext). The struts tags will be able to access the data directly, so you don't need to change a bit. Of course the data structures theirself must be thr

RE: Performance issue

2007-01-02 Thread Asthana, Rahul
Assuming the lists are user dependent.. 1)You should run some profiling and load tests.There may be no performance issue in the first place. 2)Keep the actual content of the lists in application scope and only the ids in session.Lets say you have to show {"New York","London"

Fwd: Performance issue

2007-01-02 Thread Daniel Chacón Sánchez
-- Forwarded message -- From: Daniel Chacón Sánchez <[EMAIL PROTECTED]> Date: 02-ene-2007 11:52 Subject: Re: Performance issue To: Struts Users Mailing List Hi Mike, the list are not user-dependant, I load those list from the database, and are the same for all users, but h

Re: Performance issue

2007-01-02 Thread Daniel Chacón Sánchez
Hi Mike, the list are not user-dependant, I load those list from the database, and are the same for all users, but how can I put then on the application context?? 2007/1/2, Mike Baroukh <[EMAIL PROTECTED]>: If those lists are not user-dependant, you can put them in application context. This wa

Re: Performance issue

2007-01-02 Thread Mike Baroukh
If those lists are not user-dependant, you can put them in application context. This way, they will be shared by all your users. If they are user-dependant, I think I would have done a bean that provides properties that get data from db on the fly. Of course, if an error occur, it will be in

Performance issue

2007-01-02 Thread Daniel Chacón Sánchez
Hi all, I'm using struts framework on my application, but I have a perfomance question. When my application starts I load objects in session that may or may not will be used (depends on what the user does), for example I load the health centers, hospitals, countries, etc, that will be available

Re: Struts & Reports - Performance issue

2004-05-15 Thread Vic Cekvenich
bean. Therefore, if jsp is generating a csv containing a big table with lots of rows (like generating reports), then form bean properties has to be called in a loop (using logic-iterate). Will this be a performance issue (using reflection api and also jsp tags)? As in the system user can choose to vie

Struts & Reports - Performance issue

2004-05-15 Thread Prasad, Kamakshya
Hi All, I believe Struts uses reflection api for populating the jsp from form bean. Therefore, if jsp is generating a csv containing a big table with lots of rows (like generating reports), then form bean properties has to be called in a loop (using logic-iterate). Will this be a performance

AW: Struts File-Upload performance issue

2004-05-11 Thread Ralf Alt
ist Betreff: Re: Struts File-Upload performance issue Ralf, What is the speed of your connection? What is the speed of the client's connection? How fast is your server? What is the load on the server? You need to consider those questions before pinning the problem on the Struts file upload.

R: Struts File-Upload performance issue

2004-05-10 Thread Simone - Dev
ling.com/S Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" > -Messaggio originale- > Da: Ralf Alt [mailto:[EMAIL PROTECTED] > Inviato: lunedì 10 maggio 2004 17.08 > A: [EMAIL PROTECTED] > Oggetto: Struts File-Upl

RE: Struts File-Upload performance issue

2004-05-10 Thread Kathy Zhou
/uploadbean.html For your info, Kathy -Original Message- From: Daniel Kalcevich [SMTP:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 1:25 PM To: Struts Users Mailing List Subject:RE: Struts File-Upload performance issue There is a package called edtFTPj that allows you to perform

RE: Struts File-Upload performance issue

2004-05-10 Thread Kathy Zhou
/uploadbean.html For your info, Kathy > -Original Message- > From: Daniel Kalcevich [SMTP:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 1:25 PM > To: Struts Users Mailing List > Subject: RE: Struts File-Upload performance issue > > There is a package called edtFT

RE: Struts File-Upload performance issue

2004-05-10 Thread Daniel Kalcevich
] Sent: Monday, May 10, 2004 10:14 AM To: 'Struts Users Mailing List' Subject: RE: Struts File-Upload performance issue Jacob, I agree with you. I do not think this is a struts issue. Java is not a good tool for large file uploading. We run into the similar issue before. We built a web

RE: Struts File-Upload performance issue

2004-05-10 Thread Kathy Zhou
like to know if anybody has further comments on it. Thanks, Kathy -Original Message- From: Hookom, Jacob [SMTP:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 12:18 PM To: 'Struts Users Mailing List' Subject:RE: Struts File-Upload performance issue Yeah, FTP is the

Re: Struts File-Upload performance issue

2004-05-10 Thread Richard Yee
Ralf, What is the speed of your connection? What is the speed of the client's connection? How fast is your server? What is the load on the server? You need to consider those questions before pinning the problem on the Struts file upload. Regards, Richard --- Ralf Alt <[EMAIL PROTECTED]> wrote: >

RE: Struts File-Upload performance issue

2004-05-10 Thread Hookom, Jacob
: Struts Users Mailing List Subject: Re: Struts File-Upload performance issue You need to store 1GB files in a database? Yea, so good luck with that ;) On Monday 10 May 2004 08:07 am, Ralf Alt wrote: > Hallo, > > I'm using the struts file upload with Struts Version 1.1. > > If

Re: Struts File-Upload performance issue

2004-05-10 Thread Mark Lowe
If its an upload what speeds do you get using ftp as a comparison ? Sure once its uploaded saving to the db may not be very long, slowest part is always going to be the network. On 10 May 2004, at 17:07, Ralf Alt wrote: Hallo, I'm using the struts file upload with Struts Version 1.1. If I try

Re: Struts File-Upload performance issue

2004-05-10 Thread Riyad Kalla
You need to store 1GB files in a database? Yea, so good luck with that ;) On Monday 10 May 2004 08:07 am, Ralf Alt wrote: > Hallo, > > I'm using the struts file upload with Struts Version 1.1. > > If I try to upload big files there is a performance problem. For a file of > 40Mb the upload needs ab

Struts File-Upload performance issue

2004-05-10 Thread Ralf Alt
Hallo, I'm using the struts file upload with Struts Version 1.1. If I try to upload big files there is a performance problem. For a file of 40Mb the upload needs about 20 minutes before the action is executed. I need the file upload for storing big files > 1Gb in the database. The storing in the