File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: problem inserting jsp values in database
It's not a secret anymore!