struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Cosmeur <cosm...@gmail.com>
Subject Struts 2 and dynamics web page
Date Fri, 30 Apr 2010 04:02:50 GMT
Hello Struts 2 Users,

I would like to call an action when an envent onchange from a s:select
component is dispatched. According to the selected value I would like to
load data in a form in order to modify it after. To do that i would like to
call a Struts 2 action with AJAX, is it posible and is it the best solution
to perofrm it ?

In the JSP what should i do ?

Case 1: the action return a jsp page inside the main jsp page
<s:select>
@include page=form.jsp

Case 2 : the AJAX request refresh div by calling an action
<s:select>
<div>

Any help would be greatly appreciated




-- 
St├ęphane Cosmeur
06 33 54 36 04

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message