Hi Tim & hurray! just for your amusement.... The other day I added some buttons to a form & the setter methods in the form bean weren't being called when the buttons were pressed. I checked & checked. I copied button code from another jsp/form/action & that worked. I still couldn't get my new code to work so deleted it, adapted the copied code & it worked. I still have no idea why the original code didn't work & that really annoys me. Probably I was hallucinating & see something being in the correct case when it wasn't but I checked so carefully..... I used to train some even more junior people than me & used to tell them that the laws of cause & affect seem a bit fuzzy on the java server side... Terrible thing to say - but it meant don't spend forever sight checking code for errors, go copy some code that works. Not how I used to like to work! What ever doesn;t drive you insane makes you a stronger programmer. cheers - Keith.
--- Tim Sawyer <[EMAIL PROTECTED]> wrote: > Right, I'm back (finally!) > > I narrowed the problem down to a struts-config problem. I deleted > everything from struts-config that wasn't related to the one page that I was > having problems with. I then found that the page would work, and not give > me the getter missing error. > > So went back to my original struts-config and started removing stuff again. > After a bit of messing around I've got it to work. The stuff I've taken > out was for code that I'd written but not got as far as running yet, it was > for a page in the flow after the one I was having problems with. I still > have no idea why it caused a problem, perhaps all will become clear as I > progress on and start to call it again. I've removed one form bean > definition and all the action definitions after the page where my problem > was. > > One thing that I have worked out which no-one on the list mentioned, is that > when you stick a struts <html:form> tag in your page, it uses the definition > of the action defined for that form to create the action form in session > memory, not the calling action. I hadn't realised this, and it does make > things clearer in my head now. > > Many thanks for all your help! > > Tim. > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > ===== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Search the archive:- http://www.mail-archive.com/struts-user%40jakarta.apache.org/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Bacon - Looking for struts work - South-East UK. phone UK 07960 011275 __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>