This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSP and the fly likes problem inserting jsp values in database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problem inserting jsp values in database" Watch "problem inserting jsp values in database" New topic

problem inserting jsp values in database

saswat rashmi

Joined: Jul 31, 2007
Posts: 14
hi everyone

i have insert some jsp values to access database .i am not able do that.please help me.

i am getting input from other jsp page ,which i want to enter to access databse .just i want to know format of insert when i am inserting value ,having differeent data type.

1. id ( fields ) numberformat(datatype)

2. name ( fields ) textformat(datatype)

3. date ( fields ) dateformat(datatype)
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

What your asking involves several technologies.
Before moving this to our JDBC forum, do you know how to retrieve HTML form values from within your JSP?

Also, these days, it is considered bad form to use JSPs for database operations.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
rocket mass heater kickstarter
subject: problem inserting jsp values in database