It's probably a bug. Patches welcome! ;) Matt
On 11/20/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > I've just finally recovered from an innocent change I made that trashed > my application! > > I have a Constants class for my app that extends org.appfuse.Constants > to add some of my own values. I then use my own Constants class in the > <appfuse:constants ...> tag in taglibs.jsp . Today I added a new > constant to the class, a primitive (byte) set to 3. I made a number of > other more significant changes, so when my application suddenly stopped > working with JSP compile errors, it took a while to figure out where the > problem was coming from. I was getting long stack traces but not a lot > of useful information from them. Only after I cleared out the Tomcat > work directory and restarted Tomcat did I realise that _none_ of my jsps > would compile. > > To cut a long story short, when I eventually changed my new constant > from a byte primitive to a Byte object, suddenly all my jsps were > compiling again! > > Is this a bug or is it common knowledge (or maybe even documented > somewhere) that constants accessed by the <appfuse:constants ..> tag > can't be primitives? > > Cheers, > Rob Hills > Waikiki, Western Australia > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]