Some code snippets would shed some light here... :) Regards, Erez
-----Original Message----- From: Gregory F. March [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 6:07 PM To: [EMAIL PROTECTED] Subject: jsp -> java naming issue Back to coding... I've been struggling with an issue for the past two days that I just cannot solve. There is a bunch of stuff going on, but I believe I have narrowed it down to the following. Here are the cast of characters: Vector v1 of data that contains an element that is another Vector v2. A jsp that iterates through both vectors Class c1 that contains the data for v1 with appropriate getters and setters Class c2 that contains the data for v2 with appropriate getters and setters An adapter that populates the Vector v1 and v2 using the above two classes What happens: jsp does a logic:iterate id=item name=v1 jsp does a bean:write name=item property=v2 I get a servlet exception saying there is no getter method for property v1 of bean item. Here is where it gets weird. It is convoluted, so bear with me... If I create a dummy getter (getXyzzy) and setter (setXyzzy) in c1 that simply call the original getters and setters (getV2, setV2), and have the jsp do a bean:write name=item property=xyzzy, it works (no exception). If I leave the jsp alone (bean:write name=item property=v2), but change the adapter to call setXyzzy instead of setV2, it works too! In other words, the following table occurs: jsp adapter works ------------------------------------- property=v2 setV2 No property=xyzzy setV2 Yes property=v2 setXyzzy Yes I am totally stumped as to why this is occurring. Now, keep in mind that other bean:write's on item are working fine. Any help would be really, really appreciated. I've had two other people look at it and they are stumped too. If I didn't make myself clear, let me know and I'll try my best to explain it better. Thanks... /greg -- Gregory F. March -=- http://www.gfm.net:81/~march -=- AIM:GfmNet --------------------------------------------------------------------- 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]

