Results 1 to 1 of 1
- 07-11-2012, 03:54 PM #1
Member
- Join Date
- Jun 2012
- Posts
- 3
- Rep Power
- 0
AJAX - Struts2JqueryPlugin - type of Result
Hi
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) ?
thanks Nicola
Similar Threads
-
Trying to convert Java Date to type int to fit in mysql table with field type int(11)
By fortwnty420 in forum New To JavaReplies: 4Last Post: 08-01-2011, 10:29 AM -
Struts 2 error : No result defined for action / result
By sameerk in forum Web FrameworksReplies: 1Last Post: 05-17-2011, 10:15 AM -
jsp + ajax
By sysout in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 07-19-2010, 11:53 AM -
using instanceof to get Object type and parent type?
By xcallmejudasx in forum New To JavaReplies: 2Last Post: 11-06-2008, 06:24 PM -
[SOLVED] Cast string type to int type
By GilaMonster in forum New To JavaReplies: 9Last Post: 09-17-2008, 10:43 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks