Re: struts capabilities with myEclipse

2007-09-16 Thread bartlebooth
Upgrade ! Version 3.8.4 must be about 3 years old. prem_gadgetquest wrote: I am using MyEclipse 3.8.4... when I create new project and add struts capabilities (struts 1.2) to it..it doesnt show me validator -rules.xml and validation.xml..I want to use these files for form validations..Similar

Re: [S2] Ajax performance optimisation

2007-09-14 Thread bartlebooth
can upgrade dojo to the most recent version in the 0.4 branch (currently 0.4.3). When you upgrade, make sure to copy the dojo/struts directory under the new dojo directory. bartlebooth Jason Wyatt wrote: I've been trying to speed up the Ajax performance of our application, based on the

Re: Setting application properties

2007-07-20 Thread bartlebooth
servletContext.getContext(your_application_context_name).getInitParameter("tmpDir")" hope this helps bartlebooth SimonK wrote: Thanx for you reply. The 'problem' with this solution is that I then have to explicitly access the file each time I want a property. I was hoping that There

Re: Struts2 and images from database

2007-07-18 Thread bartlebooth
you're using the prepare interceptor return "all"; // if you use "success" here, you have to modify the result name in your struts.xml } } hope this helps bartlebooth Roberto Nunnari wrote: Hi bartlebooth. That is very neat! But the getImageStream met

Re: Struts2 and images from database

2007-07-18 Thread bartlebooth
You could use the stream result-type. image/jpg imageStream name="contentDisposition">filename="image.jpg" 1024 In your action, you have to provide a method getImageStream (corresponding to the inputName parame

Struts2 StrutsTestCase

2007-07-17 Thread bartlebooth
ted in my tests. Is it possible anyhow to configure the StrutsTestCase to use the web.xml file. Is there any documentation on how to configure the StrutsTestCase correctly to use the web configuration ? Any pointers are welcome. Thanks, bartlebooth --