|
||
|
|||
|
Dear friends,
This problem with date insertion. I am using back-end as oracle. Actually, in ORACLE, i created a table forummessage, having a column named as "dateofposting date". I created a servlet for storing/inserting the values. But, unable to store date value from the servlet into that table named forummessage. It is saying that java.util.Date and java.sql.Date are not compatible; so, i can i make it compatible and store it. Please, tell me how can i insert date value(s) from servlet to a table using PreparedStatement. thank you urs madhukar
|
|
||||
|
Hello madhukar,
Can I see your code please? Are you able to store any data at all?
__________________
Don't forget to add syntax highlighted code tags around your code: [highlight=Java] code here [/highlight] Forum Tip: Add to peoples reputation ( ) by clicking the button on their useful posts.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] plz help servlets | bhmadhukar | Java Servlet | 4 | 19-05-2009 01:24 PM |
| [SOLVED] Date class conflict? | LiquidMetal | AWT / Java Swing | 3 | 08-05-2009 06:27 PM |
| How to Get the last modified date of webpage | Revathy G | Java Code Snippets and Tutorials | 1 | 06-05-2009 09:47 AM |
| How to Get the current date and time | JavaPF | Java Code Snippets and Tutorials | 2 | 02-12-2008 05:55 PM |