aspose file tools*
The moose likes Struts and the fly likes Retrieve records from database by selecting radio control in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

Retrieve records from database by selecting radio control in jsp

Devendra Bhati
Greenhorn

Joined: Dec 27, 2012
Posts: 19
Hello Friends,
In JSP page I select a City by Radio controls. I want this radio selection will retrieve/fetch all the records from DB table where particular city has been selected.
Lets an example, If i select a city as Bangalore using radio button named "Bangalore", then it post back All records with Bangalore in DB table.

I am using Struts 2 and Hibernate.

Thanks in advance to help me.
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1533
You have a similar post here

http://www.coderanch.com/t/604681/JSP/java/Retrieve-records-MySQL-radio-button

Choose one forum


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Devendra Bhati
Greenhorn

Joined: Dec 27, 2012
Posts: 19
Akhilesh, Hello.
I know this. This proble related to Struts 2 framwork also JSP implementation. I appreciate if you can help me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retrieve records from database by selecting radio control in jsp