you cannot call cheeses.add() where you do. do it in the constructor of MainApplication or some other method before cheeses is being used.
> From: [email protected] > To: [email protected] > Subject: Re: ERROR: exceded the 65,535 byte limit Please Help me! > Date: Sun, 14 Nov 2010 17:49:23 +0100 > > Alle domenica 14 novembre 2010, Jonathan Locke ha scritto: > > > > Yes. Learning Java better would certainly help, but to me there's an even > > deeper problem because what we're looking at is result-oriented coding... > > and result-oriented coding is what gets you into this sort of mess. The way > > out of that trap in general is to start working on and thinking about > > *process*. > > > > http://www.amazon.com/Coding-Software-Design-Process-ebook/dp/B0042X99SA > > > > Jon > It is all right. > I have very small know about java bases. > I don't know differents between Array.AsList and ArrayList. > > However, please help me about this error, or what I have to study or check: > Multiple markers at this line > - Syntax error on token "add", = expected after this token > - Syntax error on token(s), misplaced construct(s) > > On thi part of code: > > public class MainApplication extends WebApplication { > private List<C> cheeses = new ArrayList<C>(); > cheeses.add (new > C("BBTAA","001","","","","","","","","","","Portafotografia > argento","","","","","","","","","19.00","","","1000","ard","verif","","","","","","0")); > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
