Hi! Based on Struts showcase, I have tried the below AJAX tags:
<s:url id="json" value="/JSONList.action" /> <s:autocompleter theme="ajax" href="%{json}" autoComplete="false"/> and the JSONList action simply return the hardcoded contents of
/ajax/JSONList.js:
[ ["Alabama","AL"], ["Alaska","AK"], ... ["Wyoming","WY"] ] Now, to return the list dynamically (e.g. read from the database), I will have to retrieve the values from the database, then format the values into a string in JSON format and store it in the session before it can be referrenced in the autocompleter tag? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]