• 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 values from Jsp

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi.
Iam trying to insert the values from JSP.
But Iam getting these values from HTML.
I retrieved values from HTML and stored in Enumeration Objects.
Can i store directly from Enumeration Objects?
Else i have to store in string objects and then insert into database.
If it is possible directly from Enumeration,Please explain how???

Thanks in Advance..
Geetha
 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Geetha,

Better you fetch values in String, as your can check data integrity prior to insert in database. And also if you use Enumeration, then also you to go rotate thru all values (using hasMoreElements ()).

Are you not planning to user Bean in your project?
 
reply
    Bookmark Topic Watch Topic
  • New Topic