File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Dropdown not populated onconverting AJAX dependency dropdown 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 "Dropdown not populated onconverting AJAX dependency dropdown" Watch "Dropdown not populated onconverting AJAX dependency dropdown" New topic
Author

Dropdown not populated onconverting AJAX dependency dropdown

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 594
I ran an example of dependency dropdown using Javascript, AJAX. Now I am trying to convert it to use Jquery and AJAX. I am new to jquery. The second dropdown is not getting populated. Below is my code.

I am using Jquery2.
selectCountry.jsp




Struts.xml






PopulateCities.java

(Ajax action)





(Javascript)
user.js




thanks


Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 594
I think since it involves struts2,AJAX,JQuery, I will have to break it further into the problem area to resolve.
Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 594
The reason I am not able to make much progress in this is that I am not getting any error messages to help me isolate and solve the issue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dropdown not populated onconverting AJAX dependency dropdown
 
Similar Threads
Filter UserName by "Ascending/Descending options in drop down menu."
how to assign variable in text area?
http 500 in jsp page
AJAX Frameworks that integrate with Struts
http 500 in jsp page