Search Results

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: lookof2day
Forum: Java Nov 24th, 2007
Replies: 7
Views: 4,428
Posted By lookof2day
This was interesting. It was really skipping the readLine(). So try this..

System.out.println( "\n¿De que pueblo desea buscar informacion? " );
input = new Scanner(System.in);
...
Forum: Java Nov 24th, 2007
Replies: 7
Views: 4,428
Posted By lookof2day
if you didn't got the exception here

nombreDocTXT = input.next();

then you can't get it when calling nextLine(); because it's just another method of Scanner class. However, can you provide your...
Forum: Java Nov 23rd, 2007
Replies: 7
Views: 4,428
Posted By lookof2day
Have you used Scanner.nextLine()??
Forum: Java Sep 22nd, 2007
Replies: 4
Views: 1,711
Posted By lookof2day
So what's ur exact problem? Displaying the result, or reading from commandline or what?
Forum: JSP Sep 21st, 2007
Replies: 21
Views: 19,504
Posted By lookof2day
Forum: Java Sep 21st, 2007
Replies: 12
Views: 2,793
Posted By lookof2day
It works pretty fine. I think your source file name is different than the class name i.e., PayrollApp. Rename the source file to PayrollApp.java.
Forum: Getting Started and Choosing a Distro Sep 20th, 2007
Replies: 33
Views: 13,533
Posted By lookof2day
You can also use the default theme Nimbus of Solaris 10 on Ubuntu though you'll have to work a little hard to find it. Although I was trying to upload it here but alas, the size is too big. It is a...
Forum: JSP Sep 19th, 2007
Replies: 4
Views: 1,224
Posted By lookof2day
Where have you kept the mysql-connectorxxx.jar file in your web application. It should be stored inside the $CATALINA_HOME/lib directory and the Tomcat server needs to be restarted once it is placed...
Forum: Java Sep 17th, 2007
Replies: 6
Views: 1,041
Posted By lookof2day
Ok ! I thought you wanted a reusable bean so I made the changes that way.

However, I think you are missing to put the mysql jdbc driver in the classpath of your program.
You can download it...
Forum: Java Sep 17th, 2007
Replies: 6
Views: 1,041
Posted By lookof2day
Ok I didn't closely examined the mysql stuff sent by you. Your's is also running on 3306 (default port). But you've to change the password to whatever your root password is.
Forum: Java Sep 17th, 2007
Replies: 6
Views: 1,041
Posted By lookof2day
Hi,

I have made some changes to the source code and made it work. You have to do the additional CreditCard related stuff yourself. In any case feel free to drop a message. Find the source in...
Forum: Java Sep 16th, 2007
Replies: 8
Views: 1,117
Posted By lookof2day
You are making the same mistake. You are not giving the database name in your URL. Your URL should be jdbc:mysql://localhost:8084/ccbd
Forum: Java Sep 16th, 2007
Replies: 8
Views: 1,117
Posted By lookof2day
Your code doesn't seem to be correct. It should be something thing like:

package db;
import java.sql.*;
import java.sql.DriverManager;
import java.sql.Connection;
/**
*
* @author James
*/
Forum: Java Sep 16th, 2007
Replies: 8
Views: 1,117
Posted By lookof2day
Moreover, if you are creating a bean, why are you hardcoding the connection related params? Why don't you use the bean setters to initialize the values??
Forum: Java Sep 16th, 2007
Replies: 8
Views: 1,117
Posted By lookof2day
You are required to mention the database name too which u r missing. Jst add the db name as given below

try{
Class.forName("org.gjt.mm.mysql.Driver");
...
Forum: Java Sep 2nd, 2007
Replies: 8
Views: 1,415
Posted By lookof2day
Well for using Java Compiler API you can refer to the following link http://www.javabeat.net/javabeat/java6/articles/java_6_0_compiler_api_1.php.

But as you already told that you have succeeded in...
Forum: Java Sep 1st, 2007
Replies: 8
Views: 1,415
Posted By lookof2day
Well you need to properly read the introduction of Java where authors of various books have mention how to compile and run your first program in Java.

Anyway, if you have compiled the .java...
Forum: Java Aug 31st, 2007
Replies: 4
Views: 8,257
Posted By lookof2day
You are storing Images. Use BufferedInput/OutputStream. Also store the content type in a db column. And retrieve the same for setting the ContentType of jsp page. Do not do this
OutputStream outImej...
Showing results 1 to 18 of 18

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC