John- server-side will have to html format the response (in this case it would be for select) http://www.w3schools.com/tags/tag_select.asp
then follow the instructions dave showed on how to populate the WhateverDIVTagReceivesTheResponse.innerHtml with the html response which contains the select M-- ----- Original Message ----- From: "john lee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Cc: <[EMAIL PROTECTED]> Sent: Saturday, September 15, 2007 1:08 PM Subject: Re: html:select / DIV / document.getElementById(why).innerHTML > Dave, > > tks for ur help, I not quite understand your input. > > my problem is: if output just generate plain html tag, the output result with dropdown list is fine, but if try to generate <html:select> struts tag, then output display without dropdown list, data still there. > > my jsp just have struts <html:select property="studentname"> and <html:option value="john"/> and </html:select> only. > > tks so much > > john > > Dave Newton <[EMAIL PROTECTED]> wrote: > --- john lee wrote: > > after calling > document.getElementById(why).innerHTML, > > the output of "html:select" why can not be > recognized > > by struts? > > IIRC the S1 form tags rely on there being an > and will break w/o it (I could > definitely be wrong on this point). > > If this is the case, and your JSP fragment contains > only HTML form *element* tags Struts may not know how > to deal with it. You may have to write the HTML by > hand. > > d. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------- > Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]