OpenCms and struts

2010-05-31 Thread Søren Blidorf
Hi. Does anybody know if OpenCms and struts work together today? Soren

Re: PRG pattern question

2010-05-31 Thread szerintedmi
Thanks all for the help... The store interceptor definitely is part of the solution. (If you lost and nothing else helps read the documentation :) ) I still need to sort out how to redirect the params. I'm thinking about to make an interceptor in similar way how the store interceptor works:

Re: PHP in the same folder of struts 1

2010-05-31 Thread abhishek jain
Hi , To share, the problem is solved by a configuration in apache httpd.conf with JKUnmount directive, thanks abhishek On Wed, May 26, 2010 at 4:08 PM, ch...@chrismiles.org wrote: You dont need to bump your posts back up, especially only a day later. If someone knows the answer they will

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

2010-05-31 Thread abhishek jain
Dear friends, I have recently developed an application in struts 1.x and i am thinking is there a way i can get to know that is the load time (in browser) as per the standard or competitive with other applications / websites, Can anyone give me some pointers? I do would like to know the time

Re: Regular Expression Denial of Service Attacks and Defenses

2010-05-31 Thread abhishek jain
Hi Greg, just a doubt , on looking at first sight i dont understand what does the regex ^(\d+)+$ do additionally. As it should be equivalent to ^(\d+)$ I am more perlish (from perl) biased which says the regex is greedy and hence it will anyway to the maximum match, pl. clarify, thanks abhishek

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

How to Configure a DataSource in Struts 2.X

2010-05-31 Thread VR Venugopal Rao
Dear All, How do we configure a Datasource in Struts 2.X. 1. Do we put Driver and url in the Action Class file or 2. Do we configure the Driver and Url in the Web.xml or 3. Do we configure in struts.xml instead of web.xml. A Small example would be helpful. Regards, VR Venugopal Rao

Re: How to Configure a DataSource in Struts 2.X

2010-05-31 Thread aum strut
There is no direct support for Data source in struts2 and as for your point action classed are a mean of Model and its never preferred to use such configuration at this level. On Mon, May 31, 2010 at 5:30 PM, VR Venugopal Rao venugopal.vell...@cmcltd.com wrote: Dear All, How do we configure

Struts2 empty action extension help request

2010-05-31 Thread Phil Davis
Hi, I am new to Struts2. It seems to provide some of the functionality that I want in MVC architecture. But I am having difficulties configuring it to work the way I want. I sure would appreciate some assistance. OK, lets start at the top. I want a single action class for all URLs because

Re: PRG pattern question

2010-05-31 Thread Chris Pratt
If you want to implement the PRG pattern, I only see two possibilities. Either you put the information in the session to preserve it from the P to the G or you put hidden parameters in a form on the page. It's a lot more secure keeping the data on the server side. But I could be missing an

Re: Struts2 empty action extension help request

2010-05-31 Thread Phil Davis
Correction, when the extension is blank, it does not find the image. It seems that I was getting a cached version. So, it seems that blank extensions do NOT completely work... That is, they don't work with other resource types (images, css, etc) I still would appreciate your response, and still

Re: Regular Expression Denial of Service Attacks and Defenses

2010-05-31 Thread Greg Lindholm
Hi abhishek, The meaning of the expression is explained in the article; the point is not the usefulness of the expression but that it is badly formed so that the regex engine can take an extremely long time to determine that the test string does not match the expression (also explained in the