[ANN] Struts 2.2.1.1 GA release available

2010-12-21 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.2.1.1 is available as a "General Availability" release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed t

Re: web application response time is too large.

2010-12-21 Thread Kushan Jayathilake
Yep. me too.. especially the facility to inspect and debugging Javascripts :) On Wed, Dec 22, 2010 at 10:57 AM, Brian Thompson wrote: > I love Firebug. It's quite possibly the single best tool in my web > development toolbox. > > -Brian > > > > On Tue, Dec 21, 2010 at 11:15 PM, Kushan Jayathilak

Re: web application response time is too large.

2010-12-21 Thread Brian Thompson
I love Firebug. It's quite possibly the single best tool in my web development toolbox. -Brian On Tue, Dec 21, 2010 at 11:15 PM, Kushan Jayathilake wrote: > Addition to this, you can track response time with Firebug (Third party > plugin for Firefox) once it installed, open it's "Net" tab, a

Re: web application response time is too large.

2010-12-21 Thread Kushan Jayathilake
Addition to this, you can track response time with Firebug (Third party plugin for Firefox) once it installed, open it's "Net" tab, and click or do whatever action in your JSP page, after the browser received it's response you can see how long it has taken to load the content, even It will show

Re: web application response time is too large.

2010-12-21 Thread Brian Thompson
Good points. However, I'd caution people to be careful of denormalization -- if you don't normalize in the first place, you run the risk of degrading performance in *other* ways ... not to mention opening the door for some ugly data-consistency issues. Like all things, there's a balance somewhere

Re: web application response time is too large.

2010-12-21 Thread Dave Newton
On Tue, Dec 21, 2010 at 11:56 PM, wrote: > Are you sure that database is normalised as well.. > Normalization can often *increase* response time, particularly for some types of operations, because of the join overhead. The DB needs to be correct for what it's being used for, and sometimes normali

Re: web application response time is too large.

2010-12-21 Thread Kushan Jayathilake
Hi, You can do something like this, take the queries that in pages takes longer time to load, then write a simple java programs to execute those queries, 1. print the time before it executes the query 2. print the time after it executed. 3. compare the values you get, 4. if its higher then your qu

RE: web application response time is too large.

2010-12-21 Thread manu.francis.mathew
Hi, Are you sure that database is normalised as well.. Thanks & regards, Manu Francis Mathew, 9742260423. Team Lead - Accenture. www.accenture.com From: Amit Oberoi [aobe...@techmahindra.com] Sent: Wednesday, December 22, 2010 7:59 AM To: struts-u...@jakar

RE: web application response time is too large.

2010-12-21 Thread Amit Oberoi
What sort of validation mechanism and actions you are putting on your web form? Anyway, you can try Jmeter to performance test your application. Regards Amit Oberoi Sent from my Nokia E72. -Original Message- From: onlysameer_no1else Sent: 22/12/2010, 02:02 To: struts-u...@jakarta.apac

Re: Dependancy Madness: Struts 2.2.1 spring 2.5 (preferably later ie: 3) and JPA2 backed with Hibernate

2010-12-21 Thread Ken McWilliams
I took your advice, there were to different versions of spring. Then did the rest of the hacking needed to upgrade struts 2.0.6 with dojo to 2.2.1. Now on my list: 1) Change the demo to use jQuery + stuts2-json-plugin 2) Upgrade spring to 3+ 3) Upgrade Hibernate and jpa to support JPA 2. 4) See i

Re: web application response time is too large.

2010-12-21 Thread Dave Newton
The problem could be *anywhere*. How are you going to start tracking it down? You must have *some* ideas of where/how to look? Dave On Tue, Dec 21, 2010 at 12:19 PM, onlysameer_no1else wrote: > Hi All > > I have developed one web application in struts 1, > database as MS SQL server and it is d

web application response time is too large.

2010-12-21 Thread onlysameer_no1else
Hi All I have developed one web application in struts 1, database as MS SQL server and it is deployed on tomcat 6 server (Window OS). For certain pages response time is too large. Test case: (content on web page is too large like text box, buttons, images.) Total Number of records: 284 to

Re: Parameter manipulation

2010-12-21 Thread Maurizio Cucchiara
I think that Paweł meant action where you must show only data, without any user interaction (edit, delete and so on). 2010/12/21 Altenhof, David Aron : > Yes ... loading in execute is exactly what I needed. Thanks! > > Is ViewAction a pattern, or is there an implementation? > > -David > > -Ori

Re: Image type submit

2010-12-21 Thread Maurizio Cucchiara
OK, I remember, we were talking about on dev list last week. At first glance, body parameter would seem unnecessary, so I think is a good candidate for removal, though it don't cause any side effect (except for the exception in debug mode). So, my suggestion is file a issue on JIRA [1]. I attached

RE: Parameter manipulation

2010-12-21 Thread Altenhof, David Aron
Yes ... loading in execute is exactly what I needed. Thanks! Is ViewAction a pattern, or is there an implementation? -David -Original Message- From: Paweł Wielgus [mailto:poulw...@gmail.com] Sent: Tuesday, December 21, 2010 5:09 AM To: Struts Users Mailing List Subject: Re: Parameter ma

Re: Calculate module of index in Struts2 iterator

2010-12-21 Thread Li Ying
You can put the following debug code in your jsp: It may help you find out what the result of expression is. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apach

Re: ?statusCode=303 get appended to url when using rest plugin

2010-12-21 Thread Gena Ganebnyi
>> Is it really so annoying? in case you are trying to achive clean urls looks quite awkward >> If the answer is yes, the next step would be opening an issue, could >> you file an issue for this? will do On Tue, Dec 21, 2010 at 1:45 PM, Maurizio Cucchiara < maurizio.cucchi...@gmail.com> wrote:

Re: ?statusCode=303 get appended to url when using rest plugin

2010-12-21 Thread Maurizio Cucchiara
Ok, I've got the point (I wrongly thought was a convention issue). The answer is: no (AFAIK), there is no-way to get rid of the statusCode param, I mean nothing simple (You should extend class, handling xml-configuration file, and so on). The good news is that it would be possible to insert into

Re: ?statusCode=303 get appended to url when using rest plugin

2010-12-21 Thread Gena Ganebnyi
2.2.1 On Tue, Dec 21, 2010 at 10:48 AM, Maurizio Cucchiara < maurizio.cucchi...@gmail.com> wrote: > Which struts2 version are we talking about? > > 2010/12/20 Gena Ganebnyi : > > I have the following annotations placed on my controller to assure > > redirect-after-post: > > @Results({ > > @Resul

Re: Parameter manipulation

2010-12-21 Thread Paweł Wielgus
Hi All, adding just one note to what Marcus already said, will You be able to update your whitelist every time User class (or any other viewable) gains new field? And again *ViewAction is for view only - it should be technically impossible to change viewed object state. One simple way to do it is l

Image type submit

2010-12-21 Thread osagit.ext
Hello Everyone, I encounter a problem with the taglib in my forms. So I downloaded the struts2 samples 2.2.1 and modified the form submit tag in struts2-showcase-2.2.1/conversion/enterPersonsInfo.jsp to be a submit of type image. and it generates the same error message: Rendering template /t

Re: Dependancy Madness: Struts 2.2.1 spring 2.5 (preferably later ie: 3) and JPA2 backed with Hibernate

2010-12-21 Thread Maurizio Cucchiara
It looks like there is a spring library conflict. Though at first glance would seem a spring issue, could you post the list of the lib directory (probably there will be more than one spring library version) 2010/12/20 Ken McWilliams : > I'm experiencing issues upgrading the struts2-spring-2-jpa-aj

Re: ?statusCode=303 get appended to url when using rest plugin

2010-12-21 Thread Maurizio Cucchiara
Which struts2 version are we talking about? 2010/12/20 Gena Ganebnyi : > I have the following annotations placed on my controller to assure > redirect-after-post: > @Results({ > �...@result(name="create", type="redirect", location="/schedule/"), > �...@result(name="update", type="redirect", locati