File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Using AJAX with Struts 1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using AJAX with Struts 1.2 " Watch "Using AJAX with Struts 1.2 " New topic

Using AJAX with Struts 1.2

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


I am trying to use AJAX with Struts 1.2 Version .
Please help me as how to send Parameters to the Action class .
Here is below sample code i am trying .

Please tell me if this is possible without using any 3rd party Javascript libraries like Dojo .
Please help

Save India From Corruption - Anna Hazare.
Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

You append parameters to the request.
So you would end up having something like this:

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you very much Richard , that was helpful .
It is sorta covered in the JavaRanch Style Guide.
subject: Using AJAX with Struts 1.2
Similar Threads
responseXML.documentElement returns null object
Problem with Ajax
New to Ajax
problem with sending # character through ajax
Passing resultset from Servlet to JSP