Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inserting form values into database using JSP custom tags

 
rudolf hitler
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic