wood burning stoves 2.0*
The moose likes JSP and the fly likes Only for one data in the text box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Only for one data in the text box" Watch "Only for one data in the text box" New topic
Author

Only for one data in the text box

Alen Mester
Greenhorn

Joined: Jul 08, 2011
Posts: 21
Good Night

I have a problem with this jsp with mysql

The idea is when I put a number in the text box the console have to show all the data of that number "ID".





All data I need is the only one that I put in the text box not all the ids of the table.

My thoughts tell me here is the error , well I hope



People I need your help.

thanks.


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

Step 1 is to refactor and to move all that Java code out of the JSp and into a servlet and other Java classes where it belongs. Java code in JSP pages has been discredited for almost ten years now. Time to modernize your JSP knowledge.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Only for one data in the text box