Re: Dispatch action calling a function multiple times depending on browser

2010-07-17 Thread Rupali Gupta
Hi Abhishek The reason for request going two times to dispatch action in Mozilla may be its Prefetching feature for caching When any article contains the following tag: link rel=next href=2.html While fetching the original article, Mozilla fetches the next article also in its cache, if

Re: How to test optimization of a application in struts 1.x

2010-06-03 Thread Rupali Gupta
Hello Abhishek You can do a performance testing on ur local system to check this. There are open source performance testing tools like Apache JMeter, Allmon, DBMonster, Database Opensource Test Suite etc with which you can test database driven applications under heavy load. -Rupali On

Re: How to test optimization of a application in struts 1.x

2010-06-01 Thread Rupali Gupta
see a good web page because the server sent you the gzipped copy. On 6/1/2010 12:08 PM, abhishek jain wrote: Hi, Ok,thanks, how can i zip and send every page from the website. to reduce the size of HTMLs thanks abhishek On Mon, May 31, 2010 at 5:12 PM, Rupali Gupta r.gup

Re: How to test optimization of a application in struts 1.x

2010-06-01 Thread Rupali Gupta
Hi Abhishek You can check this out: The link contains a tool in which you provide raw HTML and it gives you back the compressed one.. http://www.textfixer.com/html/compress-html-compression.php On 6/1/2010 12:24 PM, Rupali Gupta wrote: You can follow these steps to compress a HTML: In your

Re: How to test optimization of a application in struts 1.x

2010-05-31 Thread Rupali Gupta
Hi Abhishek 1. You can do memory profiling by doing performance testing on your code. 2. You can use memcache server and cache data from db once the server is started to save the db hits every time. It will make application fast. 3. Try to follow Coding guidelines to save memory and load time

Re: Migration problem from 2.0.x to 2.1.6

2010-05-27 Thread Rupali Gupta
You would anyways need to extend the action class if you want the action mapping in your servlet. On 5/27/2010 11:18 AM, Gwen Harold Autencio wrote: Hi, I got a Servlet which doesn't extends to an action. Looking for a work around without extending the servlet to an action because it's

Re: action chain tag

2010-05-27 Thread Rupali Gupta
When an http://struts.apache.org/2.0.11.1/docs/action.htmlaction class method completes, it returns a String. The value of the String is used to select a result element. (result name = input here ) Not very sure on this but I think the flow will go to render action first and then if it finds