aspose file tools*
The moose likes Struts and the fly likes Form not loaded properly in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form not loaded properly in struts2" Watch "Form not loaded properly in struts2" New topic
Author

Form not loaded properly in struts2

Jyothsna Panchagnula
Ranch Hand

Joined: Jul 11, 2005
Posts: 113
Hi all,

The requirement is , I need to display the from with some input data..
depending on the selection of select tag I need to get the data from the database and populate another select tag.
I am using struts 2 and I am submitting the page using javascript to fetch the values.
but the problem is that the page is not loaded fully.The gets loaded where the data is static.
When is comes to population of data from the database it does not load properly.
I am not able to get a solution for this problem

cAn any one help me out. its very urgent!!!

Also I getthe following error when I populated country list




jyothsna
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

How can anybody help? You've provided no code, configuration, JSP, or JavaScript, and don't even say how it doesn't work.
vishwa venkat
Ranch Hand

Joined: Nov 22, 2003
Posts: 185
Before forwarding to this page, make sure the countryList object is initialized. atleast assign an empty arraylist object. Struts2 expects to have the list being initilized in the input action class.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Form not loaded properly in struts2