Results 1 to 1 of 1
- 07-11-2012, 04:54 PM #1Member
- Join Date
- Jun 2012
- Rep Power
AJAX - Struts2JqueryPlugin - type of Result
I have a web application maden with struts2.2.x
I'm adding asynchronous function for refresh only 2 fields (says F1, F2) of the main jsp. The total fields are 50.
Even F1 F1 are inside a larger FORM for total submit after.
I Use the plugin for jquery 3.3.1.
The F1 F2 fields are inside a DIV tag, who is the TARGET for the asynch submit.
The asynch. submit is ok, with tags jquery <sj:submit> or <sj:a>
the problem is that in the asynch. jsp answer the fields F1 F2 are added to the main, so are double and not refreshed.
The questions :
-- how is the struts result definition for "asynch" part ? the same main jsp ? Or a new jwp wiht the two field only ?
-- is it possibile annidate form sync (total submit, 50 fields) with inner form async.(for refresh F1 F2) ?
- By fortwnty420 in forum New To JavaReplies: 4Last Post: 08-01-2011, 11:29 AM
- By sameerk in forum Web FrameworksReplies: 1Last Post: 05-17-2011, 11:15 AM
- By sysout in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 07-19-2010, 12:53 PM
- By xcallmejudasx in forum New To JavaReplies: 2Last Post: 11-06-2008, 07:24 PM
- By GilaMonster in forum New To JavaReplies: 9Last Post: 09-17-2008, 11:43 AM