How to update database in JSP

in #siacoin7 years ago (edited)

You will learn: 1) How to create a web from to take values from a user: 2) How to pass those values from the user to a JSP page using action="updatingDatabase.jsp" and request.getParameter("name"); 3) How to prepare a INSERT sql statement with question marks; 4) how to fill the questions marks with the values from the user using
ps.setString(1, name) and ps.setInt(2, id) methods; 5) how to select the new table and display its content in a webpage.

Source:
https://www.roseindia.net/jsp/update-database.shtml

Sort:  

Congratulations @shiyonglu! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post
You got a First Vote

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Good post! I definitely agree!
The Siacoin website states you can get 40% a year with 25k coins.
I don't have 25k coins, but one can easily acquire a few hundred just by simple tasks online so I've chosen the free, but still potentially effective route. I do plan to buy some while they are low though, still very cheap so might's well spend $10 or so on em. I do imagine they will go up eventually, but can never really tell.
I plan to hold on to what I do have, although Siacoin's team isn't as experienced, it has a chance to go far.
Aside from the stock market and the few years of crypto, there isn't much that can be done to tell if one is going to do well since it is kind of a new territory. For all we know a mass of regular Joes could start trading coins and we see a massive change in many prices. Sure, plenty of people are using coins now, but I can honestly say 95% of people I know have no idea what I mean when I say "bitcoin". When that changes, I imagine the prices will reflect that.
Til then, I'll be keeping a firm eye on daily Sia price changes. It could take years, but that is just like many other investments.

Coin Marketplace

STEEM 0.21
TRX 0.25
JST 0.038
BTC 95691.61
ETH 3343.89
USDT 1.00
SBD 3.03