This query is related to struts 1.3.
Let's say I have one action called 'getName.do' which is mapped to 'GetName.java' action class. In the
dmexecute method of this action class, I am setting one result say
String result = Hello;.
Essentially, I want the value of
result, which is
Any help will be highly appreciated.Answer1:
You can use <a href="https://api.jquery.com/jQuery.ajax/" rel="nofollow">jQuery ajax</a> for this purpose.
Importing jquery file:
Calling action through jquery ajax:
Hope this will help.