English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

All categories - 19 December 2007

Arts & Humanities · Beauty & Style · Business & Finance · Cars & Transportation · Computers & Internet · Consumer Electronics · Dining Out · Education & Reference · Entertainment & Music · Environment · Family & Relationships · Food & Drink · Games & Recreation · Health · Home & Garden · Local Businesses · News & Events · Pets · Politics & Government · Pregnancy & Parenting · Science & Mathematics · Social Science · Society & Culture · Sports · Travel

Can you guess what mine is? lol

2007-12-19 02:40:11 · 10 answers · asked by Hey U, Yeah U..Get over here 5 in Polls & Surveys

For me, having a relative diagnosed with leukemia.

2007-12-19 02:40:07 · 6 answers · asked by Anonymous in Polls & Surveys

2007-12-19 02:39:56 · 6 answers · asked by Melissa 2 in Polls & Surveys

2007-12-19 02:39:52 · 5 answers · asked by bullyhouse123 2 in Rock and Pop

So why did the democrat controlled Congress just pass another 70 BILLION dollar war spending budget?

Are you ashamed to call yourselves Democrats?

2007-12-19 02:39:50 · 3 answers · asked by Anonymous in Other - Politics & Government

Now he seeks not to pay it. What do you think will happen in the courts? Who will pay because someone will be paying even if they have to sell the debt to a collection agency. Did Hot Rod allow a lose at Pitt.s and few small things to set him off and hurt his Career I mean Mich. is not a loyal school to coaches?

2007-12-19 02:39:46 · 14 answers · asked by Anonymous in Football (American)

I hardly watch any tv--have the radio on all the time.

2007-12-19 02:39:32 · 31 answers · asked by Anonymous in Polls & Surveys

is it like "Day" or "Dan"

2007-12-19 02:39:31 · 15 answers · asked by Sweet_Girl08 1 in Baby Names

I need to make up a full name (first, middle & last name)

I thought of Jessica as i really like that name.

Can anyone help me for the middle name or last?

2007-12-19 02:39:29 · 33 answers · asked by dorset.female.20 2 in Baby Names

i do not like how we have to be 18 to smoke and which is stupid i think it should be 16 and older.

2007-12-19 02:39:10 · 22 answers · asked by Mercedes R 1 in Pregnancy

If Garrett is on the market, he is as good as gone. Jerry Jones better be smart enough to see that.
Parcell's first call will be to Jason Garrett.
Parcell's will be announcing he is accepting VP deal today.

2007-12-19 02:39:09 · 11 answers · asked by parrothead 2 in Football (American)

OK so like My Ex called me and with my boyfriends consent i went to talk to him (i told him that he needed to really trust me so he let me go) OK so we started talking and long story short he was basically groveling to get me back, thing is that i am seriously still in love with him i mean i love my boyfriend soo much just that hes a asshole, and when we have sex i cant ever seem to reach climax, and friends keep saying its because i still have (m) on my mind, which is true i really miss him, we had sucj a great time together, but he already cheated on me when we were together. i really miss him and i want him back to but i cnat trust him. SO MY QUESTION IS SHOULD I GIVE HIM ANOTHER CHANCE OR SHOULD I STAY WITH MY CURRENT BF THAT I LOVE BUT ITS JUST NOW THE SAME FOR ME.?

2007-12-19 02:38:46 · 5 answers · asked by EmTmAr + Baby Megan IS HERE! 3 in Singles & Dating

the person who died is going to receive eternal paradise from their loving God?

2007-12-19 02:38:41 · 14 answers · asked by Anonymous in Religion & Spirituality

I have a 2 yr old daughter that our Maltese loves, but I babysit another girl who is 20 months, when she runs or yells, or laughs loudly or anything my dog barks at her, he just growled and lunged at her yesterday when she was playing peek a boo with her blanket. Is this normal behavior (1st time owning a dog) I wouldn't think so....is this a sign that I should get rid of him? Does he just need more training? Any advice would be helpful!!!

2007-12-19 02:38:39 · 11 answers · asked by trish 3 in Dogs

Is there any difference in the effect on the muscles in the end, or is it all the same?

2007-12-19 02:38:32 · 23 answers · asked by ninjaaa! 5 in Diet & Fitness

2007-12-19 02:38:28 · 23 answers · asked by Anonymous in Polls & Surveys

can someone acquire an std without sexual contact???

2007-12-19 02:38:11 · 1 answers · asked by blue_skies 2 in STDs

I have two 4 inch FHs... one is red dragon and the other is blue,.

Also please let me know the site which gives me various names of the well known types of FHs based on the markings.. However the colour variats are several, are there any specific types?

Thanks

2007-12-19 02:37:58 · 3 answers · asked by ujwaldignified 1 in Fish

I just love the moves with the Kali Yuga, what is that martial art, Wushu? I'd love to be able to do those moves with the stick!

Thanks

2007-12-19 02:37:53 · 3 answers · asked by Anonymous in Martial Arts

It does not matter what religion you are, or even if you are an atheist.
Let us suppose you are confronted by God (Do not answer there is no God)
You are asked “What have you done with your life? Have you taken more than you have given, are you content, with the things you have don? Would you change your existence?”

2007-12-19 02:37:47 · 8 answers · asked by Anonymous in Religion & Spirituality

I coded a script, Currently I can add and delete items to the database but I cannot edit the data. Here's my 3 paged script :

Christmasswishlist.java

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.sql.*;

/**
* Servlet implementation class for Servlet: ChristmasWishlist
*
*/
public class ChristmasWishlist extends javax.servlet.http.HttpServlet implements
javax.servlet.Servlet
{
static final long serialVersionUID = 1L;

/*
* Connect to the database
*/

/*
* (non-Java-doc)
*
* @see javax.servlet.http.HttpServlet#HttpServlet()
*/
public ChristmasWishlist()
{
super();
}

/*
* (non-Java-doc)
*
* @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest request,
* HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
{
// TODO Auto-generated method stub
process(request, response);
}

/*
* (non-Java-doc)
*
* @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest request,
* HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
{
// TODO Auto-generated method stub
process(request, response);
}

protected void process(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
{
response.setContentType("text/html");
java.io.PrintWriter out = response.getWriter();
out.println("List of All Your Wishes");

//check if you are getting the right values, comment out once the program is working
//line below will work only for java 5 up
java.util.Enumeration e = request.getParameterNames();
while (e.hasMoreElements())
{
String gift = e.nextElement().toString();
out.println("
" + gift + " - " + request.getParameter(gift));
}

if (request.getParameter("submit") != null)
{
if (!request.getParameter("submit").isEmpty())
{
if (request.getParameter("submit").equals("Add"))
{
if (!request.getParameter("gift").isEmpty())
{
out.println(addChristmasWishlist(request
.getParameter("gift")));
}
else
{
out.println("

Nothing to do");
}
}

else if(request.getParameter("submit").equals("Delete"))
{
delChristmasWishlist(Integer.parseInt(request.getParameter("id")));
}
else if(request.getParameter("submit").equals("Delete"))
{
out.println("

Nothing to do");
}
}

} else
{
out.println("

empty");
}
out.println("

Add again");

ResultSet rst = null;
try
{
rst = viewChristmasWishlist();
int count = 1;
out.println("

");
while(rst.next())
{
out.println("" +
"");
count++;
}
out.println("
ChristmasWishlist
"+count+"."+rst.getString("gift")+"Edit"+
"
Delete
");
}
catch(Exception e2)
{

}

out.println("");

}

public String addChristmasWishlist(String wish)
{

try
{
ConnectionManager con = new ConnectionManager();
Statement stmt = con.logOn().createStatement();
String msg = "";
String sql = "insert into wishes set gift='" + wish.replaceAll("\'", "\\\'") + "'";
if (stmt.execute(sql))
{
msg = "Insert failed";
}
else
{
msg = "Added successfully";
}
con.logOff();
return msg;

}
catch (SQLException e)
{

return "Add failed. SQL error " + e.getMessage();
}
catch (java.lang.NullPointerException ne)
{

return "Null error: " + ne.getMessage();
}

}


public String delChristmasWishlist(int id)
{

try
{
ConnectionManager con = new ConnectionManager();
Statement stmt = con.logOn().createStatement();
String msg = "";
String sql = "delete from wishes where id="+id;
if (stmt.execute(sql))
{
msg = "Delete failed";
} else
{
msg = "Delete successfully";
}
con.logOff();
return msg;

} catch (SQLException e)
{

return "Add failed. SQL error " + e.getMessage();
} catch (java.lang.NullPointerException ne)
{

return "

Null error: " + ne.getMessage();
}



}

public String editChristmasWishlist(String wish)
{

try
{
ConnectionManager con = new ConnectionManager();
Statement stmt = con.logOn().createStatement();
String msg = "";
String sql = "update from wishes where gift="+wish;
if (stmt.execute(sql))
{
msg = "update failed";
} else
{
msg = "update successfully";
}
con.logOff();
return msg;

} catch (SQLException e)
{

return "Add failed. SQL error " + e.getMessage();
} catch (java.lang.NullPointerException ne)
{

return "

Null error: " + ne.getMessage();
}



}

public ResultSet viewChristmasWishlist()
{

ResultSet rst = null;
try
{
ConnectionManager con = new ConnectionManager();
Statement stmt = con.logOn().createStatement();
String msg = "";

String sql = "select * from wishes";
rst = stmt.executeQuery(sql);


} catch (SQLException e)
{


} catch (java.lang.NullPointerException ne)
{


}
return rst;
}



Connectionmanager.java

import java.sql.Connection;
import java.sql.DriverManager;

public class ConnectionManager {

protected Connection con;
protected String driver = "com.mysql.jdbc.Driver";
String url = "jdbc:mysql://localhost:3306/";
String database = "WishList";
String user = "root";
String password = "";

/** Creates a new instance of ConnectionManager */
public ConnectionManager() {

}
public Connection logOn(){
try {
Class.forName(driver).newInstance();
con = DriverManager.getConnection(url+database,user,password);

}
catch(Exception e){
System.out.print(e.getMessage());
}
return con;

}

public void logOff(){
try {
con.close();
}
catch(Exception e){
e.printStackTrace();
}
}

Wish.html





Christmas Wishes


Place Your Christmas Wishes Here







Wish:
Amount:



2007-12-19 02:37:30 · 1 answers · asked by Patrick M 1 in Programming & Design

2007-12-19 02:37:29 · 16 answers · asked by Anonymous in Polls & Surveys

I posted a question making fun of the arrogance of Patriots fans and several responses insinuated that Cowboys fans are more arrogant. That's not the impression I get from reading their replies here, but I'll put it up for a vote. Who do you think are more arrogant?

2007-12-19 02:37:15 · 35 answers · asked by blue_prince_of_dallas 2 in Football (American)

Im 13, and ive had my first three periods. I've been using sanitary pads but my mum and older sister both use tampons, should I switch???

2007-12-19 02:37:13 · 43 answers · asked by Sophie xx 1 in Women's Health

I bought a Nintendo Wii today, brand new unopened....comes with 3 games and two controllers... paid $420. I want to sell it, but how much should I be asking for it ?

Since they are all sold out, and you can't find any anywhere, except used on ebay...how much is it worth ?

2007-12-19 02:37:08 · 16 answers · asked by Anonymous in Nintendo Wii

Thanks ;)

2007-12-19 02:37:03 · 26 answers · asked by Cheese G 1 in Celebrities

2007-12-19 02:36:58 · 37 answers · asked by Cracker's back 2 in Religion & Spirituality

Silent tears fall like rain
Trying to cover up the pain
His effort all in vain
People starting to see his pain
He hides his face in shame
Abolished in the rain

I don't know when I wrote this but is it Good, Bad, somewhere in the middle?

2007-12-19 02:36:56 · 5 answers · asked by RZ (LPPBS) 4 in Poetry

My puppy is scratching my legs and arms. I cut his nails but then they are still sharp. He is a chihuahua mix so he is not going outside in this Buffalo, NY weather. What else can I do? I was gonna try to grind them so they are smooth. Or maybe paint them with something so they are not so rough?

2007-12-19 02:36:53 · 8 answers · asked by thats00me 2 in Dogs

so i am about to quit my job....should i put in my two weeks and stay or should i just leave now and enjoy my time off until my new job starts on jan 2nd?

2007-12-19 02:36:49 · 9 answers · asked by dreamdesoul 1 in Food Service

fedest.com, questions and answers