Forum: Java Oct 20th, 2009 |
| Replies: 13 Views: 9,573 Why don't you just try it? Just by reading the thread (I started it a while back now so can't remember) I would say you need the .equals() method to return for you... |
Forum: Java Oct 20th, 2009 |
| Replies: 13 Views: 9,573 Haha good to see an old post is still helping people |
Forum: Java Feb 27th, 2008 |
| Replies: 13 Views: 9,573 No I know that in order to compare a String you have to call its method .equals but how I check if a String is NOT equal to something? Will it be something like if ("hello" != String.equal())?? or... |
Forum: Java Feb 26th, 2008 |
| Replies: 0 Views: 1,558 Hi,
I have a JSP which searches through a database of categories and displays each one with a unique link if clicked. When the link is clicked it sends it to itself and saves it into a variable. ... |
Forum: Java Feb 18th, 2008 |
| Replies: 12 Views: 4,836 After all that! All I had to do was put square brackets around date because it is a reserved word! I was ready to hit the computer ;-)
Thanks for your help guys |
Forum: Java Feb 18th, 2008 |
| Replies: 12 Views: 4,836 Okay, I'm starting to think theres something wrong with my computer because this is beyond a joke. This is what I have now:
if (submit != null)
{
try {
String sql = "Update Questions Set... |
Forum: Java Feb 18th, 2008 |
| Replies: 12 Views: 4,836 Oh them ? were intentional? I replaced them LOL. Okay so here it is now...I seem to be getting somewhere. I've taken the WHERE out, but I don't understand how it knows which record to update. ... |
Forum: Java Feb 18th, 2008 |
| Replies: 12 Views: 4,836 Okay, having taken into consideration everything on this post I have created a new statement:
PreparedStatement ps = conn.prepareStatement("UPDATE Questions WHERE ID ="+ID+" (Question, Answer,... |
Forum: Java Feb 18th, 2008 |
| Replies: 12 Views: 4,836 I have a JSP which inserts date into a MS Access database. But I keep receiving the error:
24: statement.executeUpdate("INSERT INTO Questions WHERE ID ='"+ID+"'(\"Question\", \"Answer\",... |