Re: [Solved] Issue while migrating from 1.0 to 1.1

2006-06-08 Thread Niall Pemberton
On 6/8/06, Olivier Citeau <[EMAIL PROTECTED]> wrote: Tim, thank you for your support and your patience, I found the solution This page helped me too : http://www.systemmobile.com/articles/strutsMessageResources.html Instead of parameter="struts", I needed to specify parameter="ressources.str

[Solved] Issue while migrating from 1.0 to 1.1

2006-06-08 Thread Olivier Citeau
Tim, thank you for your support and your patience, I found the solution This page helped me too : http://www.systemmobile.com/articles/strutsMessageResources.html Instead of parameter="struts", I needed to specify parameter="ressources.struts" Whereas Struts 1.0 could find it in "resso

[Solved] Issue while migrating from 1.0 to 1.1

2006-06-08 Thread Olivier Citeau
Tim, thank you for your support and your patience, I found the solution. This page helped me too : http://www.systemmobile.com/articles/strutsMessageResources.html Instead of parameter="struts", I needed to specify parameter="ressources.struts" Whereas Struts 1.0 could find it in "ress

RE: Issue while migrating from 1.0 to 1.1

2006-04-04 Thread Slattery, Tim - BLS
> Which outputs > ae.size()=1 > error.mandatory.login.password > > So, the issue is with the tag itself So the errors collection is getting stored in the right place. I think we have to look at your properties file. Apparently the tag is finding *some* properties file, since i

RE: Issue while migrating from 1.0 to 1.1

2006-04-04 Thread Olivier Citeau
In fact there is always an actionError object. When trying to debug I used request.getParameterNames instead of request.getAttributeNames So using <% org.apache.struts.action.ActionErrors ae = (org.apache.struts.action.ActionErrors)request.getAttribute(org.apache.struts.Globals.ERROR

RE: Issue while migrating from 1.0 to 1.1

2006-04-04 Thread Olivier Citeau
Hi Tim, In fact no action is involved, only a form and a jsp. In struts-config.xml I have validate=true So Struts calls from.validate() which returns a non empty ActionErrors object. Since ActionErrors object is non empty, both version of Struts redirect to the same jsp page and do

RE: Issue while migrating from 1.0 to 1.1

2006-04-04 Thread Slattery, Tim - BLS
> Now here is my issue. > In the form, if the user forgets a mandatory field, I do > something like : > errors.add (... > ... > return errors If I'm following correctly, this returns an ActionErrors collection to your Action. > I do not use saveErrors(), because I use it only i

RE: Issue while migrating from 1.0 to 1.1

2006-04-03 Thread Olivier Citeau
Hi Tim, Thank you for your answer. Now I see that I was not clear and I apologize for that. We migrated a project from : WSAD 5.0 / J2EE 1.2/ JDK1.3 (Websphere 5) to RSA / J2EE 1.4 / JDK 1.4 (Websphere 6) We discovered the hard way that RSA's migration assistant suck. Our "

RE: Issue while migrating from 1.0 to 1.1

2006-04-03 Thread Slattery, Tim - BLS
> Hi, > while migrating my app tu Websphere 6, I choos to migrate > from Struts 1.0 to 1.1. > (According to META-INF/MANIFEST.MF file, because I am not sure). > > First when forgetting a file I had : > Error 500: Cannot find message resources under key > org.apache.struts.action.MESSA

Issue while migrating from 1.0 to 1.1

2006-04-03 Thread Olivier Citeau
Hi, while migrating my app tu Websphere 6, I choos to migrate from Struts 1.0 to 1.1. (According to META-INF/MANIFEST.MF file, because I am not sure). First when forgetting a file I had : Error 500: Cannot find message resources under key org.apache.struts.action.MESSAGE I solv