• Post Reply Bookmark Topic Watch Topic
  • New Topic

Interacting with database at client side through JSP  RSS feed

 
Darshan Bhavsar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i made one JSP Page .
In that i made two textfields.
In one field user enter some data and
according to that in another field data from
oracle's table should come.
e.g In one field Itemcode is entered by user
and in another field it's description should come as soon as he leaves the itemcode field. Both itemcode and itemdescription is stored in itm table of Oracle.
please guide me how it is possible or inform
me of any resources to do this.
Any suggestion is appreceated
Thanks in Advance
Darshan
 
Biju Nair
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way of doing it is to reload the page with the details when user enters an item code.
Another option if you do not want to reload the page is that pre load all the possible values in to a javascript array and when the cutomer enters an item code, display corresponding details according to it

------------------
--:Biju:--
Transversal e Networks
Technopark, Kerala, India
 
Darshan Bhavsar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Biju,
U mean to say i made JSP page and capture
all possible values into java array then
can u able to tell me how to load all the possible values of java array into a javascript array .

Can u able to give me example of such
Thanks in advance
Darshan.

 
Darshan Bhavsar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Biju,
U mean to say i made JSP page and capture
all possible values into java array then
can u able to tell me how to load all the possible values of java array into a javascript array .

Can u able to give me example of such
Thanks in advance
Darshan.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!