Yes, you're right. The submit will execute an action whose result will apear in the div you specified in the target attribute.
Be sure your submit has theme="ajax". Alvaro. On 9/11/07, Maria Lujan Salvadori <[EMAIL PROTECTED]> wrote: > Hi, I'm starting with ajax and I want to reload a div after pressing a > button. I use the s:submit and in the targets set the id of the div to be > refresh. I would like just to refresh the content of this div, is necessary > to "draw" the content of the div in a separate jsp and the result of the > submit sent to this jsp? Is there any other way to do that? > Thanks in advance > ML > -- Alvaro Sanchez-Mariscal Arnaiz Java EE Architect & Instructor [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]