hi guys , i am having a text box in my jsp page. i want to have auto suggestion feature to it . the content as i type in the text box should be taken from database. i am working on struts 1.0 . can anyone help me out in this problem ??
Also one more thing.. i am using a dynamic table in my jsp page which iterates results from database and displays it as a table format. i have a button called "export to excel" in my page. if i click on this button i should be able to retrieve the table content as a excel sheet generated. how do i do this in struts ???
i am a beginner in struts .. so kindly help me out with this issues.. thanking big moose saloon users...
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
posted
0
Originally posted by venkatesh warlu: how do i do this in struts ???
In order to accomplish this, you will need to spend some time learning AJAX, JavaScript and possibly a JavScript tool kit such as DOJO. While you can create a type-ahead in a Struts project the only thing Struts might possibly provide is an Action that will query the database for a list of suggestions. The rest is all handled in the browser/AJAX layer. This article might be a good place to start.