umm.. my appologies for using anthropomophic language, sorry i was trying to mail the struts list but obviously found some perl group.. :) I MEAN I GET A CLASS CAST EXCEPTION becuase they're not supposed to do that i suppose.,

Sorry but getting a Map or parameters and generating a query string is plain enough without sending code.. Or do you sit around all day writing myForm.get("somevalue") all day.. are the life of rielly huh.. perhaps i should return to academia :)

In trogloditian terms

Map formMap = (Map) myform

then i can get the keys for that map append comma and quotes etc, yawn etc..

I'm hoping that getMap() method in DynaActionForm in the newer versions of struts should do the job....

many thanks mark



Mercoled�, 5 feb 2003, alle 17:37 Europe/Rome, Wendy Smoak ha scritto:

I've a DynamicAction form and i need to generate an sql insert
statement from the properties and values contained within the
aforementioned form...
I usually generate my sql from such things by casting to a map but
ActionForms don't seem to like this..
What do you mean by 'ActionForms don't seem to like this'?

Can you post some of your code or explain what you're trying to do and where
it's failing? We need more details in order to be of any help.

--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

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

Reply via email to