File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Only for one data in the text box

Alen Mester

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.


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63857

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Only for one data in the text box
It's not a secret anymore!