File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Entering a string without quotes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Entering a string without quotes" Watch "Entering a string without quotes" New topic

Entering a string without quotes

tom mcmorrow
Ranch Hand

Joined: Jan 11, 2002
Posts: 39
while i am not sure if this isthe correct board to post this message on I am using it as my application includes servlets and java beans.
I wish to write the string current_date to a mysql database but am unable to do so without the quotes being included which means the value does not default to current date but to 0000-00-00 -perhaps someone has suggestion
thanking you in advance
tom mcmorrow
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
Where are the quotes coming from???
I agree. Here's the link:
subject: Entering a string without quotes
It's not a secret anymore!