Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Problem with Ajax Double Combo

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried to create a double combo. I am sending the code also but the problem is that my program is coming to FillDropDown Function( ) but not excuting the code inside.Even I am not confirm that whether its executing my Action Class or not.


1) home.jsp



4) net.js

5) struts-config.xml

Now Since I have taken some of the code from Internet, I am unable to understand somethiongs:

1) how to access params in my Action Class which I have send through net.js.
2) Is the request.getParameter statement correct way to access data in struts framework.
3) Is the code written in Action class to create xml file correct? Meaning, I have returned "index" and forward to home.jsp in struts config.So, I am confused that how will home.jsp retrieves the value in filldropdown function()

Please Help Me in understanding the concepts since I am working on this program from one month and still struggling to run it successfully.
[ June 16, 2008: Message edited by: Eric Pascarello ]
Posts: 15385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried to debug each step, is code going and coming back from the server? Have you read the chapter of the book that goes along with my code? [This was also a sample chapter that can be found on Manning's site]

The knights of nee want a shrubbery. And a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!