Deprecated: Creation of dynamic property wpdb::$categories is deprecated in /home2/learnera/public_html/tech/wp-includes/wp-db.php on line 760

Deprecated: Creation of dynamic property wpdb::$post2cat is deprecated in /home2/learnera/public_html/tech/wp-includes/wp-db.php on line 760

Deprecated: Creation of dynamic property wpdb::$link2cat is deprecated in /home2/learnera/public_html/tech/wp-includes/wp-db.php on line 760

Deprecated: Creation of dynamic property WPtouchProFour::$settings_object is deprecated in /home2/learnera/public_html/tech/wp-content/plugins/wptouch/core/class-wptouch-pro.php on line 82

Deprecated: Automatic conversion of false to array is deprecated in /home2/learnera/public_html/tech/wp-content/plugins/wptouch/core/admin-load.php on line 70

Deprecated: Creation of dynamic property WP_Block_Type::$skip_inner_blocks is deprecated in /home2/learnera/public_html/tech/wp-includes/class-wp-block-type.php on line 391

Deprecated: Creation of dynamic property WP_Block_Type::$skip_inner_blocks is deprecated in /home2/learnera/public_html/tech/wp-includes/class-wp-block-type.php on line 391

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$toolbar_classic_block is deprecated in /home2/learnera/public_html/tech/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 347

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$toolbar_block is deprecated in /home2/learnera/public_html/tech/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 349

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$toolbar_block_side is deprecated in /home2/learnera/public_html/tech/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 350

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$panels_block is deprecated in /home2/learnera/public_html/tech/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 351

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$used_block_buttons is deprecated in /home2/learnera/public_html/tech/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 354

Deprecated: Creation of dynamic property YARPP::$is_custom_template is deprecated in /home2/learnera/public_html/tech/wp-content/plugins/yet-another-related-posts-plugin/classes/YARPP_Core.php on line 56

Deprecated: Creation of dynamic property YARPP::$db_options is deprecated in /home2/learnera/public_html/tech/wp-content/plugins/yet-another-related-posts-plugin/classes/YARPP_Core.php on line 69

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home2/learnera/public_html/tech/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Cookie/Jar.php on line 63

Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Cookie/Jar.php on line 73

Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Cookie/Jar.php on line 89

Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Cookie/Jar.php on line 102

Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Cookie/Jar.php on line 111

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/learnera/public_html/tech/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home2/learnera/public_html/tech/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home2/learnera/public_html/tech/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home2/learnera/public_html/tech/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home2/learnera/public_html/tech/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home2/learnera/public_html/tech/wp-includes/class-wp-term-query.php on line 1118

Warning: Cannot modify header information - headers already sent by (output started at /home2/learnera/public_html/tech/wp-includes/wp-db.php:760) in /home2/learnera/public_html/tech/wp-includes/feed-rss2-comments.php on line 8
Comments on: Send JSON object to Struts 2 Action by JQuery AJAX http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/ A Developer Tue, 17 Apr 2018 15:43:45 +0000 hourly 1 https://wordpress.org/?v=6.0.8 By: rajest http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-21214 Tue, 21 Nov 2017 11:40:26 +0000 http://tech.learnerandtutor.com/?p=108#comment-21214 In reply to Rajesh.

hey u can’t do that

]]>
By: marwane http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-20100 Wed, 11 Oct 2017 07:43:31 +0000 http://tech.learnerandtutor.com/?p=108#comment-20100 In reply to Nguyễn Đô.

i have the same error … did u figure out how to solve it ?

]]>
By: Nguyễn Đô http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-18482 Thu, 17 Aug 2017 08:09:47 +0000 http://tech.learnerandtutor.com/?p=108#comment-18482 Hey, I have a problem following your instructions, variable “data” on the action file is null

]]>
By: Rajesh http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-14732 Wed, 26 Apr 2017 06:30:08 +0000 http://tech.learnerandtutor.com/?p=108#comment-14732 In reply to uma.

can you post the full error log?

]]>
By: subhranshu http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-12031 Thu, 20 Oct 2016 08:53:05 +0000 http://tech.learnerandtutor.com/?p=108#comment-12031 its really good

]]>
By: uma http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-11993 Tue, 20 Sep 2016 11:08:06 +0000 http://tech.learnerandtutor.com/?p=108#comment-11993 Hi Am getting below error .
org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: java.lang.reflect.InvocationTargetException

]]>
By: Rajesh http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-11788 Wed, 04 May 2016 04:37:55 +0000 http://tech.learnerandtutor.com/?p=108#comment-11788 In reply to cobalto.

What is the error you are receiving? Post your error message here.

]]>
By: Rajesh http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-11787 Wed, 04 May 2016 04:37:42 +0000 http://tech.learnerandtutor.com/?p=108#comment-11787 In reply to Yogesh.

What is the error you are receiving? Post your error message here.

]]>
By: Yogesh http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-11786 Wed, 04 May 2016 04:24:35 +0000 http://tech.learnerandtutor.com/?p=108#comment-11786 Hi,

I am trying to get Arraylist of object from action class to Javascript method but I am not able to get it.
Please help me for the same.
Also I tried above example, It is working fine. but same code is not working in my project.

Thanks in Advance ,
Yogesh

]]>
By: Yogesh http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/#comment-11785 Wed, 04 May 2016 04:23:30 +0000 http://tech.learnerandtutor.com/?p=108#comment-11785 Hi,

I am trying to get Arraylist of object from action class to Javascript method but I am not able to get it.
Please help me for the same.
Also I tried above example, It is working fine. but same code is not working in my project.

]]>