class loader problem???

2002-10-09 Thread Marc-André Thibodeau


Hello!

We just solved a problem we simply do not understand...  Found nothing in
the archive about this. Here it is:

- Problem happens on Tomcat and Weblogic,
- Using Struts 1.0.2,
- bean is correctly declared and referenced in struts-config.xml (checked a
thousand times...),
- property name is correctly spelled in property attribute of tag bean:write
or html:text (also checked a thousand times...),
- bean .class is deleted and .java is re-compiled,
- web server restarted.
- error message when accessing the page: no getter method for property
departureCountry found in bean ...

Solution found: java bean class is renamed and struts-config.xml updated
accordingly.

but why?!  oh why?!!

MA


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




dynamic constraints w/ Struts validator

2002-04-05 Thread Marc-André Thibodeau


Hi!
I'm using Struts 1.0.2 with the validator framework in a quite simple form
application.  It's particularity is that constraints on some fields (for
example, the integer range for some input) may be determined at runtime.
But the validator framework does not seem to allow to set these constraints
dynamically...  (Am I wrong?)  The solution I thought of is to extend the
ValidatorForm class, adding a call to some utility method at the end of the
validate() method which would perform the "dynamic validations". But this
way I lose the useful features of the framework for these validations. Isn't
there a better way to do this without having to modify the validation
framework itself??

Thanks

Marc-André Thibodeau


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread Marc-André Thibodeau


Very good idea!
Chapters 13, 16, 19 and 21 look the most interesting to me...

MA

-Message d'origine-
De : Kelm, Scott [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 28 mars 2002 17:20
À : 'Struts Users Mailing List'
Objet : RE: Preview OReilly Struts Chapters Online - Soon


Internationalization would be one I would be interested in.

-Original Message-
From: John Menke [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 4:18 PM
To: Struts Users Mailing List
Subject: RE: Preview OReilly Struts Chapters Online - Soon


when does the book come out in print?

> -Original Message-
> From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 28, 2002 4:49 PM
> To: Struts Users Mailing List
> Subject: RE: Preview OReilly Struts Chapters Online - Soon
>
>
> This is a wonderful idea. The chapter at a time thing will also
> force us to read the chapter you want reviewed rather than the
> one that grabs our attention at the time, given that these may
> not always be the same chapter! :-)
>
> You have my commitment to read and comment upon each chapter that
> you release. This list has been good to me, so this will be a way
> that I can give back to the struts community.
>
> And I will be BUYING the book! :-)
>
> Simon
>
> -
> Simon P. Chappell [EMAIL PROTECTED]
> Java Programming Specialist  www.landsend.com
> Lands' End, Inc.   (608) 935-4526
>
>
> >-Original Message-
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, March 28, 2002 3:32 PM
> >To: [EMAIL PROTECTED]
> >Subject: Preview OReilly Struts Chapters Online - Soon
> >
> >
> >It looks like I'm going to get approval to post preview
> >chapters from my OReilly Struts book somewhere on the net.
> >There are still a few preliminary things that have to be
> >worked out, but I don't think they will be a big deal. There
> >are a few things that I'm not sure about yet. If anyone has an
> >opinion, please let me know.
> >
> >First, where to post them. I was thinking about talking with
> >the folks at theserverside.com, but might also be worth
> >posting them here in the user mailing list as well. I'm not
> >sure. Anyone know of a good reason to go either way. I'm a
> >little afraid of the flood of emails to everyone's box that
> >this could generate, but it might also generate some good discussions?
> >
> >Also, because of time and everything that's going on, I doubt
> >that I'll be able to post all of them. So which ones are of
> >the most interest? Here's what I thought:
> >
> >Chapter 2.   The Web Server/Servlet Container Relationship
> >Chapter 3.   Overview of the Struts Framework
> >Chapter 4.   Configuring web.xml and struts-config.xml
> >Chapter 5.   Struts Controller Components
> >Chapter 6.   Struts Model Components
> >Chapter 8.   Custom Tag Libraries
> >Chapter 10.  Exception Handling
> >Chapter 12.  Internationalization and Localization
> >Chapter 13.  Struts and Enterprise JavaBeans (EJB)
> >Chapter 16.  Using Alternate Presentation Technologies
> >Chapter 18.  Logging in a Struts Application
> >Chapter 19.  Addressing Performance
> >Chapter 20.  Packaging your Struts Application
> >Chapter 21.  Struts Design Strategies
> >
> >(As many as I could get to before I finish the book)
> >
> >Anyone would be able to download the chapters, read them, and
> >send me their comments (both good and bad). I'll make any
> >neccessary changes to the source document. I would probably
> >post a new one every week or so.
> >
> >This may take a couple of weeks to get everything setup, but I
> >have 9 that are ready to go. I also have a complete 1.1
> >storefront application that I could make available. It's what
> >I'm using to showcase the Struts framework. It will eventually
> >include every 1.1 feature in it.
> >
> >Let me know what everyone thinks.
> >
> >Chuck Cavaness
> >--
> >Sent via jApache.org
> >
> >--
> >To unsubscribe, e-mail:
> 
> For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: