aspose file tools*
The moose likes JSP and the fly likes Inserting form values into database using JSP custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Inserting form values into database using JSP custom tags" Watch "Inserting form values into database using JSP custom tags" New topic
Author

Inserting form values into database using JSP custom tags

rudolf hitler
Ranch Hand

Joined: Feb 07, 2003
Posts: 34
hi,
I have this form whose values i want to insert into the database using JSP and custom tags.I do not want to use servlets to insert values.Is it possible if yes ,how?
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
JSTL has tags for database access.
Here's apache.jarkarta implementation of taglibs: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
(look DBTags)
I must add that the DBTags are seen as a quick and dirty solution. Better use MVC (aka. Model View Controller aka. Model2) architecture.
There were plenty discussions about those in the forum. Just search for the above mentioned terms in case of doubt.
[ March 10, 2003: Message edited by: Axel Janssen ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61657
    
  67

I must add that the DBTags are seen as a quick and dirty solution. Better use MVC (aka. Model View Controller aka. Model2) architecture.

Listen to Axel for he is wise. You can divide a board in two using either a hammer or a saw. One will be easier and you'll be happier with the results -- using the right tool for the job is most of the battle.
hth,
bear
[ March 10, 2003: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Inserting form values into database using JSP custom tags