aspose file tools
The moose likes JSP and the fly likes problem inserting jsp values in database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "problem inserting jsp values in database" Watch "problem inserting jsp values in database" New topic
Author

problem inserting jsp values in database

saswat rashmi
Greenhorn

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
Sheriff

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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem inserting jsp values in database
 
Similar Threads
SQL statment to Delete a row
how to insert null values into table
Radio Button,Check Boxes
Inserting Data Into Ms Access Thru JDBC
problem in inserting data into ms access