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

Programming & Design - December 2007

[Selected]: All categories Computers & Internet Programming & Design

What does this computer term refer to and can anyone explain it to me?

2007-12-19 13:08:49 · 6 answers · asked by marc 2

i want to download fonts but i dont want the to be zipped and i dont want to go through the hassle of it best website is best answer =]

2007-12-19 12:52:18 · 4 answers · asked by Anonymous

Example:
www.example.com/page1/topic.php?p=1234

2007-12-19 12:49:54 · 3 answers · asked by PersonXXXXXXXXXXXXXXXXXXXXXXXXXX 3

2007-12-19 12:47:46 · 4 answers · asked by December D 1

Hey is there a way to achieve target="_blank" in xhtml 1.0 strict? Thanks - Colin

2007-12-19 12:39:44 · 2 answers · asked by Anonymous

I want it so the script detects where they are from and echos their country.
How would this be done?

2007-12-19 11:47:01 · 4 answers · asked by peter s 1

It is installed. I can access the database and the log in is successful. However I want to make sure the Oracle Server is up and running.Thank you.

2007-12-19 09:22:59 · 1 answers · asked by Anonymous

im making a balckjack game so how would i do
like "Hit or Stay?"
Then get an answer

i no it would be system.out.println blah blah

but i dont no what do like input.....

2007-12-19 09:18:01 · 3 answers · asked by damaster 2

There is a domain name I want and the only option I have is to "Backorder" it for twice the price of buying it. What does that mean and should I do it?

2007-12-19 08:27:28 · 4 answers · asked by Face on Fire 5

0

Okay so I'm new to this whole thing...ftp wise. I just got hosted on someone's site and i need to log in to edit it...but HOW? I'm really stupid when it comes to this sort of thing...what is ftp and how do i log in to edit my account?!

2007-12-19 08:13:32 · 2 answers · asked by Miley.Girl♥ 1

mind you the information in the combo box was loaded from a text file so how do i display data from the text file in the label

2007-12-19 07:35:28 · 3 answers · asked by oliver a 1

Some link checkers, including WC3s (http://validator.w3.org/checklink) look only at your own links to your own pages on your own site. Most other link checkers fail becuase they "time out" while checking a link. Know of any great link checkers?

Thanks Much

2007-12-19 07:04:01 · 2 answers · asked by Lisa 1

website...or place in my city, I could go?

2007-12-19 06:43:27 · 2 answers · asked by Anonymous

How do you write this program?

The calling program prompts the user for his/her name in capital letters. Write a program which prompts the user for the input and then calls a method to return the name with only the first letter capitalized. You may assume in this case that the user has given you valid input.

Sample input: DEENA
Sample output: Deena

2007-12-19 06:24:40 · 4 answers · asked by premevil666 1

I am trying to make a website with video but i want it to be something that can be read universally. Jamesallen.com is the site that i am using as an example when you look at the 3d video. it opens and runs really nicely. What is the format of somthing like that?

2007-12-19 05:50:50 · 3 answers · asked by Brooke L 2

I have a multi-paged corporate website for a startup. Do I need to file a seperate copyright application for each page? What forms would we have to fill out?

2007-12-19 05:30:44 · 4 answers · asked by Anonymous

This picture is located in the CSS.

Is this a difficult thing to do?

2007-12-19 03:54:03 · 3 answers · asked by Anonymous

Everytime I go to webpages I get little x's were there should be images... is there a setting I can change to see the picture?

2007-12-19 03:53:00 · 2 answers · asked by Anonymous

CREATE TABLE SaleProperty
(PropertyCode VARCHAR (8) NOT NULL,
Area VARCHAR (20) NOT NULL,
Address VARCHAR (20) NOT NULL,
NoOfBedrooms NUMBER NOT NULL,
NoOfBathrooms NUMBER NOT NULL,
NoOfReceptionRooms NUMBER NOT NULL,
Garage BOOLEAN NOT NULL,
PropertyType VARCHAR (20) NOT NULL,
FreeholdLeasehold VARCHAR (20) NOT NULL,
Price CURRENCY NOT NULL,
PropertyStatus VARCHAR (20) NOT NULL,
DateAdvertised DATE NOT NULL,
CONSTRAINT SaleProperty_PropertyCode_pk PRIMARY KEY (PropertyCode));

..........


I want to the 'Garage' field to be a yes/no field, is this possible, and of so how.... Could you also tell me if my currency field is correct or not...??

2007-12-19 03:46:08 · 2 answers · asked by Anonymous

I am trying to get MYSQL database from past three days, every day I get one, install it, create table, insert data and next day when I login, it don't allow me and I have to install it,create table ..etc etc

Please give me a link to download it, I know its a free ware, please provide a link which will work everyday.....lol , without re-installing

Please please help, I need it for my project

2007-12-19 03:46:08 · 3 answers · asked by teatimetrivia.blogspot.com 2

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

I have a fully built website with iweb '08. I have a .mac account. How do I publish to a yahoo host?

2007-12-18 23:34:59 · 2 answers · asked by Crys G 1

2007-12-18 23:33:42 · 7 answers · asked by vignesh 1

I am a secondary school student , I am learning visual basic express edition ver. 2005 recently just for fun ...... I feel quite confused when i learn from the microsoft visual basic's help ....i confused with the code that i type .....i just follow the beginner's help but i can't really understand what i've type ....

So , is there any simple way for me to learn 'playing' visual basic ? is there any website or e-books that can teach me from the most basic part to the professional's level in a simple way ? Or having did you have any suggestion on how to learn visual basic express more easily ? tell me ....:)

2007-12-18 23:19:46 · 5 answers · asked by Anonymous

Are engineers that design computer chips/circuits still around in this country or are they all outsourced? Would going into this field in the US be a viable option or a no go?

2007-12-18 16:04:52 · 4 answers · asked by Anonymous

This should be kinda simple.
How can i make a program say "access denied"?

Thanks,
S_R_S

2007-12-18 15:29:48 · 1 answers · asked by me! 1

How many times will the following loop execute?

for (int i = 20; i <=500; i *=5)
{....}

I know that it loops 3 times, but I can't explain why. I know it has something to do with the " i *=5 ". Can someone please explain. Thanks.

2007-12-18 14:54:28 · 4 answers · asked by metalikidd7 2

im using open office

2007-12-18 14:39:21 · 2 answers · asked by Anonymous

i know sites that let you make one... but im looking for a site or a script that lets you put on your site so people can uploads thier pics and make the actual GIF image. like a pic that changes from one to the other:

example:
http://thmg.photobucket.com/albums/v464/ff8squall/th_6b09d5be.gif


can anyone help?

2007-12-18 14:02:13 · 3 answers · asked by Anonymous

what command would one use other than using mouse to drag and drop utilizing Excel?

2007-12-18 13:24:34 · 1 answers · asked by gggale45 1

fedest.com, questions and answers