Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrieving value from a text box

 
abhishek rathur
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


how i will perform operation on the string received from text box,the above code is not working
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please TellTheDetails and PostRealCode so that we can get more idea about the issue you are facing.
 
abhishek rathur
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


i want to tokenizer the string received from the text box ,and need to insert the individual values in the database
 
Campbell Ritchie
Sheriff
Pie
Posts: 50196
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you using tokenizer at all; it is legacy code? You need to look in its API documentation to see what you ought to use instead.
There is lots about database connections in the Java™ Tutorials.
 
Campbell Ritchie
Sheriff
Pie
Posts: 50196
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You really need to tell us what is going wrong.
 
abhishek rathur
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is no problem with the connectivity with the data base,what the problem is i successfully retrieve the string from the text box "str1",the next thing is to parse the string by "," and insert it into the database javascript:emoticon('');
 
prasad guna
Ranch Hand
Posts: 46
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi abhishek,

As per your input i find something wrong insted of String Object like str insted of with in double quote


Thanks
 
abhishek rathur
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank GOD its working
thanks prasad guna ....
all of you who replied('');
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to separate the values based on "," as separator, you an also try using this:
 
prasad guna
Ranch Hand
Posts: 46
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
welcome
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic