• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Inserting form values into database using JSP custom tags

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic