Re: [Formatting data] - Format a number as currency

2008-01-22 Thread Pascal SEREMES-DAMAL
Thank you John. But How can I manage with the proprty file? 2008/1/22, John Koutros <[EMAIL PROTECTED]>: > > You can use the s:text struts tag. > > > > Where > > format.money = {0,number,#,##0.00} in a property file > > > -----Original Message- >

Re: [Formatting data] - Format a number as currency

2008-01-22 Thread Pascal SEREMES-DAMAL
Thanks to Martin for his answer. I had the idea of JSTL too Alberto. Thank you very much. 2008/1/22, Alberto A. Flores <[EMAIL PROTECTED]>: > > I'll recommend using using JSTL instead. > > > On Jan 21, 2008 8:11 PM, Pascal SEREMES-DAMAL <[EMAIL PROTECTED

[Formatting data] - Format a number as currency

2008-01-21 Thread Pascal SEREMES-DAMAL
Hi everyone!!! I'd like to know if it is possible to format a number into a currency with the struts taglib. Thanks.

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
All the code is there : http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html But I had a problem to deploy the application on my tomcat server. Musachy and Laurie suggested to move the file persistence.xml from /META-INF (where indicated in the tutorial) to /WEB-INF/classes/META-I

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
ting that the persistence.xml file is not in your > classpath (or not in the right place). Make sure that the file is really > being deployed and that it is in the correct directory > (WEB-INF/classes/META-INF/persistence.xml). > > L. > > Pascal SEREMES-DAMAL wrote: > >

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
Did some one else encountered the same problem as mine when following the tutorial http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html ? 2008/1/4, Pascal SEREMES-DAMAL <[EMAIL PROTECTED]>: > Do you mean it can come from a bad classpath..? Or maybe should I > speci

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
, Musachy Barroso <[EMAIL PROTECTED]>: > well, somehow the file is not getting there at runtime I guess, this > is from your stacktrace: > > "java.lang.IllegalStateException: No persistence units parsed from > {classpath*:META-INF/persistence.xml}" > > musachy >

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
version="1.0"> > > > > > musachy > > On Jan 4, 2008 11:26 AM, Pascal SEREMES-DAMAL <[EMAIL PROTECTED]> wrote: > > In fact in the tutorial > > (http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html > > ) they s

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
couldn't find META-INF/persistence.xml > > musachy > > On Jan 4, 2008 11:12 AM, Pascal SEREMES-DAMAL <[EMAIL PROTECTED]> wrote: > > Hello everyone!!! > > > > I hope you had fun during the end of year 2007 and I wish you a happy new > > year. > >

Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
Hello everyone!!! I hope you had fun during the end of year 2007 and I wish you a happy new year. I tried the Struts 2 + Spring 2 + JPA + AJAX tutorial that is on the struts page and when I deployed it on my server I had the following exceptions. GRAVE: Context initialization failed org.springfr