• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

spring Date update and auto populate

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,

i am trying to insert date in Oracle DB using Spring MVC.

JSP Code



Shift Bean



Controller




In Console it is printing null ? how fix and how can i auto populate the date in UI.



 
abheeshek reddy
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

abheeshek reddy wrote:hi all,

i am trying to insert date in Oracle DB using Spring MVC.

JSP Code



Shift Bean



Controller




In Console it is printing null ? how fix and how can i auto populate the date in UI.



 
Ranch Hand
Posts: 32
1
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try changing your date variable to a string just to see if the parameter is making it through to the bean.  If you can verify that the param is making it to the form bean then there is something wrong with your string to date transformation, and you can focus on that.
reply
    Bookmark Topic Watch Topic
  • New Topic