Won Contests Let Us Talk Mail Me Light of Knowledge


O pen Emails - Loading Please Wait ..........
The Emails received from friends makes me put my codes & Articles more on the web

Date: Thu, 19 Sep 2002 05:02:36 -0700 (PDT)
From: "niratna ningseh" < [email protected] >
Subject:please help?
To: [email protected]

Dear James,
I have a problem while trying to run the application
for frametest1.java. I don't know what's the problem.
But anyway thanks for the useful codes.
It helps me a lot in finishing up
my java project thanks.


From Ratna




From: "Klagsbrun, Ely" < [email protected] >
To: "'[email protected]'" < [email protected] >
Subject: Query from your Site
Date: Thu, 4 Sep 2003 13:31:48 -0400

Hi James

About 2 years ago, your james.zip helped me climb over
the wall from C++ to Java and now lots of code later I'm back.

I am working with a Java application that has the following requirement.
I have a set of 5-10 Sybase stored procedures that produce reports
in the current 'C' application and are displayed in a Motif window.
Basically, what you see returned in native SQL is what gets
displayed in this window. Nothing fancy at all. It seems to treat
every row as one long character string and dumps it to the window.
I need to add this type of functionality in Swing to my Java app.
Do you have any code that points in that direction ?

Thank you,
Ely



3000 plus EMail received from 26 Sep 2002 Onwards, If any of the Emails offends anyone pls mail me : Updated Dec 10, 2003


Date: Sat, 17 Jan 2004 04:35:23 +0000 (GMT) 
From:  "rejeeshkj" < [email protected] > 
Subject: Student from India 
To: [email protected] 
      
Hi James sir,

            I am studing for MCA course at cochin
university,Kerala.Thank you for presenting such a
great,ideal and informative site to all of us.
I would like to be a member of your group.I decided to
do main project in J2EE. The title of the project is 
"Survey management and analysis tool".According with
me the idea is very less.I need your valuable advice
and guidence.

Yours faithfully
rejeesh.k.j 


From: "Kostas Zervakis" < [email protected] > To: [email protected] Subject: kz Date: Thu, 15 Jan 2004 05:46:21 +0200 hELLO I have download your java application "jamesssmith.java" !! I m new on java programming and databases so i would like to ask you a question !!! I have to do a coursework that has to do with something like your application but loaded on an applet!! Actually I have to make an access database to be connected with an applet!!! There are many errors and problems during this attempt....I cannot do the same connection you did in your application on my applet!!! Your application also works perfectly!!! Please........ You hold me or my lecturer or all my class if you answer to me if you offer a source or an idea about this connection! Thank you very very much (sorry for the terrible grammar and spelling )
Date: Thu, 8 Jan 2004 12:34:30 -0800 (PST) From: "Jubair Alavudeen" < [email protected] > Subject: Jubair,Ottawa,Ontario,Canada To: [email protected] Dear James, I was really disappointed a big time when I recevied your e-mail this morning about the closure of your wonderful Java site. I did not expect that it would happen, if you do not know Java then how could you have attracted so many programmers around the world?. Me like many Java programmers learned so much about J2EE programming through your website otherwise it would have been impossible to do, not even Sun would have thought us that much clearly. James please reconsider your current decision, we need you, me like others were bogged down with theoretical details about J2EE programming but you are the one who showed us the practical way to use it, ofcourse, it does not eliminate the need to learn J2EE theory but your approach provides the clear way to translate the theory into practical application. Forget about the Sun Micro peoples they can not provides the details like you do in Java, you are the best. Again, reconsider your decision, we need your contribution to Java community. One of your best friend, originally from TN India,currently living in Ottawa,Canada. Regards, Jubair
From: "Andrey Nikolskiy" < [email protected] > To: [email protected] Subject: Thank You Date: Thu, 8 Jan 2004 14:48:17 -0500 Thank You for you great contribution. Your knowledge is really extensive. I have a knowledge base system on Oracle 9i. I'm planning to write Web interface for it using AS9i. I want to use: - mod_plsql (I'm familiar with it) - Servets and JSP (new for me) Could you tell me what's better to use: Servlets or JSP. Don't know why, but Servlets seem better for me. May be my question is incorrect and right question woul be the following. Could you explain where (in what situation) to use JSP and where - Servlets. Andrey
Date: Thu, 08 Jan 2004 19:14:34 -0000 From: "sit02452" < [email protected] > To: [email protected] Subject: Really sorry to heard this Hi James, I am a big fan of yours. Everyday I will visit your site. I am really sorry to heard that. I was like :( when I saw your site. You really help me go thru some difficultly time. I will always support you. Let me know when you have some big plan. Let proof to those guys that you are real JAVA guy. Do let me know if you coming with new site. Nothing is impossible. Ronnie Tan
To: [email protected] Date: Thu, 8 Jan 2004 10:07:10 -0500 From: "Greg" < [email protected] > Subject: RE: [james_smithjava] Sorry My Dear Friends That is too bad. I have to say, of all the java downloads on the web, yours were the most informative- and you always sought to educate those who knew less than you. Best wishes in all your endeavors. Greg Whitaker
From: "Alex Kaplunov" < [email protected] > To: [email protected] Subject: SQL Date: Thu, 08 Jan 2004 10:04:27 -0500 Sorry to bother you I know you closed down your site but i was hoping that you would be able to send me the version of the sql database you had up. I am in dire need of this file to complete my gr. 12 java file project. Thanks Alex
Date: Thu, 8 Jan 2004 13:12:41 +0000 (GMT) From: "usha priya" < [email protected] > Subject: Kindly help me regarding TOMCAT To: [email protected] Respected Sir, I'm doing my major project in XML and JSP.While running the Tomcat server, many errors like "unable to fing log files,,jaxp.jar etc.."even after setting the classpath as you have mentioned site http://www.geocities.com/james_smith73/tomcat.html And i have to use XML Xerces parsers to parse XML file such that when xerces parser is accessed which is placed in webapps folder of TOMCAT, the error like import org.apache.xerces.parsers.DOMParser is occuring,i can't proceed after that.Will u please help me in 1) what are the settings needed to run the Tomcat4.0.6 Server without any error ? 2) where to place the XML parser to run JSP file which is accessing JAVA file(uses XML parser) and what are the settings neccessary? Kindly help me in executing Tomcat and Parsers successfully. Thank You.
From: "Mukherjee Dipankar" < [email protected] > To: [email protected] Subject: Need your help Date: Thu, 8 Jan 2004 18:26:39 +0530 Hi James, I have downloaded your swing application. It seems very good and helpful for java developer. James I required your help. Could you help me? Warm Regards, Dipankar Mukherjee SIEMENS Information Systems Ltd. Phone : +91-33-24449602 Mail_id : [email protected] [email protected]
Date: Thu, 08 Jan 2004 10:02:09 -0000 To: [email protected] From: "jessietll" < [email protected] > Subject: Re: Sorry My Dear Friends do not change for the sake of how a people comments or judge you. The "certain people" who made a comments were too SELFISH and ARROGANT. Your experiences and the tutorials or source codes provided are for SHARING purpose. Somemore they have no right to judge people no matter how expertise they are! I really learn a lot of things from what you have share recently and thru the tutorials posted on the site. James! don't give up. Don't be disappointed because of the "certain people- an arrogant people" U know how much i would like to thank you? without the tutorials and the sample source code provided, i wouldn't finish my project within one month. I have spend one month to figure out java without much understading! but i have only used 2 days to understand how actually java works when i read ur tutorial and run your source code. It is really sad to have such "certain people" in this world by spending they time to comments and judge people. why not they spend their time to contribute something meanigful like james did??
Date: Wed, 7 Jan 2004 06:12:14 -0800 (PST) From: "shankha ghosh" < [email protected] > Subject: Deepest Regrets To: [email protected] Dear James I have been an advent follower of the postings you made from time to time.Its really heartening to have such a useful site down,my accolades to you as an individual to carry out such great job.Looking forward to the site as soon as possible and if my any help to Java community is of any help please do contact me at this email regards Shankha Ghosh
To: [email protected] Subject: Uninstallation problem Date: Tue, 06 Jan 2004 09:15:32 +0800 (SGT) From: [email protected] hi James, I have some enquiry would like to get advise from you. I have installed the J2EE 1.4 SDK in my desktop. Because my computer capacity getting smaller, so i decide to uninstall the software application. But unfortunately, i can't uninstall the application from my desktop and currently i don't know what to do to solve this problem. I really hope that u can help me to solve my difficulty. Thanks. brs, belinda
Date: Mon, 5 Jan 2004 04:37:12 -0800 (PST) From: "kriska dacayan" < [email protected] > Subject: re: jewels.zip To: "james smith" < [email protected] > hi again! :D i double checked the steps given in the readme file but i get stuck on the step wherein i have to change environment settings. i can't seem to find the advanced tab when i right click on the mycomputer icon. i'm using windows me, by the way. Also, i extracted the files to c: since my tomcat is in c:. do i have to do anything, like use c: instead of d:, in "doing" the steps written in the readme file? sorry for the inconvenience i may be causing because of too many questions. i really am just eager to learn about java and the transactions through the web. thank you once again!
From: "surabhi ahuja" < [email protected] > To: [email protected] Subject: help needed Date: Sun, 04 Jan 2004 07:13:44 +0000 Dearsir I downloaded the file named Jewel.zip from your website and i followed the instruction displayed on the web page . I could not download Tomcat and so I downloaded jsdk.zip. and i followed the instruction given on the page . However on pasting the following link ..it is not displaying anything in IE. the instuction was: .................. what do i do? do i need to download tomcat and redo the instruction correspondingly?for that the following link has to be typed in the address bar of ie http://localhost:8080/index3.html but where is this file Please help me .... Waiting for your reply regards surabhi
From: "sheikha al_yahmedi" < [email protected] > To: [email protected] Subject: hi sir Date: Sat, 03 Jan 2004 08:05:55 +0000 i forgout to tell you that i am a student in the college of computer science i have learned c++ ,pascal,vbasic and fortran languages also i know alitel in frontpages and flash program and for my project i have install tomcat and IIS server and java language that's all what i have and thanks again
Date: Fri, 2 Jan 2004 12:36:04 +0000 (GMT) From: "neelam advani" < [email protected] > Subject: Mail from your site To: [email protected] Hello James This is Neelam Advani mailing u a very simple girl from delhi our capital city. James i actually was surfing through" Whatis.com" and what not searching for something that would teach me connectivity java with sql .I had lots of problems in that actually unless i understand the concept clearly i just can't move ahead with any thing . Even i am a NIIT student from karol baug learning advanced java . should i continue i suppose i m taking ur precious time. But i m going to write please take time for me thankyou so i to learn connectivity tried to download sql 2000 but the cd availiable said only client component will be availiable for this OS ie win98 can u tell me why because of this i do not have server to work with and learn connectivity with jdbc then sir of mine suggested to work with MS Access and i could do that part of my prob was solved but still i m stuck up with some problem they are can u explain me the meaning of these statements for whom i surfed a lot but couldn't find satisfactory answer ie: Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("jdbc:odbc:TRY","",""); Statement stat= con.createStatement(); the first statement loads the driver this is the statement sir said but which is this driver is it JDBC driver ? where does it lie in our PC the what is the DriverManager doing here getting the connection but with what and why is the DSN required to be created cna u tell me ans to these question of mine? James and also a solution to load sql 2000 in my PC if no then atleast mail me that u dont have time please becoz i will be waiting for an appropriate replay from ur side and if not atleast let not make me hope and wait just reply that u cant ans me and if u answer my mail i will ask u more and will be thankful to u actually i speak very clearly thankyou james for giving me time and what made me write u is i say and downloaded one of the coding of JDBC prg of urs and that really impressed me Bye Neelam
Date: Fri, 2 Jan 2004 01:07:57 -0800 (PST) From: "aneesh jat" < [email protected] > Subject: HI James - Happy New Year - Can U Help Me To: [email protected] Hi James, Very Happy New Year, Firstly i m introduce myself,My name is Aneesh Jat Male 27 From India.I hv few knowledge of JAVA, but i want to learn this lang. becoz it is interesting.NOw i hv few knowledge of core java,JSP,Servlet,JDBC But Now i want to learn Advance Java at Industry Level. And want to do Job in IT Industries. At present i m working in logistic. Can u send me small-small programs on EJB, RMI etc, which helps me to learn this lang.at advance level & At the level of IT Industries. I m waiting for ur reply . Aneesh
Date: Wed, 31 Dec 2003 04:15:08 -0800 (PST) From: "prakash solomon" < [email protected] > Subject: Queries To: [email protected] Hi, Gone through jamesj2ee development in struts.I want to develop an Email application in struts and i want to connect it with James Mail Server.Can u pls guide me?. Regards, Solomon
From: "Paul F. Bernal B." < [email protected]> To: [email protected] Subject: Mail From your Site Date: Tue, 30 Dec 2003 14:00:02 -0500 Hi James I�ve traed your example, I�ve made it work on Linux, but in Windows XP i�m getting this error: ERROR: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver This when I set the CLASSPATH to nothing� When I set The CLASSPATH to the value showed in your page I get This� Exception in thread �main� java.lang.NoClassDefFoundError: Test I copied the �mysql-connector-java-3.0.9-stable-bin.jar� to the < path to jdk >/jre/lib/ext/ as the mysql-connector-java-3.0.9-stable Readme indicates� this works in Linux but not in Windows� I�m lost in this� please help me Thanks in advance� Don pool
Date: Tue, 30 Dec 2003 14:07:53 -0000 (GMT) Subject: quick question From: [email protected] To: [email protected] Hi James Let me first thank you for your great java work!!!! It has really hepled me understand about how to use tomcat! I particulary found the jewels and servlet examples very useful!!! I am trying to code up a on-line quiz but have a few problems. I am very new to coding!!! .............. I have got the database set up but how would I code the above in java? I basically want to get questions out of the database one by one. Please help where you can. Have a great New Year!! Yogs
From: "Jay-Hari" < [email protected] > To: [email protected] Date: Mon, 29 Dec 2003 11:20:14 -0800 Subject: Good Jave information Hello James I was trying to source out some information from internet about web development (as i'm new to it) and I just came across your site, I found it interesting & usefull. I would like too say you did a great job about the huge information that you have provided In your site. I would visit your site often to read more about your updates in future. Keep up the good work.. Cheers.. Jayhari
From: "JehanZaib Ejaz" < [email protected] > To: [email protected] Subject: Mail from your site Date: Mon, 29 Dec 2003 03:39:15 +0500 Hi James! My name is JehanZaib Ejaz. I am a computer sciences student. I am working on JAVA Programming. I want answers to some questions. Please help me. I want to know that what's the scope of JAVA language in the International market as most of people work on either C, VB or VB.Net. Secondly, i want to know that if someone is a business applications developer (projects like database projects), what's the scope of it. Please do reply me. Thanks. Bye
From: "cebestendres" < [email protected] > To: [email protected] Subject: About jdo Date: Sat, 27 Dec 2003 02:20:35 +0000 Thanks for your superb site! I'm learning java by myself and need your opinion on what would be better, learn jdbc or jdo Regards from Spain
From: "Vito Campanelli" < [email protected] > To: [email protected] Subject: Query from your Site Date: Thu, 18 Dec 2003 13:50:25 -0500 Hi James, I was hoping you could help. I need to write a java/servlet/ or jsp page that can execute some dos commands. Mainly to create a directory on a network drive on a Windows 2000 system Can you provide an code sample or direct me where I can find some help? Thanks Vito
From: "j3r3mi4h" < [email protected] > To: [email protected] Subject: PHP CMS Date: Tue, 16 Dec 2003 22:01:46 -0600 I found your site by google searching "hsphere midgard." I couldn't find anything on your site about it, but thought I'd email to ask. Are you familiar with HSPHERE Control Panels? Is it possible if my host is remote (from a hosting company) to modify my php.ini file? No big deal if you don't know, but I figured I'd ask. Thanks, Jeremiah
From: [email protected] Date: Mon, 15 Dec 2003 20:51:39 EST Subject: Great website To: [email protected] Hi James Your java tutorial was one of the best I've seen on-line. I really like the way you define OO-concepts with sample code below . Great Job and Thanks, Vindya
Subject: Mail from your site Date: Sat, 13 Dec 2003 13:03:49 +0400 From: "Satendra Kumar" < [email protected] > To: [email protected] Hi James, I went through ur site its very good. I have a problem in jsp. I want to display 10 records per page in the search result. I am using javabeans and jsp. Databse is sql server. So can u please help me on this. Regards saten
From: "Manas Mukherjee" < [email protected] > To: [email protected] Subject: ref: your submission in planet code. Date: Wed, 10 Dec 2003 05:23:31 -0800 Excellent. I had been to your geocity site too. Could not download your codes, but I got the idea. Do you have any idea how to configure apache/php in win 2000 environment? I would try with Caldera Linux, later. I was lost in conf file, did not get a clear idea else where. I left an email from planet code. Please use this email for faster delivery. Manas K Mukherjee, PhD.
Date: Tue, 9 Dec 2003 06:36:05 -0800 (PST) From: "shaikh istiaque" < [email protected] > Subject: interest u To: [email protected] Hi James, I have tried the similar stuff in my site, such as java articles, tips and trick. Go have a look and comment. http://www.ideas2work.com Istiaque.
Subject: "light of knowledge" To: [email protected] From: [email protected] Date: Thu, 29 Aug 2002 07:48:51 +0530 Hi James, My Self........ Name : Sanjeev Malhotra Orginaization : Team Computers Pvt. Ltd. Location: New Delhi Position: Team Leader i am one of your fan. How are you. I also disappointed from this news that you have left the java community. I really inspired from your "light of knowledge". This is my first mail to you. Earlier, i thought that to write a mail to you, but unfortunately i could not spend time. Now when you left community then i am writing a mail it's bad luck for me. Have you joined some other community. pls let me know and mail me the same links. i am not able to remember your lovely name that start from letter "M", can you tell me that's very sweet name. i am very keen to interested in uml design. can you suggest me scope and any good literature or any other "light of knowledge" based on UML same as other links that you specified in your site http://www.geocities.com/james_smith73/. keep in touch. With Best Regards Sanjeev TeamSoft Team Computers Pvt. Ltd. Ph.26109775 extn.221
Date: Tue, 9 Dec 2003 03:37:22 -0800 (PST) From: "sudhakar reddy" < [email protected] > To: [email protected] Subject: hi Hi James i am sudhakar i would like to be a member of your group. regard's sudhakar
From: [email protected] To: [email protected] Date: Mon, 08 Dec 2003 15:03:58 +0400 Subject: J2ee or Tomcat servers Dear Smith; I really appreciate the very valuable information on your web site and thank you very much for all efforts you done. Could u please help me in the following : I started programmin in PHP and mysql a year ago and I am happy as I did a good stuff but locally on our intranet I am very good in Mysql. I am really planning to move to java with mysql programming as I hear java is going to be the best for the web BUT my first question is which servers dou think is better TOMCAT or J2ee j2sdkee1.3.1. I installed j2sdkee1.3.1 on my windows 2000 professional machine.
From: "Katy K" < [email protected] > To: [email protected] Date: Sun, 07 Dec 2003 03:10:49 -0500 Subject: addrec source code I can't thank you enough for your addrec application. I have now seen the light as far as making a database connection to my actual GUI, as well as updating, deleting, and how to add a menubar! I was so confused about it these things, and your application brought it all together clearly for me. Thanks again! Katy
Date: Fri, 5 Dec 2003 22:08:30 -0800 (PST) From: "ivan martin" < [email protected] > Subject: James I need you help with this code!! Please!! To: [email protected] Dear James James I need your help with a code. This assignment is for school homework. Any way I would really appreciate if you help with this assignment. Let me know if you need anything I can help you with. I am single dad and my schedule at work for this week is really busy I work like 12 hour shifts with the U.S. Navy. Once again I would like to take my request into cosideration and if you can give a hand with this project. Your help will be gladly appreciated. I need it by Tuesday 9th 2003. Well if you can not help I still appreciate for taking your time well here are the deliverables Once Again thank you James. I hope to hear from you soon.
Date: Wed, 3 Dec 2003 17:23:26 -0800 (PST) From: "Felix Gomez" < [email protected] > Subject: A test Application updated oct 25 To: [email protected] Hello Sir, I have gone to your programs just today and i tried to run the application (adding/deleting/modifying) student records. It is a very wonderful application that I could share with my students. Unfortunately, I have a question with regards to the "refresh" of the display. When I tried to change one student entry, (from Andrew to Andrew Pomida) at the MODIFY/DELETE STUDENTS DETAIL tab it works but when I tried to look into the STUDENTS REPORT TAB, it doesnt reflect there not until I close the application and run it again. I know some of visual basic and I uses refresh to refresh the output on the grid. How will I refresh the grid in Java? Thank you very much of your time and sharing your expertise! God Bless Felix
Date: Wed, 3 Dec 2003 20:42:45 +0700 From: "[email protected]" < [email protected] > To: [email protected] Subject: request fo james.zip I can't download for james.zip from: http://www.geocities.com/james_smith73/james.zip I have firewalled. Can you send this file for me: [email protected] Thanks for later !
Subject: JDBC To: [email protected] From: [email protected] Date: Mon, 1 Dec 2003 11:46:13 -0500 James: Did you ever use Installshield Multiplatform? And if you did I need to run some Java JDBC Oracle How would I go about doing this? Thanks for all your help. -Steve
Date: Wed, 26 Nov 2003 09:11:05 -0600 To: [email protected] From: "Ben Acheff" < [email protected] > Subject: Quick Question Regarding "Jewels.zip" Hi, I have a quick question regarding the "Jewels.zip" Java project. In the readme file, it says to create a directory called "D:" to store the files in. At least, that's what I think the directions say...or did you mean if you already have a drive named "D:"? I have a two hard-drive machine, one labeled "C:" and the other "D:"..the machine is an older one, running Windows 98. What sort of modifications should I make to be able to try out your interesting project? -Ben Acheff
Date: Fri, 21 Nov 2003 15:55:15 -0800 (PST) From: "Jenny" < [email protected] > Subject: jenny To: [email protected] Hi Java expert! i'm just wondering if you can still help me with java? I was wondering if you can send me the files for me by wednesday. I really hope that you can help me out. Thank you so so much!!!!! Here's some clarifications to this asg:: below. i've also attached some files in RealATM3.zip..that i've done. Please check them over. so this way... i could at least do something..Thanks again so much!!!!! Please help me with the ATM part????
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith K" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Fri, 21 Nov 2003 16:55:35 -0500 Comment: dear sir, i visit your web site, that is much helpful for me.I am a java swing programmer.I pray to you.
From: "Igor" < [email protected] > To: [email protected] Subject: Query from your Site Date: Fri, 21 Nov 2003 23:43:48 +0200 Hi James First of all thank you for presenting such a great and informative site to all of us beginners. The reason why I am interested in Java is because the company I work for has taken a new approach for developing business applications. For years we have used a 4GL language called Accell by UNIFY and we are finally making a move towards the future with a new development environment called UNIFY NXj. The language is Java based with accelerated design time with features like embeded SQL and JDBC connectivity. Although the environment does not require developers to learn hard core java it fully supports .JSP and .JAVA files , great for building exception handling or adding extra functionality. Although I am keen on learning traditional Java , I must say this is a better solution for our environment where there are literally hundreds of applications that need to be ported and either rebuilt with a new set of logic or hopefully just ported and maintained. If we were to use even JBuilder it would take us ages before getting anything done with the limited time and shortage of training. All related info can be found on www.unify.com as well as a free , fully functional evaluation copy. Once again, thanks for everything, the application I downloaded some time ago has been a great help with beggining to learn Java and JSP. Igor Mohoric, South Africa
Date: 20 Nov 2003 08:19:23 -0000 From: "Arindam Biswas" < [email protected] > To: [email protected] Subject: Help me Dear sir This is my first mail to u I am a VB developer ,I have got more than two years of working experience.But now I want 2 switch to Java Technologies. For testing purpose I have developed a interface with java swing which have a menu and some Internal Frames.Internal Frames contains different cotroles like Tbabbed Pane etc.On clicking a particular sub menu a particular Internal farme will appear. But the porblem is if the internal Frame is already Open then also on clicking on the sub menu another instance of same frame is appearing accompanied with one more tab i.e. no of tab in the frame is equal to the no of times the sub menu has been clicked. i am attaching the code here expecting that u will help me I would be looking forward to ur reply. thanking u With regards Arindam Biswas (DIGISOFT INFOSYSTEMS 47, Ballygunge Place Kolkata,India)
Date: Wed, 19 Nov 2003 16:45:27 -0800 (PST) From: "NGUYEN KHANH HOA" < [email protected] > Subject: Help me!(about your JavaCode) To: [email protected] Dir Mr Smith I'm from Viet Nam, do you know? . It is very nice place for your holiday. When you have your holiday at my country, I will help you? ok? I'm a student and I have read your code, It's very nice, but when I want to excute it, I can't download the james.mdb from http://www.geocities.com/james_smith73/ because this web page require the UserID and Password for access and download I know how to excute your project but I have not your file: james.mdb. Can you send me that file. Thanks! (Sorry about my English )
Date: Tue, 18 Nov 2003 23:38:17 +0530 From: "Debashis Banerjee" < [email protected] > Subject: Query from your Site To: [email protected] CC: [email protected] Hi James, I am little programmer interesting java swing, xml and servlet. I have made lot of experiment about these subjects.Can I get some help about connecting oracle with jdbc with oci8 driver provided by oracle corporation. Debashis Banerjee India.
Date: Tue, 18 Nov 2003 02:21:15 -0800 (PST) From: "Phan Thang" < [email protected] > Subject: Dear sir ! To: [email protected] Dear sir ! my name is phan chien thang _ i'm a student . i'm just study Java application .... I download your project sample (addrec.java ) but i dun know what is the user name and password . could you let me know _ I hope you can help me understand this project. Thank you very much .
Date: Sun, 16 Nov 2003 20:15:30 -0800 (PST) From: "Y K" < [email protected] > Subject: implementation of print button ........print class ......... To: [email protected] HI! Java Guru! My Name is Leon Adler. I just wish to remind u above the implementation of print button ........print class ......... TQ!
From: "tariq masood" < [email protected] > To: [email protected] Subject: plz help me Date: Sun, 09 Nov 2003 19:50:53 +0000 Dear Sir, I visited your website that is helpful for me. Basically I am interested in JAVA SWING programming. So I download the JAVA SWING(james.zip) code from your site, Which is most helpful for me. Now I faced a problem in JAVA SWING programming. Problem is that, How I display a integer value by using of Swing coding. For Example according to the following example of java file, I want use this coding into JAVA SWING coding.
From: [email protected] To: "James Smith K" < [email protected] > Subject: Hi from Jenny Date: Sun, 16 Nov 2003 21:25:29 -0500 I was wondering if you can help me with some coding for java? I was looking at your program on planet source and it's really nice. I relized u're very good in java. thanks! hope to hear from you soon!
Date: Fri, 7 Nov 2003 13:56:50 -0600 From: "Rodrigo Calder�n" < [email protected] > To: [email protected] Subject: XML Information Hi! Sorry to bother you. I'm a student from Costa Rica. I need some information about XML. I have to do some kind of LOG. I'm working with Java (JSP - servlets) and MySQL. What I have to do is to save in a XML file any change in my database (Insert, update,delete). For example some person modify something, so i write in the XML file: user, operation (Ins, Upt, Del), old value, new value, date.... The problem is that i don't know how to use XML. Do you can help me, with some information or examples?? Thank's a lot!!!!
Date: Mon, 3 Nov 2003 00:36:30 -0800 (PST) From: "marius jayasuriya" < [email protected] > Subject: From Sri Lanka - About your system To: [email protected] Dear Smith, I am Sanjeewa from Sri Lanka who is a student following the final year of the Bsc degree program. I wanted to thank you alot for helping me. I am writing this to ask for another piece of help which is very essential for me. I am supposed to do assignment based on Java Swing and I need a way to connect to anaccess database without the use of a DSN. I would be grately pleased if you could provide me with a way of doint this as this has become a matter of prime concern to me. So I hope you will help me in this respect as you had done in the past, Thanking you, Best regards, Sanjeewa
From: "Baby Angel" < [email protected] > To: [email protected] Subject: Java -- planet-source-code Date: Wed, 29 Oct 2003 21:21:14 +0000 Dear Mr Smith I've been following your code on planet-source-code and i think its and an absolute light at the end of the tunnel. I've actually manage to learn a thing or two from your code. I'm currently doing Java as a subject. Would it in anyway be possible for you to take a look at the attached document, its the specifications of one of my Java tasks, and to maybe give me some hints or ideas as to where to begin and what to do, or maybe to steer me into some sort of a direction. Like i said i really admire your work and your ability to program so well and no i'm not just saying so just to get you to take a look at it.lol. I realise that you might be busy, but if you could just take 5 minutes of your time(even if its to say..get lost!!!lol) to respond, your input would be highly appreciated. Thank you for taking time to read this mail. Regards G
Date: Tue, 28 Oct 2003 13:12:55 -0800 From: "Ali Torkaman" < [email protected] > To: [email protected] Subject: need your help if you can afford the time Hi James: this is so generous offer to help who ever need help I just moved from asp to PHP and totally lost. I am trying to find an example to get the syntax on how to create a data base connection using a JDBC in a PHP environment. I see a lots of Java examples around, but not PHP. is it possible to use JDBC in a PHP environment ??? I am trying to use the Viaserv JDBC that let me get to the mainframe data bases I really appreciate if you have any example or know the syntax of a JDBC use in PHP environment Ali R. Torkaman Information Technology Services Kern County (661) 868-2216 [email protected]
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith K" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Thu, 23 Oct 2003 5:13:55 -0500 Comment: nice job!!!
Date: Tue, 21 Oct 2003 02:33:19 -0700 (PDT) From: "debasis acharya" < [email protected] > Subject: answer To: [email protected] Hi James .Debasis here u r new friend .I want to know path setting for tomacat-4 in windows -98.I want to downlod jdk1.4 .What should I download sdk or jre? I want also path setting for jdk.4 in win-98.seeking immediate answer. Debasis
From: "JItendra Parida " < [email protected] > To: [email protected] Subject: Mail From your Site Date: Sun, 19 Oct 2003 12:43:15 +0800 Hi James Thanks for ur description and glad to know all info.,.. is it possible t o send me ur code to test in my laptop, thanks and regards Jitu from Singapore
From: "Kenny Ng" < [email protected] > To: [email protected] Subject: Query from your Site: Servlets Date: Thu, 16 Oct 2003 13:45:01 +0800 Hi James I'm just trying to compile a HelloWorld servlet using tomcat as a webserver. I followed the directions in setting the classpath to where the servlet.jar files are. The problem is, everytime I start the tomcat server amd compile my java servlet files I always have to include this like: javac -classpath=.;c:\jsdk2.1\servlet.jar HelloWorld.java before I can successfully compile the servlet. I cannot use javac HelloWorld.java Thanks for your time. Btw, I'm also an avid PHP and mySQL developer, but my area of specialization is in using FLASH MX for dynamic web dev. My best (unofficial) work is here: http://www.funkyblue.com/~calendar which is a Flash calendar application powered using PHP, mySQL and XML Have a great day. It's been nice knowing you through your site :) Kenny [email protected]
Date: Wed, 15 Oct 2003 21:31:46 -0700 (PDT) From: "Ram" < [email protected] > To: [email protected] CC: [email protected] Hi This is ram here. I was looking for some j2ee stuff on the net. And I found your page listed on www.google.com. I found your j2ee example very useful as the description you have given there. This is exactly what I want. Therefore I downloaded the file jamesj2ee.zip but unable to open that file. It says that "it is not in zip format. Please redownload it" I re-downloaded it again but still can not open. can you please send it to me by email. expecting your reply asap. Thanks. regards, ram
From: "bob" < [email protected] > To: [email protected] CC: [email protected] Subject: Query from your Site Date: Tue, 14 Oct 2003 23:42:51 -0500 http://www.geocities.com/james_smith73/ Hi James: very interesting site. keep me informed. i am an older student of Computer Science, a Viet Nam Vet. I am working on C stuff and transforming that code to Java. thanks Robert Ryan
From: "Planet Source Code Feedback from" To: "James Smith K" Subject: Feedback on your submission to Planet Source Code Date: Tue, 14 Oct 2003 3:8:44 -0500 Comment: Very interesting since I am just working with java
From: "Abdool Maudarbocus" < [email protected] > To: [email protected] Subject: Programming in Java Date: Tue, 14 Oct 2003 07:54:02 +0000 Hi James, Please to have you on the mail. I am addressing from very far => a small island called Mauritius in the Indian Ocean. I find your stuff very informative. I rightly need your help as follows: I need a program in Java 2 where the differents concepts of Oriented objets are well explained through Java programs, such as encapsulation,instanciation, generalization, inheritance (simple and multiple) & polymorphism. Can I count on your help to have a good written example in Java. Best Regards, Maudarbocus
Date: Tue, 14 Oct 2003 14:41:32 +1000 (EST) From: "Tarjit Hargun" < [email protected] > Subject: Virtual tour To: [email protected] Hello James Nice to see every thing about java, u done a great job. Can u please provide with the source code for Virtual Tour Will be appreciated Tarjit Singh
From: [email protected] To: "James Smith K" < [email protected] > Subject: Hi from jenny Date: Mon, 13 Oct 2003 19:25:24 -0500 hi i saw your program and it's realy good i was wondering if i can ask you some java questions?
From: "andy bergkamp" < [email protected] > To: [email protected] Subject: Re: database question Date: Mon, 13 Oct 2003 12:38:34 +0800 hi James, thanks. Its working perfectly well now... i was wondering if i could modify your project abit... I would like to add a button below the student details tab to renew the database everytime a modification or deletion has been made, so that when i want to view changed details, i don't have to exit and log in again to view it. Any idea how i could do that? thanks...
From:< [email protected] > To: "james smith" < [email protected] > Subject: Re: MVC sample Date: Sun, 12 Oct 2003 19:19:28 +0900 Hi Sorry, I am a new comer of programming.I'm in China now. My English isn't so good to express my thoughts clearly. My name was written in Chinese.So may be it will be some special charecters. I can visit American websites such as Yahoo ,http://www.planet-source-code.com and so on. But when I connect your website,perhaps it's not in the same area,it time out. But I really want to get your sample very much, I have seen the old samples of your samples on the site and vote it as excellent. Could you send it to me by Email? Thank you very much! dujs in China.
Date: Fri, 10 Oct 2003 08:41:32 +0200 (CEST) From: "veronique ALVARO" Subject: help on struts-jdbc To: [email protected] hi james my name is Veronique, and I tried your code from http://www.geocities.com/james_smith73 about Struts n Java Database Programming . I am using windows 2000server, and deploy the application on jonas 3.2 (includes tomcat). I have done a james.dsn as you explain it, pointing on the james.mdb I can open the page : add a record, however, when I try to save the record, I get an error page : SOME ERROR PLEASE CHECK http://www.geocities.com/james_smith73 Same result if I want to delete a record or see it. I have no compilation error, and looking the logs of the server I have no error. So I can't find out what is wrong. Could you please give me a hand on this? Thanks a lot and thanks for your helpful site. V�ronique cheers from the bourbon island (reunion island in indian ocean)!
Date: Sat, 4 Oct 2003 04:04:50 -0700 (PDT) From: "Mweene Chijikwa" < [email protected] > Subject: About Me To: "james smith" < [email protected] > Hi james, I am very thank fully for your e-mail .I have downloaded your coding on internet. But I am asking if you can send me some java programming material that can help me as a beginner in java programming. Softcopy or hardcopy will be appreciated. We about myself, I am Male Zambian aged 27 ,student studying Information technology (IT) with Institute for the Management of information systems(IMIS) of the United Kingdom. I receive lessons at my college called National Institute of public Administration(NIPA). This is in Lusaka ,Zambia in Africa.I have done my diploma now I am doing higher diploma. Well at the moment I am on attachemnet with company that design websites and hosting. We use some java when designing database driven website but I am just learning from my college and at work.That's why I am asking for help. Well I would like to know were you stay ( town and country) and what you are doing for a living( working or doing your own things) I will be waiting to hear from you very soon, Regards, Mweene Chijikwa.
From: "Planet Source Code Feedback" < [email protected] > To: "James Smith K" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Wed, 1 Oct 2003 21:45:14 -0500 Comment: thank's
Date: Wed, 1 Oct 2003 07:08:07 -0700 (PDT) From: "Benny Tan" < [email protected] > Subject: Enquiries on Part4 To: [email protected] Hi james, I'm benny, I recently downloaded your program part4 to help me to do my project. I don't understand the part like the modify record section. How do you display the record found in the database in java application(part4) and update it? or can you show me some examples of tutorials that I can refer to ? please reply as soon as possible. Thank you.
Date: Tue, 30 Sep 2003 00:50:14 -0400 (EDT) From: "Amit Karwande" < [email protected] > To: [email protected] Subject: reg. some errors with jamesj2ee hi James, I am trying to learn JSP,JDBC,Beans etc and have downloaded your program from Planet-source. I installed Tomcat, Struts properly. I can see the sample programs for both tomcat and struts. I am installing everything (including Java on F: ,OS: Windows XP ) I have the latest J2SDK1.4.2_01. After i try your http://localhost:8080/jamesj2ee/introduction.jsp file i get your webpage and a message saying "some error please check http://www.geocities.com/james_smith73" I am able to click on and run the "XML TO JSP" part of your program properly. I took a look at your website and followed your intructions to install everything. Can you tell me what may be wrong ? thanks in advance, and sorry to bother you. Also keep up the good work :-) -amit
Date: Mon, 22 Sep 2003 07:12:43 -0700 (PDT) From: "wiwid aztex" < [email protected] > Subject: Re: help me pls.. To: "james smith" < [email protected] > dear mr james smith..thanx anyway 4 replying me... i think i have got the API i want..maybe i'd like to use JTAPI and now i m still trying to implement this kind of APIs..i read it from www.java.sun.com . but anyway i really i appreciate it..tnx so much -wiwid-
Date: Fri, 1 Aug 2003 10:48:15 -0700 (PDT) From: "michael anagnostakis" < [email protected] > Subject: please help me ... your tech 800 line asked me to write to you ... To: [email protected] Hello, I am using Yahoo web hosting trying to write my html page saving them ok .... HOWEVER, WHERE DO I SET UP AND SAVE a .CSS file??? That would be a style sheet file, for example "myfont.css" ... when I try saving it in same place as the .html files ... does not work. please help thank you
Date: Fri, 1 Aug 2003 02:53:39 -0700 (PDT) From: "Richard :D~" < [email protected] > Subject: Re:JDBC in pscode.com To: [email protected] hi i am richard soriano from the philippines, im just beginning to shift my programming skills in java and i have just downloaded your article and source code through pscode.com. just wanna thank you for posting your code it will help alot specially beginners like me. just have a question if you dont mind.. have you used a GUI interface in your java programming? what i mean is does java has an interface for a click and drag for all the controls just like visual basic, where you can just place all the controls in the form then put a code with each? if so can you tell me where can i download it or what is the name of add-ons.. thnx im hoping for your reply regarding this matter i know this is a lil bit of amateur question but i really mean it.. thnx again men!!
Date: Fri, 19 Sep 2003 11:41:36 -0700 (PDT) From: "megha dhoot" < [email protected] > Subject: hi To: [email protected] hi there, i'm presently persuing my B.E. in Computer Science from India. I'm a final year student. I have to make a final yr. project in this yr. I'm planning to work on J2ee for this project, but i'm not able to decide which project to choose. Could u suggest me some of the project topics which i could consider for my project? Also send me some details of these if any. Thanx Megha
Subject: RE: How they access my web server Date: Wed, 17 Sep 2003 13:06:40 +0800 From: "LARA, Edgardo C." < [email protected] > To: "james smith" < [email protected] > HI James, it works perfectly fine, my computer is now running as a server. by the way, is it possible for tomcat to host two (2) web apps? for example, the one running is our department's website and the other one is my personnal web. what will be the set up? pls send tutorials if theres any. in your powerful e-commerce found in http://www.geocities.com/james_smith73 is it necessary to use the strut or what is the significance of that software? also pls invite my yahoo email address ( [email protected] ) in our james_smithjava group so that i can access the group in my home pc. thanks and more power to u James... Ed Lara
Subject: How they access my web server Date: Tue, 16 Sep 2003 16:41:17 +0800 From: "LARA, Edgardo C." < [email protected] > To: [email protected] James, Tomcat is running fine� I see logo at the ff address http://localhost:8080/index.jsp How my officemate access my pc as a server of this web apps? My ip address is 10.2.253.87 thanks Ed Lara
Date: Sat, 13 Sep 2003 20:14:15 -0700 (PDT) From: "wiwid aztex" < [email protected] > Subject: help me pls.. To: [email protected] Dear Mr James Smith, i m a new learner on java programming and now i m still doing my thesis.my lecturer said that a kind of java api has the abiliy to dial / to give a trigger dial to handphone, but i m very confused wat api it is and how to write these codes. would u pls help me. i'd really appreciate it. tnx so much
Date: Tue, 09 Sep 2003 15:33:01 +0530 From: "GK" < [email protected] > To: [email protected] Subject: Good site with useful information Dear James Smith, Your site is designed and stuffed with useful things. Good. Anbudan, GK. Follow your DREAMS...
Date: Sat, 6 Sep 2003 21:13:18 -0700 (PDT) From: "Bhuvana Dhanush" < [email protected] > Subject: doubts To: [email protected] Sir, I am very much benefited from ur code available in planet source code. Thank u. I have the following doubts. I am using JDBC to connect to Oracle. I cant have the backward movement of the cursor. I heard abut scrollable recordsets. But I couldnt get that. Please help. ........ I got my doubts cleared. Now I am referring ur servlets code. I learn a lot from that. Yours sincerly, Bhuvana S. Dhanush
Date: Mon, 1 Sep 2003 23:57:50 -0700 (PDT) From: "mainak sinha" < [email protected] > Subject: problem in finding a file To: [email protected] Hi I really liked ur codes in java. But I have problem in finding a folder called james.zip,b'coz in of the java programs u have said that we users have to also downlaod that particular folder which contains some files which are req. in that program.The program was to connect java with MS Access. Can u pleez tell me where to find that folder or can u pleez send me that particular folder. waiting for ur reply, mainak sinha P.S I reqire it immediately
From: [email protected] To: "James Smith K" < [email protected] > Subject: Hi Mr. James, Date: Mon, 1 Sep 2003 21:41:55 -0500 I am new bee in PHP from India. I am looking for an form mail processor with document upload facilty and adding the data and uploaded path to mysql. The code which you used for htmlform is is very simple and also you have developed upload script is it possible to club with some modifications? Basically I am a web graphic designer, if you wish I can provide you template for your website. Please help me. Regards Kiran
From: "tariq masood" < [email protected] > To: [email protected] Subject: I thanked You Date: Thu, 21 Aug 2003 02:53:59 +0000 Dear Sir, First of all I thanked to "Mr. James Smith".I appreciate to " James Smith " work on java swing. Before finding of your site "http://www.geocities.com/james_smith73/james.zip" i think that i was incomplete in java swing programming. But after i finding of your web site now i feel that my major difficulties in java swing programming has been disappered. I am M.Sc computer science degree holder. When i start programming in java swing so i face a problem that was, How i use java swing with JDBC ? I study many books of java swing so i failed to found the java swing code with JDBC. There was no proper way of understanding the JDBC code. There was no step by step procedure to understanding the code. At all, I found your web site and i downloaded the java swing code with JDBC. I run this program. I successful to run this program. When i see that program output so i feel happiness. Your programme has step by step procedure to understand the java swing with JDBC. This is a very excellent programme. This programme provides the JDBC fundamentals with swing. From your coding i observed many important information in java swing. My prayer to "James Smith". I want chatting with you. Please tell me your Hotmail address I want friendship with you. If i have any problem in swing programming so, Can you help me ? Reply me immediately. I hope that You will reply me. Thank You. Your's Truly, Tariq Masood.
From: "Bruce" < [email protected] > To: "james smith" < [email protected] > Subject: Re: Tomcat - problem with servlet compilation, can you help? Date: Tue, 19 Aug 2003 20:39:22 -0700 James, Thank you very much for the advice. I really appreciate it. I will implement your suggestions and go from there. Regards, Bruce
From: "Bruce" < [email protected] > To: [email protected] Subject: Tomcat - problem with servlet compilation, can you help? Date: Sun, 17 Aug 2003 13:18:32 -0700 Hi, I am using version 4.1.27 with Windows 98 and when I try to compile a servlet class (.java) file I get the following error: HelloWorld.java:3: Package java.io not found in import. import java.io.*; ^ error: Invalid class file format: C:\jakarta-tomcat-4.1.27\common\lib\servlet.ja r(javax/servlet/GenericServlet.class), wrong version: 46, expected 45 HelloWorld.java:5: Superclass javax.servlet.GenericServlet of class HelloWorld not found. public class HelloWorld extends GenericServlet { ^ 3 errors Any idea what's happening here? Thanks in advance, Bruce
Date: Sat, 16 Aug 2003 23:26:47 +0100 (BST) From: "Majolagbe Gbolahan Lanre" < [email protected] > Subject: Urgent To: [email protected] Bravo james, really appreciate ur great works in developing pples programming skills .please i need your help for a project in Expert systems(Medical diagnostic system for heart diseases).i am using java @ the moment but still need more advice and related materials and works on this.Also java projects using J2me. Thanks YOU ARE DESTINED TO SUCCEED. AIM HIGH!!!
From: "Admin Diva Factory" < [email protected] > To: [email protected] Subject: I need your Help please Date: Sat, 9 Aug 2003 17:07:44 +0300 How can I start to learn PHP programing becouse I need touse it in my web site. And faster pleae can you tell me . Thank you. Eng. Khalid Saliha [email protected]
Date: Thu, 7 Aug 2003 18:58:50 -0700 (PDT) From: "Conrado Aquino Jr." < [email protected] > Subject: Re: Trouble Configuring TOMCAT To: "james smith" < [email protected] > Hi! I've figure it out and its working fine even if I use high version of tomcat and struts it works perfect just like in your tutorials. I have some few questions below that bother me in your tutorials 1. What are the functions of your .xml files? 2. How does this xml files called in your jsp files? 3. What software will I use to create xml files? THANKS for your tutorials because it helps me a lot in java programming. I hope you'll create more in the future.
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith K" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Tue, 5 Aug 2003 4:42:46 -0500 Comment: You doing a great job plese carry on it successfuly my wishes for that, I got valuable tips from your cording thanks.
Date: Tue, 5 Aug 2003 00:45:35 -0700 (PDT) From: "Conrado Aquino Jr." < [email protected] > Subject: Trouble Configuring TOMCAT To: [email protected] I have done all the steps in your tutorials on how to configure tomcat and no errors occured but the problem is that I dont see a yellow cat like the one you demonstrating. To what directory will I unzip your index.htm? I am using tomcat 3.2.4 and jakarta-struts-1-1-rc2?
From: "Jamie Uprichard" < [email protected] > To: [email protected] Date: Mon, 04 Aug 2003 16:49:17 +0100 James, I am currently undertaking a university project and was viewing example code at Planet Source Code when I came across your program. I am trying to link a Java application to an MS Access database. I was wondering if you could explain a few things for me. Firstly, do I need a special JDBC driver to do this (if so where would I get one?) or is there one provided with the J2SDK? Would you have a small sample code to get me started or to explain the basics? (before I get into the more complicated stuff). I got lost trying to follow your detailed example as I did not understand your initial instructions. Your help is much appreciated. Many thanks and Kind regards, Jamie
Date: Fri, 1 Aug 2003 10:48:15 -0700 (PDT) From: "michael anagnostakis" < [email protected] > Subject: please help me ... your tech 800 line asked me to write to you ... To: [email protected] Hello, I am using Yahoo web hosting trying to write my html page saving them ok .... HOWEVER, WHERE DO I SET UP AND SAVE a .CSS file??? That would be a style sheet file, for example "myfont.css" ... when I try saving it in same place as the .html files ... does not work. please help thank you
Date: Fri, 1 Aug 2003 02:53:39 -0700 (PDT) From: "Richard :D~" < [email protected] > Subject: Re:JDBC in pscode.com To: [email protected] hi i am richard soriano from the philippines, im just beginning to shift my programming skills in java and i have just downloaded your article and source code through pscode.com. just wanna thank you for posting your code it will help alot specially beginners like me. just have a question if you dont mind.. have you used a GUI interface in your java programming? what i mean is does java has an interface for a click and drag for all the controls just like visual basic, where you can just place all the controls in the form then put a code with each? if so can you tell me where can i download it or what is the name of add-ons.. thnx im hoping for your reply regarding this matter i know this is a lil bit of amateur question but i really mean it.. thnx again men!!
Date: Sat, 10 Apr 2004 05:31:14 -0700 (PDT) From: "Arjun" < [email protected] > Subject: hi again To: [email protected] hi. if you remember I had mailed you a couple of times a few weeks ago. I had spoken about a billing system I was working on using Java(swing,jdbc). I have got it working. there is part of the code where i'm getting it to connect to the printer. alongwith some people I was working i've been using the code below to connect and print the bill. but I am not aware of the exact working of this code. as in what streams it is connecting to and the classes it is using. ------------------------------------------- PrinterJob job = PrinterJob.getPrinterJob(); job.setCopies(1); job.setPrintable(new PrintObject()); if (job.printDialog()) { try { job.print(); }catch (PrinterException e) { System.out.println(e); } -------------------------------------- could u explain what is happening in each of these lines, also the classes stream used. do reply as soon as possible. thanking you arjun.
From: "damini patel" < [email protected] > To: [email protected] Subject: Set Classpath Date: Thu, 08 Apr 2004 04:00:05 +0530 Hello Sir, I am new in j2ee technology. I have download jdk1.4,j2sdkee1.3 & java tutorial1.4 from 'sun.com' site. I have run my simple java program but not advance java program like EJB,Servlet,JSP. How to compile & run this program on my windowXp & window98 OS.So please I bag for that U immidiately give me mail & tell what I do for that. Please.........help..........me Sir Damini
Date: Thu, 1 Apr 2004 07:29:06 -0800 (PST) From: "salman khp" < [email protected] > Subject: help.......... To: [email protected] Hi ! i just download A ( part4 ) Simplified Swing & JDBC Code for Adding, Modifying and Deleting Records from http://www.planet-source-code.com/. i also download all images using in project from yours site. i download all files its working on my system but problem is that when i give login 'a' and password 'a'. or login 'p' and password 'p' both not working. plz help me about this solve this minor prob soon. i am waiting for ur answer. thanks.
From: "Davisote" < [email protected] > To: [email protected] Subject: About a program you made in PSC Date: Mon, 29 Mar 2004 17:44:53 +0100 Hello. I have seen a program you published in PSC to see movies. I would like to make you a question. In a every form you use you create by default an string to the url and the driver statically. What about if you would like to ask the user the place where you have the database, and create the url string dinamacally. How you pass this information throughout the differents form to make the querys. Thanks
From: "karthigesu dinish" < [email protected] > To: [email protected] Subject: java swing Date: Mon, 29 Mar 2004 12:41:10 +0000 hi james! i'm dinesh studing bsc in university of greenich. I have seen lot of your great java swing codes in the web, like vcd data base, student database. but i wonder if you have any java swing examples using arrays or vector to help with my course. please send me one if you have any. it would be a great help to me and i would so please to you thank you truly dinesh
From: "Arthur Chan" < [email protected] > To: [email protected] Subject: How does it work? Date: Sat, 27 Mar 2004 10:07:47 -0700 Hi James, I found your generous web site about Java. I would like to learn Java and was intended to follow the steps in Mastering Java Swing - Part 1 web page, I also downloaded the package Swing1. However, I cannot compile the simple code HelloWorldSwing. I ran the command "javac GBLayout5.java" in the DOS command prompt but I got an error message "Bad command or file name". I have no idea how does it work? Do you mind to show me? Regards, AC
Subject: HTML File Date: Wed, 24 Mar 2004 09:57:41 +0800 From: "LARA, Edgardo C." < [email protected] > To: [email protected] Hi James, How are you going to edit/update you're html file/page after you uploaded it to geocities? thanks fellow list in your groups ED
To: [email protected] From: "kavita pal" < [email protected] > Date: Mon, 22 Mar 2004 02:15:34 +0000 (GMT) Subject: [james_smithjava] About java Hello, Now I am a member of your group i.e. james_smithjava. My name is Kavita and I am a final year student. As a final semester project, I am given the project of web server log file reading and web statistics generation using Java 2 and MS SQL Server 7.0. But I am new in the field of Java and don't have much knowledge about file reading. If you can help me anyway, please reply. Waiting for reply. Yours thankfully Kavita Pal
From: "Conor Fox" < [email protected] > To: [email protected] Subject: help with servlets much appreciated if possible Date: Thu, 18 Mar 2004 17:26:04 -0000 hi james i am currently attempting to create a project on mobile management of valuable cargo but unfortunately i have gotten stuck...... i am using java servlets, on a localhost jsdk2.1 development server as the development environment, under windows(i know not ideal but it is what i have to work with), i am having problems with the servlets i can compile them no problem but after that i have problems , the server does not find them in its directory. any ideas where i am going wrong?? any help at this stage would be greatly appreciated.... thanks in advance conor fox
To: [email protected] From: "spiderman8083" < [email protected] > Date: Wed, 17 Mar 2004 20:43:11 -0000 Subject: [james_smithjava] jdbc best way to learn? I want easy to learn basic books/online tutorials(preferably for free) on jdbc especially to connect to Access database. Amazon had jdbc:practical guide for Java Programmers 100p and JDBC Database Access with Java: A Tutorial and Annotated Reference 462p. Please give some advice. Rememer, it must be as easy as possible
From: "wilson Jno Baptiste" < [email protected] > To: [email protected] Subject: jamessmith.java Date: Wed, 17 Mar 2004 14:44:46 -0400 hi how r u, must must get loads of emails regarding this program. my question. i want to disable the table in Student report. so its not editable How do i do that. regards thanx
Date: Sat, 13 Mar 2004 09:19:15 +0000 (GMT) From: "nikhil kesari" < [email protected] > Subject: Mail From your Site To: [email protected] Hi James, My name is nikhil from India. I am student doing a project in e-shopping cart using JAVA please give some insight on how to go about the project and is there any books on e-shopping cart. thankyou. nikhil
Date: Fri, 12 Mar 2004 14:06:41 +0000 (GMT) From: "usha priya" < [email protected] > Subject: sir help us regarding our project. To: [email protected] dear sir, I am doing my project in jsp for my major project in UG BE course. The following is the jsp page where applet is called. < % System.out.println("http://www.geocities.com/james_smith73/DISPDOCFIELDS.JSP"); String str="comic sans ms"; % > < html > < body > < jsp:plugin type="applet" code="http://www.geocities.com/james_smith73/dispdocfields.class" codebase="/xmldoc/jsp/test" jreversion="1.4" width="750" height="400" > < jsp:params > < jsp:param name="fontname" value="< %=str% >" /> < jsp:param name="fontname" value="mother" /> < /jsp:params > < jsp:fallback > Plugin tag OBJECT or EMBED not supported by browser. < /jsp:fallback > < /jsp:plugin > < /body >< /html > here,we want to pass a jsp variable to applet program... so we have included jsp:param tag. but when getParameter method is called to access param value in applet program,nothing is returned. please help us in retrieving jsp variable in applet program.please help us. please reply us sir.it will be really helpful for us to proceed our project so well. thank you sir, with regards, usha.
Date: Tue, 9 Mar 2004 10:23:27 +0000 From: "John Warner" < [email protected] > To: [email protected] Subject: ejb Hi there James, Your site has been a great help to me over the last few days in getting a grasp on the areas you cover but i was trying to get access to the entity bean page but the link is not working?! I am currently working on a project that uses entity beans to call data from mysql and wanted wanted to call the beans from a jsp. if you have any information could you forward it to me or maybe give me a few links. your help will be fantasic. Thanks John W
From: "sameer chandra" < [email protected] > To: [email protected] Subject: jamessmith.java Date: Sat, 06 Mar 2004 13:42:07 +0000 Hi mr. james, I am new to Swings ! Hence still trying to understand the reason behind it. I compiled jamessmith.java successfully and executed the class file , but after I enter either login 'a' and password 'a' for Accoutant login 'p' and password 'p' for Principal The application just sits there quietly without responding suceess or failure. SAM
Date: Sat, 6 Mar 2004 20:46:52 +0800 From: [email protected] To: [email protected] Subject: Please Help Me my name saiful i'm from Malaysia. can u teach me how to execute java servlet using tomcat. i tried to put the my servlet in my ROOT directory but its doesnt work,.
From: "Haris Ekic" < [email protected] > To: [email protected] Subject: Java Application Date: Thu, 04 Mar 2004 06:41:19 +0000 hi james, downloaded your program from 'planet source code' and i think it's great !!! Well done !!! i'm at uni and i started doing java but it's a bit hard for me, especially GUI design, so i would like to ask you for help !!! these are requirements: i need to develop application that can be used to manage customer's event bookings. the application has to maintain the customer booking information and driver application for festival staff to use to manage information about the festival customers and display information to the screen about the festival customer and their events booking. --------- it is very similar concept to your program "Simplified Swing & JDBC Code for Adding, Modifying and Deleting Records" but i don't know where to start with the GUI, so if you could help me out i would appreciate it really. let me know, what you think Thanks Haris
From: "ramkumar vaddem" < [email protected] > To: [email protected] Subject: Hello Sir,I have Problem in Weblogic Server,plz help me! Date: Thu, 4 Mar 2004 12:10:11 +0530 Hello Sir! I put my struts application(examples.war) in "C:\bea\weblogic700\samples\server\config\examples\applications".I placed struts.jar file in "C:\bea\weblogic700\common\lib"
Date: Wed, 3 Mar 2004 01:05:32 -0800 (PST) From: "venku tas" < [email protected] > Subject: student To: [email protected] hai sir How to complie .JSP file.
Date: Tue, 2 Mar 2004 10:05:25 -0800 (PST) From: "Arjun" < [email protected] > Subject: doubts,helpful To: [email protected] hi thanks for replying. don't need a full code. i'm stuck up with the part of printing. hope you don't mind clearng doubts like this. Do u have a code for printing as in connecting to the printer and printing whatever is required when we want to. btw your site is gd. thanks arjun. --------- hi. i'm quite new to Java programming. have found your site - http://www.geocities.com/james_smith73 , helpful. one of the program applications i'm supposed to develop is a billing system for any normal store. what do I use for this. i'm working with JDBC- simply trying to connect to a database with few tables and printing a bill from the items purchased(those that exist in the database). is there any existing sample code I can refer to? it would be a lotta help for the fast completion of my project. thank you again arjun.
From: "Hoang Phi" < [email protected] > To: [email protected] Subject: Java Beginer Date: Mon, 1 Mar 2004 10:15:30 +0700 Hi, I am an programmer from VietNam, I am beginer in Java. I see know you infor on site http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3887&lngWId=2#zip I ask you some code, advices for Java programming with Weblogic or Websphere. Thanks you very much
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith K" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Thu, 26 Feb 2004 4:8:29 -0500 Comment: good job james and thanks
Date: Wed, 25 Feb 2004 19:44:20 +0800 (CST) From: " Keng " < [email protected] > Subject: Question of Java To: "james smith" < [email protected] > Hello, how are you? I got question about java, how can make my own java program to be executable file?? Thanks a lot! ^_^
From: "Gilmar Zapana Mansilla" < [email protected] > To: [email protected] Subject: paquete javax.servlet.http.* Date: Mon, 23 Feb 2004 21:42:16 -0500 Hello, excuse me my english because I'm from Peru (latinoamerica). You could tell me of where to download the package javax.servlet because when I run your program it leaves me errors. thanks you Gilmar
Date: Sat, 21 Feb 2004 15:55:18 +0000 (GMT) From: "kavitha boppana" < [email protected] > Subject: question To: [email protected] hello james, This is my question in detail when the client(browser)requests the server(tomcator any java server),request in the sense we will open a servlet and in that servlet we will have a link when we click that link say ex:audio a new java applet kind of window will be opened where in we will get a mp3 file saved in the server and in that file which is running we should get a text(that can be anythng and anywhere in the song or anything,i.e in can come in the starting or middle or ending).As far as I have learned in mp3 file we will have some place left misclleneously where in we can include a text it seems. its like titles in a movie. That is the question,I am sorry for not giving you properly.I also learned more only after asking you.If you did not understand any part of my please give me a message i will try to say in more detail.here is a link where u can see similar example way i am asking but in the below link a real time player will come and the server is some server,i meant not java.But the output is the same.like if you click on the audio link you can see that. http://academy.smc.edu/et14/s2001/sample_project/project1/proj1_website/sample_html.htm okay .Thank you very much. bye. yours friendly, Kavitha
From: "Hamad *" < [email protected] > To: [email protected] Subject: Re: Java Servlets Example on PSC Date: Fri, 20 Feb 2004 11:11:06 +0000 cheers mate!
From: "tarun" < [email protected] > To: [email protected] Subject: Help needed Date: Thu, 19 Feb 2004 19:48:53 +0530 Dear Mr James Smith I am a student who would like to know the working of your database program for students records. I have to work on something similar but i do not know how to connect my java program to my database. Could you help me out by giving me some information on this . I would really be grateful. Tarun Haruray
Date: Wed, 18 Feb 2004 10:26:32 -0800 (PST) From: "BUNAH BUNAH" < [email protected] > Subject: Query from your Site!! To: [email protected] Hi james, first let me say that your site helped me to have a better understanding of the java swing and java as a whole. i only have one thing that i need you to help me with. i want to use java to display the attributes of a database. say, for example my database has one or two tables, what i want to happen is that i want the name of the table and the attributes to be displayed inside a box without me specifying those attributes. if you can, assist me with a sample code, or a site that might assist me in the matter. thanx Buna Malale(mr)
Date: Tue, 17 Feb 2004 08:24:35 +0530 (IST) Subject: Request for information From: [email protected] To: [email protected] Dear sir/medam, First I introduce myself as a student and my name is Aravind, doing MCA. As I have to do a project using java. I saw your program in the net. I request you to send me a good networking/rdbms project with code and report. So that I can refer it and learn morethings. Waiting for your reply. Bye Aravind
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith K" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Sun, 15 Feb 2004 23:12:34 -0500 Comment: hai james, thanks 5 star (*****)
From: "aladin munyanziza" < [email protected] > To: [email protected] Subject: I need a help!!! Date: Fri, 13 Feb 2004 21:03:07 +0000 Dear professor, My colleague and I ,are students of computer Science in National University of Rwanda in last year and we are involved in a feasability study of our BS final project on an "Online telephone billing system".Up to now the really problem that we are facing is the way of getting Inputs from telephone system means the way to collect data about charges ,rates,time of starting and releasing call, and all related data. We are thinking of building web based application with database to store all the mentioned data so that customers can access them through that website.If we could get information about such application it would be helpful for us.We are thinking that you can help us and we will be working on it using java so we still need your help. Thank you in advance. Niyomugabo Alain Theophile Munyanziza Aladin FST-CS/BACC IV NUR-RWANDA
Date: Thu, 12 Feb 2004 09:27:36 -0800 (PST) From: "kavitha boppana" < [email protected] > Subject: requesting code To: [email protected] hi I am kavitha and I have done some projects by using tomcat running servlets, but now I need to generate a mp3 file and a text file when the client requests the tomcat server.I need your help.So if you know how to do please let me know. I would really appreciate if you can give me code to look into. Hope to recieve mail from you.Thank you very much. your friendly, kavitha
From: "Hamad *" < [email protected] > To: [email protected] Subject: Java Servlets Example on PSC Date: Wed, 11 Feb 2004 15:22:34 +0000 hi, i just wanted to know if you could send me the example of the java servlets you posted on planet source code, please. many thanks. kind regards hamad sabir
Date: Tue, 10 Feb 2004 14:35:02 -0800 (PST) From: "MOEEZ ESSAJEE" < [email protected] > Subject: Hello please help me with java assignment To: [email protected] Hello! I dont know how to start,actually i read your java code on www.planet-source-code.com, its an SSwing & JDBC Code for Adding, Modifying and Deleting Records.so actually i wanted your help if possible i have a assignment which is related to this application of yours,please if can help me out. If it is possible you can reply me on the following E-mail address:[email protected],so that i can forward you the assignment scenario,dont worry is not that difficult. Thankz Take care. Moeez [email protected]
Date: Tue, 10 Feb 2004 05:11:51 -0800 (PST) From: "Marina Thomas" < [email protected] > To: [email protected] Hello sir TCP/IP using Java Socket programming. and with instructions wait for your reply Marina
Date: Mon, 9 Feb 2004 10:24:57 -0800 (PST) From: "ramla khan" < [email protected] > Subject: please reply me its urgent To: [email protected] Hi james smith i got your mail id from planet-source-code site.i am very thankful to you if you can help me please. i want source code on java mail server with documentation. please could you do this for me before 11th of feb.i am very thankful to you if you can do this its urgent. i have to submit this before 11th. please. help me out. Regards Ramla RAMLA KHAN { Pakistan }
From: "Mark" < [email protected] > To: [email protected] Subject: Mail From your Site Date: Mon, 9 Feb 2004 16:13:08 +0530 Hi James, I am really surprised at the volume of work you have been doing on your site. I thank you for the same. I have specific problem regarding running 2 JVMs on my machine. I am trying to create object on a JVM whose method, I should be able to invoke on another. Your reply is awaited. Makarand
Date: Sat, 7 Feb 2004 11:03:51 +0000 (GMT) From: "neelam advani" < [email protected] > Subject: please take time to read this mail To: "james smith" < [email protected] > james plz take time to read this mail and if u still find me guilty just leave In morning when i went to NIIT sir gave me J2ee server in floppies and asked me to insstall it but he just left out few things as floppies were less and asked me to come back in an hour after setting everything and getting those florppies empty so he will give me rest things which though were less imp for running the server (and we are have to learn ejb through j2ee only as we get some ? relateing to it in our exams to be held on 24th else i have ur tomcat and also vqserver installed ) but i couldnt return due to some probs later when i created the bat file for setting path and i executed after installation this batch file it gave me error " " so i called in niit so that i will go there if sir is avaliable as he had called me in an hour and i found sir telephone line but someone prompted form behind taking my name and it does not seem good to ask such things on teleline though my intention was to go in niit . then sir asked me to write each path settiing on prompt and said he will be there only for 15 mins but setting on promth was givin me too many parameters error i fund u online so i asked u abut this error so that i can intimate sir the status after setting paths on prompt and u were asking me to do things differently which were totaly unknown for me so i wanted t tell u that plz tell me my way as i do not have time to learn ne things as sir would leave now he had left and i will not be able to lern till monday i come back from niit as tomorrow is sunday and MR why do u get angry always on me i ever find u giving me referenc of ur site and today u were ready to help but i was really in an hurry I AM SORRY Thanks for taking time i m online if u get this mail and agree plz come and tell me ur way as i m free and my j2ee isnot working
Date: Sat, 7 Feb 2004 02:52:26 +0800 (CST) From: " " < [email protected]> Subject: Hello To: [email protected] Hi, I'm Ken, chinese from Malaysia. How do u do? I got ur e-mail from planetsourcecode.com and I found that your code is quite great, clear and easy to understand. Would you mind to be friend? I'm looking some one as my java programming guided. Hope that you wont mind to be ^_^... Hope can get your reply soon. Thanks a lots!!
Date: 6 Feb 2004 13:56:50 -0000 From: "Askar " < [email protected] > To: [email protected] Subject: Hello Hi James: My name is Askar and Iam a final year engineering student from India. Well I happened to surf your website while looking for some material on servlets and JDBC and downloaded your e-commerce application: Jewels. I think it's splendid and it will definitely help me to learn how to use servlets.Do u have any documentation for this application ? If not could you send over the details of the class files..like why are they used .. so I could understand this better. Hope to hear from u soon Thanks Askar
Date: Wed, 4 Feb 2004 14:00:38 +0000 (GMT) From: "suresh kumar" < [email protected] > Subject: An Admirer of ur projects,wants sugestion To: [email protected] Hi, This is SURESH from INDIA . I have ur projects in planet source code.They r very nice and can easily understood . I want a sugestion from u. Can u say a good for "_JAVASCRIPT" and "JAVASERVLETS".(for Begginers) I hope so u will send the reply soon .
Date: Wed, 4 Feb 2004 05:25:42 -0800 (PST) From: "maalika" < [email protected] > Subject: requesting help for my project work To: [email protected] hi Sir, whenever i have doubt in java i visit ur site and have used many of ur codings. thanks a lot Sir for the great work u r doing. im currently working on a project for my academic purpose. my question: i got a login page in jsp - when submit is clicked - i go to another jsp pg which has got usebean set & getproperty from here i need to pass control to a servlet. - the servlet is a controller. the jdbc connection object just need to be instantiated here. (so i need to have a seperate class for connection). the servlet has to track from where the request has come and pertaining to that pass control to a process class. the process class will need to decide on the specific action and direct another jsp/class to do so. i need in general to do it as follows: 1.jsp 2.uibean 3.controller servlet 4.action bean 5.view bean 6.view object. all database activities(insert, update, delete..) need to be in a generic process. i need to have just one servlet program and do the above. can u just tell me the way i have to do it. i need some example coding also. thanks a ton & with kind regards, maalika.v
Date: Thu, 29 Jan 2004 08:15:45 -0800 (PST) From: "Bahman Fard Sanei" < [email protected] > Subject: Re: Web programming question in UNIX OS Server To: "james smith" < [email protected] > Hi James: Thanks for your response and your recommendation, I have a question? can I use Java/javascript instead of PHP programming? what are differences and which one is easier to connect to MYSQL database? by the way,do you have any tutorial for PHP programming in your site?or do you have any good sample for connecting PHP to MYSQL? Thank you again for your reply, I am looking forward to hearing from you, Best regards, Bahman -------- Hi James: I am Bahman from Michigan. I want to do some web programming in Unix server. actually I want to design a online questionnare that people can answer all questions in this form and then store all answers in MYSQL database and also respond to people about their answers. So what language do you recommend for programming? Java? PHP?Perl? (remember my operating system is UNIX). also do you have any example for my application? I am looking forward to hearing from you soon, Thank you in advance, regards, Bahman
Date: Thu, 22 Jan 2004 21:10:08 -0800 (PST) From: "Ross Gell" < [email protected] > Subject: Need Help To: [email protected] Hi there, i am a frequent visitor to ur site. i keep checking regularly for articles u put on ur site and practice 'em. i am a student and am keen on doing good in java. problem is i am a beginner when it comes to SWING. i wish to develop a swing based game to get the real feel of it. do u have any code for any game , say checkers or chess or some other in swing. any help wud be greatly appreciated. thank you and keep up the good work. ur site is getting popular by the day and i myself have referred many friends of mine to ur site. ... thx again.. -R0ss.
Date: Sat, 17 Jan 2004 18:43:56 -0000 From: "just_john1" < [email protected] > To: [email protected] Subject: ?? James I just joined your site and I find that you are closing it down? What did the Gurus say? I joined it because it didn't seem like a commercial "look at how great we are" site. I'm new to Java and was looking for a homie sit were things seemed layed back. Ya know there are more ways to skin a cat (no offence cat lovers, I own 2) than what a so called profesional cat skinner says. Your way might not be the way they like it but from what I've seen it works. Just John
Date: Sat, 17 Jan 2004 06:23:14 -0800 (PST) From: "ng hooifung" < [email protected] > To: [email protected] hello james, im a beginner user java.i faced some problem regarding developing an application using java...i have downlad some of ur code, but still faced some problem in it...can u help me know 1. how to connect jbuilder and sql server2000! 2. how to add, delete, update and search record in simpler way? thanks for the help....hope to hear from you soon. hooi fung
From: "1 Java Street Feedback from" < [email protected]> To: "James Smith Kelleher" < [email protected] > Subject: Feedback on your submission to 1 Java Street Date: Wed, 23 Apr 2003 13:22:38 -0500 Comment: your are smart
From: "Mike P" < [email protected] > To: [email protected] Subject: Re: java program Date: Mon, 21 Apr 2003 03:47:51 +0000 One further question, did the set condition function work for the query handler in your program. I cant get it working and your code looks correct. If you have an upto date version that works, I'd much appreciate a copy. cheers Mike >Hi Mike Its a very fundamental code , written for Java Beginners , I >have >not tested it beyond I could , If u can find fixes pls let me >know >Regards James
From: "Finn, John" < [email protected] > To: "'[email protected]'" < [email protected] > Subject: Project Date: Fri, 18 Apr 2003 13:19:42 +0100 james, I was browsing the net and stumbled on your code. It is quite impressive. I am currently working on an urgent!! project which involves a Warehouse Management System. I am having one particular problem though and being inexperienced in Java code I was hoping that you may be able to help. I have a combo box which contains the description of products in a warehouse. Once I click on a product description I want to produce info in two textfields below this. I would greatly appreciate it if you could help me in any way, and maybe amend the code I am attaching to this email. I also have a screen shot of the GUI Ill be attempting to change. Hope you can help me. John Finn
From: "Vikrant Varma" < [email protected] > To: [email protected] Subject: Re: java program on the web picture database Date: Fri, 18 Apr 2003 09:00:18 +0000 Thank you for your feedback. You were right I didn't do the ODBC connection right. I got it to work and it is actually a very robust program. I appreciate the help. I am trying to refresh my memory of java and jdbc froma about 1 year ago and this has been very helpful. >From: james smith < [email protected] > >To: Vikrant Varma < [email protected] > >Subject: Re: java program on the web picture database >Date: Wed, 16 Apr 2003 04:10:52 -0700 (PDT) > >Hi Vikrant Varma I far as i can tell the Swing program u are using will >work with username "a" and password "a" , pls see if u have set up your >ODBC Datasource connection ? , RegardsJames > >Vikrant Varma < [email protected] > wrote:Hi James, > >I was browsing your program and the code looks pretty good. When I try to >run it however. I don't get pass the login screen. I tried both usernames >and passwords. 'a', 'a', and 'p', 'p'....nothing happens...the other panels >dont pop up....I was just wondering if I am the only one who is having this >problem. I know you wrote this last year but I would appreciate any >feedback. > >Thank you
Date: Fri, 18 Apr 2003 00:28:58 -0700 (PDT) From: "Amy Koh" < [email protected] > Subject: Re: oop concepts To: "james smith" < [email protected] > Why not?... james smith < [email protected] > wrote: Hi Amy I dont use OOPS and Never will i use it , UNLESS IT IS REALLY REQUIRED ! James Amy Koh < [email protected] > wrote: Hello James, I've use ur prog b4...:)...i was wondering do u implement object-oriented concepts in ur Java progs? Amy
From: "zaid abbas" < [email protected] > To: [email protected] Subject: Re: java e-commerce application Date: Thu, 17 Apr 2003 14:00:30 +0100 Dear James, I finally have the Jewels application working, it seems to be because i was using Start>Run>Command rather than Start>Run>cmd. Thanks for your help. I was just wanting to ask u a couple of questions. 1)Are all 22 classes java servlets. 2)The file searchservlet.java comes up with an error(shown below). Is the class for this file used in the program? The error is: C:\tomcat\webapps\examples\WEB-INF\classes\searchservlet.java:39: incompatible types found : char required: java.lang.String lastchar = wordnow.charAt(wlen); 3) How are the servlets linked to the database? Do they use the JDBC? Ps can u recommend any java servlets or other sources of information on servlets that may be useful to me since I have not used servlets before. Eternally grateful Regards Zaid
From: "Eamonn Walsh" < [email protected] > To: [email protected] Subject: wap servlets Date: Wed, 16 Apr 2003 18:21:46 +0000 Hi james. I was browsing ur yahoo groups page and noticed that you have been developing wap. As i previously mentioned, i am using wap in a current project. if you would like to have a look at the content i could email it to you. im not sure if it would be any use to you but you have helped me and i appreciate what you are trying to do. oh i also noticed that ur java gui won a prize. it must be an honour for you that so many people take an interest in your work. let me konw if my wap/servlets are of interest to you and i will email them to you for a look o.k. eamonn
Date: Wed, 16 Apr 2003 18:48:59 +0100 (BST) From: "Tom Ryan" < [email protected] > Subject: Re: Help Please To: "james smith" < [email protected] > James, what i am looking for exactly is code for the following: Once the connection is created, how do i get the result set into a combi box i.e. how do i create the query, execute the query, return the results and add them to the cmb? Regards and thanks, Tom
Date: Mon, 14 Apr 2003 19:13:42 -0700 (PDT) From: "Amy Koh" < [email protected] > Subject: thanx To: [email protected] Dear James, Thank you for writing Powerful Java Swing & JDBC Code for Application Development. It has help me tremedously in understanding JDBC. Keep up the good work. Amy
Subject: ask a question From: "gugiaji" < [email protected] > Date: Fri, 11 Apr 2003 14:25:53 +0700 To: "[email protected]" < [email protected] > Dear Mr. James Smith I am gugi from Indonesia. I try your code in www.geocities.com/james_smith73 james2.zip (java code). And I get these error. May you helping me? Thanks a lot for your attention
Date: Wed, 9 Apr 2003 14:41:44 +0100 (BST) From: "Walker Chris" < [email protected] > Subject: JDBC To: [email protected] hi James, Like you i have found it very difficult to find a decent site which clearly explains how JDBC works. I have downloaded your files and followed your instructions, but i cant seem to get it to work. i only have JDK 1.1.8 will this make a difference? Thanks Chris
From: "Charalampos Kaklamanos" < [email protected] > To: [email protected] Subject: Problem with copy and paste files in an ODBC Aplication for Medical Record DataBase Date: Wed, 9 Apr 2003 12:02:34 +0300 Dear Mr James Smith, My name is Kaklamanos Charalampos and I am from Patras , Greece . I am 23 years old and I am a student in Patras University , Electric Engineering Department . I am working a java project for university that is very similar to the project that you have publishef in PlanetSource site. My project has to do with Medical Records that are stored in a MS Access DataBase and I am developing a GUI in Java that gives access to the DataBase , retrieves data from it , makes new records , gives statistics and in the future will provide videostreaming to the doctors that use this application . I have already desinged the GUI and implemented the function that make the user able to communicate with the DB and retrieve or change data . Thank you very much KAKLAMANOS CHARALAMPOS
Date: Tue, 8 Apr 2003 23:46:24 -0700 (PDT) From: "alhassan alwadie" < [email protected] > Subject: About(A ( part2 ) Powerful Java Servlet & JDBC Code for Web Development ) To: [email protected] Hi Mr.James I cannot download the jakarta-tomcat-3.2.1.zip and I found in jakarta.apache.org this version jakarta-tomcat-3.2.3.zip does it works with your development correctly
From: [email protected] Date: Mon, 7 Apr 2003 17:45:25 -0300 (GMT+3) Subject: Hello To: [email protected] Hi Mr James, I think our father of creation is loving you too thats why we are both breathing.In my side Im ok. My Name is Michael Moshiro the Student of University of Dar es Salaam ,Tanzania,East Africa taking Bsc with Computer and Im in third year now. I know you through www.1phpstreet.com where I get your mail which you try to implement web counter, My intention is to become a php expert as you but the lack of enough resources hinder me in my progress. Another problem which I have is the good way on how I can customize the PHPNuke since this is the part of my final year project. My request to You is that i just beg your assistance to become an expert as you at the same time to succeed in my final year project which I must handle it in four weeks to come. I think you dont know me but through this communication we can know each other All the best and have a good day and I hope to hear from you. Its me Moshiro Michael
From: "SOMSACK INTHASONE" < [email protected] > To: [email protected] Subject: Interesting with your Java project Date: Mon, 07 Apr 2003 09:53:52 +0000 Hi James, I am a new java hands and interesting with your Java project as I have seen on Planet Contest winner. I would like to ask you, How to make excute file ".jar file" for example from your Java project. If I have any question ,Could I ask you ? Thank you very much in advance, Somsack ( Lao People Democracy Republic )
From: "Eamonn Walsh" < [email protected] > To: [email protected] Subject: Selling Jewels Date: Thu, 03 Apr 2003 15:26:09 +0000 Hi James. i found your "selling jewels" servlet application very interesting. i am a final year student and i have took it upon myself to develop an application for the web with servlets. the problem is that i have tried to incorporate an abstraction of your ideas and i am noticing that tomcat crashes if more than one user accesses the database (MSAccess). is this because of the microsoft "product", or is it a bug within the application?? any advice would be very welcome. yours sincerely eamo
Date: Sun, 27 Apr 2003 22:25:41 +0100 (BST) From: "pavan kumar" < [email protected] > Subject: plz send me i have to submit day after tomorrow. To: [email protected] i think u r champ in java programming. pls help me. okay bye
Date: Sat, 26 Apr 2003 00:57:09 -0700 (PDT) From: "super trooper" < [email protected] > Subject: Doubt in project To: [email protected] I saw your project A ( part1 ) Powerful Java Swing & JDBC Code for Application Development Java on the net it was SUPERB!!! BUT there is ONE THING i would like to know that in the fourth tab u can't search for student's records(by setting condition)how do i go about doin it.
From: "Muhammad Aseem Ur Rehman" < [email protected] > To: [email protected] Subject: Re: how can i adjust fields Date: Thu, 26 Sep 2002 12:51:52 +0500 I want to move the fileds and labels in the style i want or want to arrange in a different style. for which i have changed these values c.ipady = 2; c.ipadx = 2; c.weighty = 0.0; but changing them didnot help me out, one more things have you ever worked on TAPI or SAPI M�h�mm�d A���m U� R�hm�n >From: james smith < [email protected]> >To: Muhammad Aseem Ur Rehman < [email protected] > >Subject: Re: how can i adjust fields >Date: Wed, 25 Sep 2002 21:07:18 -0700 (PDT) > > >Hi Aseem >As far as i could tell you can u can modify every field in the code if u >could get to know how the code is working, i feel that i have not organised >the code in proper way as i keep adding methods one after other at >different times without much of planning before, > please let me know details , as what u are trying to modify may be i can >try my luck helping u >Best Regards >James > Muhammad Aseem Ur Rehman wrote:Hi >I have seen your code about swing on pscode and nodoubt its a very very >nice >code. >I am having a problem with that code that i cant adjust the fields >according >to my style. >means i want to arrange the fields freely. >Hope to see your reply soon. > >A���m
From: "chai kokyung" < [email protected] > To: [email protected] Subject: Enquire for JDBC application and applet Date: Sun, 29 Sep 2002 16:47:03 +0000 Hi, Can u help me with these problem? 1) When i first click on an interface,it can retrieve valus from DB, but when i click on second time,it won't retrieve values from DB. It ocuurs in my application too. When i retrieve values from DB and insert into Vector, and firstly when i use those info to activate other fratures,yes it works, but seond time, interface still appears,but no more values are put into the interface. 2) How can i connect applet with database? Since i don't have a static IP address, how do i set URL in properties file,it looks like this for my in house application. Driver:sun.jdbc.odbc.JdbcOdbcDriver URL: jdbc:odbc:ConnectingToSQLServer username:abcderf password:******* ConnectingToServer is an odbc which is installed in my pc. 3) When i retrieve values from DB,and want to insert into JTable.Yes, it goes well,but i want to create one more column in order for me to make selection(JCheckBox). Can you pls give me advice for this. Can you pls reply me earlier,because it is very urgent for me. Thank you very much.
Date: Tue, 25 Mar 2003 12:52:58 -0800 (PST) From: "juan lanze" < [email protected] > Subject: hi To: "james" < [email protected] > well, hi ; how r u james? i know that my ask was too much and that i have expected too much. i don't blame u cos if i was u, i would not give my work to someone to show it as his work. actually i have done some, and so i wonder if u can check it for me. let me know so i can send the code if u accept. otherwise, i'll stil thank u for spending ur time reading my letters. urs; juan
From: "Robin Singh" < [email protected] > To: [email protected] Date: Mon, 24 Mar 2003 13:25:22 -0500 Subject: hI..SAW UR PROJECT..NEED HELP FROM INDIA.. HI JAMES I M ROBIN SINGH FROM INDIA I SAW UR PROJECT REGARDING BUILDING UR AMAZON.ITS WAS GR8 I M DOING GRADUATION AND IN MY 3RD YR. I WOULD BE VERY TAHNKFUL IF U PASS ME ON A DATA FLOW DIGRAM(DFD) OF UR PROJECT I.E BUILDING UR OWN AMAZON. I WOULD BE VERY TAHNKFUL YOUR FAN ROBIN SINGH INDIA
To: "james smith" < [email protected] > Subject: MAY GOD LIVES U FOREVER From: [email protected] Date: Mon, 24 Mar 2003 13:25:39 +0600 dear friend james, thank u for ur mail. u r nice and its my dream to meet with u. May GOD lives u forever and also enables to u to do something special abot java. kind regards, Asif NB:i am just looking for ur nice mail.
Date: Mon, 24 Mar 2003 08:19:04 +0700 From: "SOFCO SBY" < [email protected] > To: "james smith" < [email protected] > Subject: Thank you again. Hi, James I guess I have to thank to you once again, because before I found your site and your example, I got no interest about Java at all, and right now I'm starting to learn about Java step by step as you said, so... thank you again. Regards Christopher
From: "YASER QURESHI" < [email protected] > To: [email protected] Date: Sun, 23 Mar 2003 23:22:04 +0000 Hello James Hope all is well, with regards to your java-jdbc program i would like to thank you for such an example you have made available for programmers weather beginners or advanced. There is slight confusion in my head, with regards to the search student details pane, the search has to be precise, for example if was searching ur name i would have to type exactly as it is stored in th dbase. Is it possible just to type a letter any letter eg 'a', and it results in display of evry name that has a letter 'a'? if so, what possible way do you think this can be solved? Once again thank you very much for help sir, it would be much appriciated if you can reply to this message, iunderstabd your a busy man, regards yaser [email protected]
To: [email protected] From: "elmabruk laias" < [email protected] > Date: Sat, 22 Mar 2003 15:55:35 -0800 (PST) Subject: [james_smithjava] how to sand conformation email hi I am writnig java appelet program and as a part of it is task to sand an applecation form data to postgresql server through my web page which countin jar file run on click of applay. also an email must sand to the applicent to confirm him/her about receiving his/her form . could any one help me in how I can sand this email through my applet. think you for helping me , emlaias
Date: Fri, 21 Mar 2003 01:28:40 -0800 (PST) From: "juan lanze" < [email protected] > Subject: hii To: "james" < [email protected] > james; allow me to call so. i do thank u. i feel that i'm taking ur precious time but... what i ment to ask is that for the resume u have personal details, workprofile and references i don't want the save button to show unliss the candidate fills the three different forms. he can move easyly between them but not saving unless he fills all the fields. that's it for now. i'll ask u something more but not now, if u don't mind. urs juan
From: "Aine Doody" < [email protected] > To: [email protected] Subject: code query Date: Thu, 20 Mar 2003 18:16:04 +0000 Hi ya I downloaded your code and firstly thanks a million its really great. I know that I should be able to find this myself but where would i be able to change the general layout of the site. When i open index3.html in dreamweaver to edit it it will not let me. I have maganed to figure everything else out, any help in right direction would be really great. thank you so much, �ins
Date: Wed, 19 Mar 2003 18:28:26 -0800 (PST) From: "maehb buljatin" < [email protected] > Subject: Re: Fwd: hi! To: "james smith" < [email protected] > Do u think an indonesian know how to speak TAGALOG?i dont think so....well,your massege sounds you dont want to have a new friends it's fine with me.anyway,thanks for all the effort you have given my pleasure to read all of those message you'd send to me.SAYONARA!
Date: Wed, 19 Mar 2003 08:31:43 +0700 From: "SOFCO SBY" < [email protected] > To: [email protected] Subject: Learning Java Hi, I Want to start learning about Java. In your opinion, from where should I start ? Thank you. Christopher.
Date: Mon, 17 Mar 2003 22:54:42 -0800 (PST) From: "juan lanze" < [email protected] > Subject: thank you and To: [email protected] hi James; first of all, thank u very much. i didn't think that will consider my request. i've done what u asked me. I know that it is too much to ask u what i want. i'm sure that u r a very busy person. U have ur own work and studies. But if u really had some free time, will u explain for me what this line means: var x1 = document.form1.FirstName.value; moreover, i checked the site and really tried to make my resume but i didn't know how to sign out after filling my personal data and saving it. I told u that SUBMIT button will not appear but there is a visible SAVE button. SUBMIT is clicked when the applicant feels that he will never change his profile but saving is used to store that data in the database for further modifying in the future, tomorow or even after 1 year. to explain my idea on the site u gave me. save will appear all the time instead of cancel but submit will only show when the person fills the personal details, work profile and references. One more point, in ur program that i picked from planet-source-code (paret2). i saw modrec.java,modrecresp.java and modrecresp2.java. Do i have to do the same when i design my servlet. Is there a record function and a response for that function. Your kindness and caring encouraged me to ask u. i do appreciate it for u even if u didn't replay. yours; juan
Date: Mon, 17 Mar 2003 22:53:08 +0000 To: "james smith" < [email protected] > From: "kelv" < [email protected] > Subject: Re: Hi James Thanks 4 that James. Will try again. I actually got to download the zip but one of the files was corrupt when I unzipped it. Cheers Kelv At 01:51 17/03/2003 -0800, you wrote: Hi Kelv Pls try again after deleting ur temporary internet files and ur offlines files may be u have half downloaded zip file i suggest u use download accelerator whenever u are downloading any software or a zip file Regards James [email protected] wrote: I have tied to download the tomcat3.2.1 zip from both your site and from /rubeccakelleher/jakarta-tomcat-3.2.1.zip but it doesn't happen? Have downloaded files direct from Jakarta but don't know which ones you have used? Help. Regards Kelv
From: "Michelle Lee" < [email protected] > To: [email protected] Subject: Need your help urgently regarding the codes on Jewels Date: Mon, 17 Mar 2003 14:33:12 +0800 Hi James, Regarding your Jewels codes, can I find out why is there two indexes? index.java and index2.java. What is the difference? Kindly please reply us asap, Thank you~!!! Yours sincerely mikikasey
Date: Sun, 16 Mar 2003 18:15:09 -0800 (PST) From: "joshuu arasa" < [email protected] > Subject: help in java needed if interested. To: [email protected] hi, my name is joshuu i checked out ur java work from planetsourcecode and its pretty nice and authentic. well i was wondering if u could help me out in some java coding problem if u can coz am not that familia with the language thou am trying to learn as much as i can. am having trouble coming up with a splash screen which must be a frame with canvas using awt only. pliz respond.
Date: Fri, 14 Mar 2003 07:31:22 -0800 (PST) From: "Niyas Ahmed" < [email protected] > Subject: Code To: [email protected] Hi James, I am a final year Engineering student.And I am doing project in J2EE, taking some of its techniques such as JavaBean,JDBC,EJB,JSP.I am using java as front end & back end Oracle8i.Previously I used Microsoft Access as backend.But i feel oracle is a best choice to the current trend and also to my project. I download u r code from u r site and it is more useful to me. Please tell what are the steps to follow to connect java with oracle with one sample program with source code. It will be very useful to me. I have to submit my project within this month. Hence i kindly request u to send the sample code as early as possible.And also tell how to deploy EJB. what r the steps to be followed for that.I am using Weblogic 5.1.0. I am very convenient with jsp than servlet.So Please give the code in jsp.This is my email id- [email protected] With regards, S.Niyas Ahmed
Hi James, Thanks for replying back, will download from site. Thanks, Nirav, UK. Date: Fri, 7 Mar 2003 06:54:01 -0800 (PST) From: "james smith" < [email protected] > Subject: Re: Jewels To: [email protected] Download the code from the download section of my site regards James Nirav Rajguru < [email protected] > wrote: Hi James, Great code I hear, but when I went to your website to download it, the Geocities gave me a message it said: This user has excedded his Profile storage size, now that I tried the site again your webspace has come back up. What may be the problem with geocites, that it gave that message a few minutes ago. Please let me know what I may have to do. Also, could you please send me the jewels.zip file. Thanks, Nirav, UK.
Date: Fri, 14 Mar 2003 10:03:21 +0100 (WET-DST) From: "Alan Byrne, EO" < [email protected] > Subject: Your E-Commerce Java App To: " [email protected]" < [email protected] > Hi James, I have tried to download the source code for your ECommerce application from http://www.geocities.com/ james_smith73, but unfortunately it is highlighting the following error 'The web site you are trying to access has exceeded its allocated data transfer'. I learnt a lot from the database application you made available in PlanetSource last year. Thank you for that. Yours Alan Byrne, Dublin, Ireland
Subject: Run Jewels on IIS 5 Date: Fri, 14 Mar 2003 09:03:02 +0100 From: "Sascha Klein" < [email protected] > To: [email protected] Dear James, my Name is Sascha and I'm from Germany. I've heard from your Code on Planet Source Code and downloaded it from your Website. No I've read, that I have to download Tomcat but I use IIS 5. I also run the Java Development Kit 1.4. Is it possible to execute it on IIS??? If yes, how?? Thanks for your Answer. Sascha Klein
Date: Wed, 12 Mar 2003 07:05:50 -0800 (PST) From: "ala haddadin" < [email protected] > Subject: hii its me again!! To: [email protected] hiiiiii sorry for being sucha bother!! but i really need ur help!! i did all the instructions in the jewels file... but i keep getting the same errors i got before ..! when i click the "startup.bat" in the bin in the tomcat.. i get this dos screen... it says ..something like .. starting tomcat. check tomcat/log for error messages.. then pooltcpconnector... i donno what on port 8080.. and then i donno what on port 8007 and it get stuck there.. the dos screen doesn't dissappear... i tried to run the examples that come with the tomcat.. but the execute icon dont work.. neither does the jsp.. i get the html in it but not the jsp.. the examples the came with ur jewels file.. the shopping cart.. i tried those .. but i got .."page not found , contact isp administrator.. error" when i typed the url" localhost:8080/index3.html", i tried to compile the java files but i had the "package not found" errors!!:( i dont know what the problem is ... i'm behind on time.. i really dont know whats the problem is!!! can u help me??? plz?! thanks a lot in advance.. ur site is great! bye bye ALa'
From: "wahaab abdul" < [email protected] > To: [email protected] Subject: Hello sir Date: Wed, 12 Mar 2003 17:34:53 +0600 Hello sir! I am fine how are you?. I send a mail with help requisition but you did not reply yet,are you busy? no mance please send your answars for my questions I am expecting with big expectation. your student abdulwahaab.
Date: Tue, 11 Mar 2003 23:54:00 -0800 (PST) From: "Ovidiu Alexiev" < [email protected] > Subject: servlet + mysql To: [email protected] Dear Sir Please advise me reffering to the use of MySQL instead of MsAccess database, in your servlet samples (about cart). Manny Thanks Ovidiu Alexiev
From: "Avadhut Prabhudesai" < [email protected] > To: [email protected] Subject: Re: zip files Date: Mon, 10 Mar 2003 19:17:15 +0000 Thanks James, I appreciate your quick response. Regards Avadhut >From: james smith >To: Avadhut Prabhudesai >Subject: Re: zip files >Date: Sun, 9 Mar 2003 21:08:25 -0800 (PST) > > >hi friend >u can download my codes from this location >http://www.geocities.com/ james_smith73/feedback.html >Regards >James > Avadhut Prabhudesai wrote:Dear James I have downloaded your Swing and JDBC application example from the net. I want to run and test it but I don't have the image files and a database file as your website doesn't exist anymore. Could you please send me all image files and james.mdb file so I can run and test your application. I am a new java programmer and I think this example will give me good idea as to how to create a full fledged application in Java. I hope you will send me the above files asap and thank you in the meantime. Regards Avadhut Prabhudesai
Date: Sun, 9 Mar 2003 20:44:01 -0800 (PST) From: "Jude Srikumar" < [email protected] > Subject: Request for Code To: [email protected] Hi James, My name is Jude Srikumar and I am trying to develop some applications using Java and JDBC. I came across your application on the Planet Source Code website. I clicked on your URL and received the message that you have pulled down the site because you were upset with some of the comments you received. I am sorry to hear that there are insensitive programmers out there. I would very much appreciate it if you would be kind enough to give the zip files in order to run the following tutorial: Powerful Java Swing & JDBC Code for Application Development. I have downloaded the zip files but there were instructions in that to get the actuals from your site. Many thanks for helping us starters get some knowledge about Java and JDBC. Kind Regards, Jude
Date: 09 Mar 2003 11:26:41 +0100 From: [email protected] Subject: PLS To: [email protected] Hi I saw on www.1javastreet.com yours code sample and this quite good (i saw i screen ).I'm a begginer and need this for my practice and i have neves seen that sample before. But there are some missing files, i cannot run this and see how it works. So pls send me james.zip form (specialy i need .mdb file) pls do not miss answer Gress.
From: "mudassir basra" < [email protected] > To: [email protected] Subject: help needed sir Date: Tue, 04 Mar 2003 19:15:37 +0500 Dear Sir I'm a college student and I need such a web site . I found your work done at the pscode.com and found it best of all. In continuation I tried your jewllery site.I followed all those steps that u have told in "readme" file. But at step to compile the ".java" files my compiler refused to compile it . Each file generated 6-10 errors. I started thinking over the reason but probably its beyond my sense. Thats y I'm writing to u this mail message. Please write me back the appropriate solution for the problem. I'll be highly thankful to you. The errors were like the statements as under: 1)ShowCart.java:110:package javax.servlet does not exist import javax.servlet.*; 2)ShowCart.java:111:package javax.servlet.httpdoes not exist import javax.servlet.http*; etc. sir Ive added your this email address to my link. Please solve my problem. Regards Mudassir A.Basra
Date: 4 Mar 2003 09:28:45 -0000 From: "PRABHAKARA RAO" < [email protected] > To: "james smith" < [email protected] > Subject: Able to run ur application Hi james, Actually the prioblem i think yesterday was that it seems the file didn't compile properly. So it was not running, but when today i first compiled ur file it worked and then it worked for my program also. i m using JCreator (IDE for JAVA) and the application is working fine.evenu might have used it, if u haven't give it try. U could easily download it from the net. Atleast i started off with swing, i was able to run ur application and access the data from the database, in my program i just started off with the inintial login form which is running properly. Thanx a lot Bye Regards Prabs
From: "wahaab abdul" < [email protected] > To: [email protected] Subject: Replay Date: Mon, 03 Mar 2003 20:39:28 +0600 Hellow sir! I am very happy be as your student,and you replayed to my mail.I really happy about your helping mind.please tale me ................. your student abdulwahaab.
Date: 3 Mar 2003 11:01:20 -0000 From: "PRABHAKARA RAO" < [email protected] > To: [email protected] Subject: Problem in executing swing program Dear James, Hi! First of all , thanx a lot for providing the code for swing and JDBC connectivity on the net. Well, i am facing with the most basic problems, i've changed the code according to your specifiction, but the problem is not with the logic, i am unable to run the program and the error is applet not initialised (run time error). tell me the method of executing the program, i've j2sdk1.4.0_02. hoping a reply from u soon. Bye :-) Prabhakara
Date: Sun, 2 Mar 2003 06:38:42 -0800 (PST) From: "ta viet hung" < [email protected] > Subject: RE:Invitation to join the james_smithjava group. To: [email protected] Dear Mr James Smith! I thank you for your invitation to join your group! I very happy if i join your group.I like java and JSP very much but my java is not good because i only begin learning it and i live Ho Chi Minh city,Viet Nam.It is so far between me and you. All that can cause a lot of difficulties to us.Therefore, can i join your group?and can i learn java from us?. Do you accept with me? Please answer me soon. Regard! Goodbye sir.
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith Kelleher" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Thu, 27 Feb 2003 20:22:24 -0500 A user has submitted feedback to your submission at http://www.Planet-Source-Code.com. Your submission: Looks really good
From: "kamran rafiq" < [email protected] > To: [email protected] Subject: help me kamran Date: Mon, 24 Feb 2003 08:45:47 +0500 HI: Sir I read your code and also see your site its very help full for me in learning java.I am student of MSE in pakistan sir i send you a email and a little project please help me in this code and sendback this code me in runing form its very thank full to you: sir your early responce is matter of immense pleasure for me: kamran rafiq malik:
Date: Sat, 22 Feb 2003 16:49:22 +0000 (GMT) From: "keyzer soze" < [email protected] > Subject: searching To: [email protected] hello friend, i just saw your code on planet source code and found it very excellent in helping with something i am attempting. i hope you do not mind me emailing you without warning but i was wondering if you could answer a small question which i guarantee will take no time at all for a man of you skill!! i was wondering how i can (with your permission ofcourse) use the search facility in your code for something i am doing, basically i am designing a hotel booking system and wanted to have a search facility in there that can display the room number, customer details. the search should not be case sensitive and be able to handle incomplete or wildcard searches. i hope you would reply to this mail but if you don't thankyou for your time anyway. very best of regards
From: "sami siddiq" < [email protected] > To: [email protected] Subject: final year project Date: Sun, 16 Feb 2003 11:55:18 +0000 Hi james! visited your web site and found some useful code . Like you I am interested in security/open source although I do not have much exposure yet. I am a student at kingston university doing a computer science(networking) degree. I want to base my final year project on creating a diagnostic tool which can figure out the terminals in a network and its hardware/software (at least for a subnet). The data is later on to be inserted into a database where it can be viewed using XML/asp/php(?) by browser(refreshed every 10-15 mins) I need to know where to beging . I will really appreciate if you provide me some information/direction Sami
Date: Sat, 15 Feb 2003 13:40:28 +0530 (IST) From: "Arun Prasad" < [email protected] > To: "James Smith Kelleher" < [email protected] > Subject: req for guidance Hi James, I am arun prasad, currently doing my masters at the indian institute of science at banagalore. I am doing a auction project for my E-commerce course and would like to have someone guide me on java ( and later on in php ) could you please tell me if I could take the liberty of asking for your help and guidance. regards, arun
Date: Mon, 10 Feb 2003 02:57:51 -0800 (PST) From: "kiran kumar" < [email protected] > Subject: Hello sir, I need help To: [email protected] Hello Sir, I am Kiran Kumar, studying MCA final year, I saw your Powerful Java Swing & JDBC Code for Application Development. It was such a beautiful application, I like very much. I have project in final year, I am faceing some problem regarding 1. Fetching the data & put it into the table, and from one table again we have to store the data to another table. 2. I don't know how generation report in Java like we are doing in VB Crystal Report. 3. How can we create setup file or exe file as One application like we creating in VB packaging & deployment wizard. I developed some of the module. I need your help. I herewith attached my code database for your reference, please help me. Thanking you. regards kiran
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith Kelleher" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Fri, 7 Feb 2003 14:46:6 -0500 A user has submitted feedback to your submission at http://www.Planet-Source-Code.com. Your submission: Comment From: Email: [email protected] Comment: verry goog ,
Date: Fri, 7 Feb 2003 19:58:21 +0100 (CET) Subject: servlet, web From: "Boubakeur Keskas" < [email protected] > To: [email protected] hi, i'm a student , i tri to execute your servlet but , i can't , would you sir , help me for this think, M.keskas
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith Kelleher" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Fri, 7 Feb 2003 3:49:27 -0500 A user has submitted feedback to your submission at http://www.Planet-Source-Code.com. Your submission: Comment From: Email: [email protected] Comment: I'm impressed, it's fascinating and i love to be a good programmer as u
Date: Thu, 6 Feb 2003 10:55:51 +0800 (CST) From: "c d" < [email protected] > Subject: Re: How to design tab pages visually instead of coding? To: "james smith" < [email protected] > Thanks James, just a last query though, running over ones local computer requires the installation of the java executable files. What about if i would like to let my friends use it over the Internet, without them having to install the executables but just run it over their web browsers. Have u done it before and how or where can i obtain such resources and installation steps? Many Thanks, Daniel
Date: Wed, 5 Feb 2003 15:18:15 -0800 (PST) From: "Alena Ostapenko" < [email protected] > Subject: Re: Feedback on your submission to Planet Source Code To: "james smith" < [email protected] > Hello. James. I'm writing you form Canada; where I came to some time ago form former USSR. Now changing my professional orientation to the web. Studding at www.cct.bc.ca. Presently stumbled on where to begin to and what to post about my self to the web.. I respect professionalism and humane intelligence. You had passed an impression over the internet, I interpreted as that you are: Hard working, simple (down to earth), hidden romantic, lonely some what (not many females out there to fit you intelligent mindset), opened hearted, sad (you know where and how $$ destroy the world), strong spirited (you are doing what you think is right thing to do to make this a better place), luck of inspiration (you are not sure whether you doing it for the right reason) holds you confined to routine� I�m writing you to let you know you are not alone, and never had been. You can find a balance if you know where to look for it. I�ve learned the way. Shall I continue? One day� :-))
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith Kelleher" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Mon, 3 Feb 2003 22:18:12 -0500 A user has submitted feedback to your submission at http://www.Planet-Source-Code.com. Your submission: Comment From: Email: [email protected] Comment: Hello, I'm a very beginner to the webdeveloping world, java... Your personal site I was impressed with.
Date: Sat, 4 Jan 2003 16:15:24 +0530 (IST) Subject: IMPORTANT WORK From: "jagan mohan reddy. kancharla" < [email protected] > To: [email protected] Dear sir, I am simulating and studying different types of projects..I have found your projects are easily understandable...Please sir if you are having any simple projects send me..... THANKING YOU... Regards, K.JAGAN MOHAN REDDY(M.Tech) room nO.223 , PG Hostel, NIT CALICUT,KERALA, INDIA-673601.. PH. NO. 0495-287273 Dear sir, I have downloaded the complete project..Excellent and easily understandable..When you will develope the principal section... One thing sir at the time of inserting the records you are not implemented to insert photos ..that also implement sir... If you have any interesting java projects like this plese send me sir...
Date: Tue, 17 Dec 2002 23:16:33 +0600 To: "james smith" < [email protected] > From: "Maswood Hasan Mostafi" < [email protected] > Subject: Re: Thanks for your code found in the net Dear James I found a code on banking software in the net. I'll be very grateful if you help me. The interface of your code is very nice . Could you please help me to build user interface like your programs which does the function of the banker program which now i attached to this email. As you are very much fluent in Java and boss of Java ,Could you please help me by writing a program like this.I feel it takes only a few minutes for you as you are expert in Java. Any kind of help is welcomed. Very very thanks in advance Yours Maswood Hasan Mostafi
Date: Mon, 16 Dec 2002 08:00:18 -0800 (PST) From: "Edmund Sim" < [email protected] > Subject: query on java program To: [email protected] hi james, I have a query with regards to the java program you wrote, jamessmith.java which is used as a standalone application to access a database. May I know if it is possible to have the password field reflected as '*' instead of the actual character? I tried using JPasswordField and managed to reflect the characters as '*' but the login is denied although I key in the correct password. Can you please advice me? thanks! Regards, Edmund
From: "phalguna rao" < [email protected] > To: [email protected] Subject: Hi Date: Fri, 06 Dec 2002 14:54:48 +0530 Hi james nice to meet u, i done one bank project in java with database connection. But it is not working properly. could u help me. i will send that project on my next mail to u. ru done any projects VC# windows application projects. ok cu bye M.Phalguna Rao
From: "notshai" < [email protected] > To: "james smith" < [email protected] > Subject: Re: JAMES.zip program file corruption & feedback Date: Thu, 5 Dec 2002 12:50:04 -0500 Dear James, I am honored you replied to my inquery :) Thank you very much for the email. Yes the zip file is working great. Per your recomendation i used homesite 5 to open it but it doesnt let me open jamessmith.java, i am not sure it knows java files. When i am running it in Jbuilder7 it doesnt run, it only gives me a blank form... (see attached screen cap) does it suppose to do that? i set the odbc etc... Thank you again :) notshai
From: "Vito Campanelli" < [email protected] > To: [email protected] Subject: JDBC and Swing Application Date: Thu, 5 Dec 2002 09:59:43 -0500 Hi James, I downloading you JDBC and Swing application. Thanks by the way. Just one question, what Java IDE do you suggest for a beginner java programmer? Thanks Vito
From: "phalguna rao" < [email protected] > To: [email protected] Subject: Hi Date: Thu, 05 Dec 2002 19:54:10 +0530 Hi.. James hru. My name is Phalguna from india. I am a small programmer in a softwere company. spe in .net and C#(winforms)and java. and i am teaching on of the computer institute. Recently i donwloaded ur java(a student application) project. It's very nice,and excellent. what about ur self. I'm very happy for mail to u. ok bye c u M.Phalguna Rao
Date: Sun, 1 Dec 2002 02:34:05 -0800 (PST) From: "Leonardo Dela" < [email protected] > Subject: Re - Planet Source Code - Java Program To: [email protected] hello james , i have read your article and it gets my attention specially your screen design can you please send me the database "james.mdb" i try to download it on your site but to no avail. June dela Cruz Philippines
From: "Kunle Ogunfolabi" < [email protected] > To: [email protected] Subject: Database Connection in Forte Date: Sat, 30 Nov 2002 23:14:19 +0100 Dear James Thanks for your database application made available at planet-source-code.com. I find it really helpful. I want to ask how do I connect to a Microsoft Access database in Forte For Java 4? How do I also build an executable Jar file? I would appreciate detailed step-by-step explanations and not just a link to web sites . I look eagerly to your response. Thanks. Kunle
From: "Gilberto Olavarrieta" < [email protected] > To: [email protected] Subject: A ( part1 ) Powerful Java Swing & JDBC Code for Application Development Date: Fri, 29 Nov 2002 18:33:04 -0600 Hi James, Congratulations for your application, it's a very nice job and very helpfull for programmers who are entering to the amazing JAVA world. I have a question: Can I run this application from a browser ? What would I need to change ? Thanks a lot, Gilberto
From: "Greg Whitaker" < [email protected] > To: "james smith" < [email protected] > Subject: Re: Code Date: Wed, 27 Nov 2002 10:33:55 -0500 James, after playing with the code myself for a while, I got it to do what I wanted (upload 10 photos at once). If you would like a copy of your revised code for multiple uploads, let me know, and I will send it to you. Thank you, Greg Whitaker James, I was working with your easy photo upload code, and I wondered if there was a way to modify it so that you could upload multiple photos at once? More along the lines of what you can do in a FTP program, but still in the same simple and easy to use interface that you created. I think that would be a huge advantage working with some of the computer illiterates that I have to get up to speed. Let me know if this is possible, and any suggestions. Thank you, Greg Whitaker
From: "Sathit Na Pattalung" < [email protected] > To: [email protected] Subject: Thank you my friend. Date: Thu, 14 Nov 2002 11:08:27 +0700 Hi James. I'm programmer from Thailand who just lern Java. Thank you for your source code. Regards. Sathit N.
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith Kelleher" < [email protected] > Date: Thu, 31 Oct 2002 21:09:33 GMT Subject: Feedback on your submission to Planet Source Code A user has submitted feedback to your submission at http://www.Planet-Source-Code.com. Comment From: Email: [email protected] Comment: Great job on the part 2, keep up the good work and thanks for sharing with us at PSC.
Date: Mon, 28 Oct 2002 18:04:34 -0800 (PST) From: "ta viet hung" < [email protected] > Subject: about JDBC in java language To: [email protected] Hi,Mr James Smith! I have already got your message.Thank you very much! I tried to enter the site 'http://www.geocities.com/ james_smith73/james.zip' but no result becuse this site need user name and password while i don't know.But i guess you must know! Please give me them.If not,could you please give me the zip files which relate the jdbc source code(jamesmith.java):
From: "kannan" < [email protected] > To: [email protected] Subject: Dear james.. Date: Sat, 26 Oct 2002 10:18:45 +0530 hi i saw your code at pscode.com. its really good. can u tell me how to connect sqlserver from as400? where can i find the driver? thanks in advance.
Date: 25 Oct 2002 13:03:17 -0000 From: "abhay verma" < [email protected] > To: [email protected] Subject: thank`s hi james i am very thankfull to you. i am gatting great help from your source code(Application Development) but i am not gatting 25 oct update. how i con get it
From: "zevel" < [email protected] > To: [email protected] Subject: JDBC-planet-source-code reader question. Date: Wed, 23 Oct 2002 20:01:49 -0400 Dear James, I am a student in florida usa. I was looking at your java application :"A Powerful Java Swing & JDBC Code for Application Development" I have two questions: 1. when i enter a name and run a search, it gives me an error. when i do a genral search it gives me the entire list of names in the db. why is that? 2. is there a version with more comments? i am new to programming, and i cannt understand what evrything in your program means... I thank you for posting this program, it is teaching me alot about database/java. Sam
From: "Tanwani Anyangwe" < [email protected] > To: "James Smith Kelleher" < [email protected] > Date: Wed, 23 Oct 2002 19:33:35 GMT Subject: Hi from Tanwani Anyangwe I tried to go to your web site on geocities, but there were too many Javascript errors
From: "Alfonso Esquivel" < [email protected] > To: [email protected] Subject: Hi.... Date: Wed, 23 Oct 2002 14:02:11 -0500 Hi, how are you doing? I was looking for an application that show me some concepts of JDBC and applets. So I found your application in planet-source-code and it is just great. But when and get the zip file and unzipped I could see that this file only contains the source code file (.java) and a Readme file that contains references to other files (including an Access database). I'll really apreciate if you could send me the whole application. By the way, my name is Alfonso and I'm from Mexico City and I'm studying systems... Thanks you so much for your time...
Date: Wed, 23 Oct 2002 17:29:58 +0700 From: "Tran Hong Phong" < [email protected] > To: [email protected] Subject: Help me!! Hi , James!! I get a finals project that use with JSP and SQL server 2000 (Unicode - Vietnamese). Can you tell me how to load the unicode data from database server to browser (IE).
Date: Thu, 10 Oct 2002 11:19:31 +0100 From: "O Malley, Daragh Francis 98752821" < [email protected] > To: [email protected] Subject: Re: Suggest Thanks for your suggestions James.I'll definately have a look into those technologies and try to see if they make sence! I havn't used any of them before,our course mainly consisted of c, c++, java and v.b but hopefully given time I can learn more.I've heard that PHP is not too different to HTML which we also studied.I very much appreciate you taking the time to respond as I know you are very busy with other projects.Thanks again Daragh. James "O Malley, Daragh Francis 98752821" < [email protected] > wrote: Hi James, My name is Daragh o' Malley a 4th year computer student in Waterford, Ireland. For my final year project I'm attempting to set up an online trading system where users can buy and sell stocks and shares online.I was wondering what technologies you would recommend for such a project.Would java be the best to use and how would it be connected to the database back end.I would be most grateful if you could help me out. Thanks for your time.
Subject: Java Code Date: Tue, 8 Oct 2002 09:09:05 +0800 From: "LARA, Edgardo C." < [email protected] > To: [email protected] Hi James, Good Day! I went to planetsourcecode.com and found JDBC, it helps me a lot. Surprisingly, I found also your jamessmith.java this is a great help for me as s tudent in Java language. For your information, I have already a degree in Accountancy and working in a big telecom company here in Manila, PLDT. Am currently studying BS-Information Management and we use Java in our client-server application subject. I had a background in C++ in our Program Logic Formulation (PLF) and VB6 in GUI subject. Hope you place more code in the web, its really a big help for the beginners like me. Thanks and regards. Ed Lara
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith Kelleher" < [email protected] > Date: Mon, 07 Oct 2002 19:42:34 GMT Subject: Feedback on your submission to Planet Source Code A user has submitted feedback to your submission at http://www.Planet-Source-Code.com. Comment From: Email: [email protected] Comment: hi james, really a nice work . keep it on
From: "chai kokyung" < [email protected] > To: [email protected] Subject: Re: Enquire for JDBC application and applet Date: Tue, 01 Oct 2002 02:39:43 +0000 Hi James, well,thanks for your reply,so far i have settled first problem.Can you please send me the code faster,becoz this coming friday i have to submit the system. Thanks for your advice.
From: "chai kokyung" < [email protected] > To: [email protected] Subject: Enquire for JDBC application and applet Date: Sun, 29 Sep 2002 16:47:03 +0000 Hi, Can u help me with these problem? 1) When i first click on an interface,it can retrieve valus from DB, but when i click on second time,it won't retrieve values from DB.It ocuurs in my application too. When i retrieve values from DB and insert into Vector, and firstly when i use those info to activate other fratures,yes it works, but seond time, interface still appears,but no more values are put into the interface. 2) How can i connect applet with database? Since i don't have a static IP address, how do i set URL in properties file,it looks like this for my in house application. Driver:sun.jdbc.odbc.JdbcOdbcDriver URL: jdbc:odbc:ConnectingToSQLServer username:abcderf password:******* ConnectingToServer is an odbc which is installed in my pc. 3) When i retrieve values from DB,and want to insert into JTable.Yes,it goes well,but i want to create one more column in order for me to make selection(JCheckBox). Can you pls give me advice for this. Can you pls reply me earlier,because it is very urgent for me.Thank you very much.
From: "YASER QURESHI" < [email protected] > To: [email protected] Subject: Re:Support given Thanks Date: Tue, 25 Mar 2003 23:24:08 +0000 Hello James Thank you very much, i'm terrible sorry for the late reply, didnt have inet connection. I cant believe i didnt think of that, 'it some form of regular expression incorporated by the sql lang'. Once agian i would like to thank your for valuable assisstance best wishes yaser
From: "Aine Doody" < [email protected] > To: [email protected] Subject: Re: code query Date: Wed, 26 Mar 2003 16:18:00 +0000 Dear James, Thanks for your original swift supply, I have just compiled your java classes, I am using Oracle jdeveloper. However in the class "searchservlet.java" I have the compile time error "incompatible types; found : char, required : java.lang.String" Could you advise me on why I am getting this error, I have tried numerous different solutions but havent managed to eliminate the error. Thanks in advance �ine
From: "Robin Singh" < [email protected] > To: [email protected] Date: Wed, 26 Mar 2003 13:40:45 -0500 Subject: Re: hI..SAW UR PROJECT..NEED HELP FROM INDIA.. Hi again james, i m an urgent need ur help ..if u can tell me where can i find a project in java servlets on "Online banking" i would be very thankful.Yes i run the code its fine and gr8.I got the pic regarding the dfd.Thankx for ur previous help .. hope u can help me again.plzzz do thanking u yours sincerely robin singh
Date: Wed, 26 Mar 2003 23:45:08 -0800 (PST) From: "Ovidiu Alexiev" < [email protected] > Subject: Class error + table definitions To: "james smith" < [email protected] > Dear Sir 1. I've tryed to compile one of your java files (ShowCart), but got an error, "class name not found" and a strange "who added this?" question. Please advise how can be fixed this. 2. Also please be so kind and send the tables definitions (Products, Cart, etc). Do you think that the tables can be created via SQL statements (create table Products, Prod_Id numeric (4), Prod_Name varchar (25), etc.)? Manny thanks Ovidiu
Date: Fri, 28 Mar 2003 18:52:07 +0100 (CET) From: "aris vbravo" < [email protected] > Subject: question from panama To: [email protected] hi, your web site is excellent. I am a programed in java, i am from panama. i download your code of swing & jdbc, but the james.mdb is damage, can you send for e.mail- thank, avbravo ===== Aris V. Bravo
From: "Randy Broadwater" < [email protected] > To: [email protected] Subject: Not the Same Date: Fri, 28 Mar 2003 16:00:05 -0500 I have downloaded your application, followed the install instructions; however, I do not get the same display as your screenshot depicts. No picture at the bottom. I am using jsdk v 1.4.1_02 and the Sun ONE Studio 4 update 1 as the ide, could this be the problem. I don't see where in your code that the "name.jpg" image is to be loaded and displayed. Sorry I'm new to this and any help would be greatly appreciated. Randy Broadwater
From: "Lakshmi" < [email protected] > To: [email protected] Date: Mon, 31 Mar 2003 16:12:28 -0800 Subject: Dataentry with swing Hi, I am new to Java programming. I found your code to be excellent. I have been looking for books on swing and JDBC but never found a good one. I have a question. I am populating the data from the database into a JTable. I am aiming at proving the 'add', 'save', 'delete' functionalities. What is the best way for me to update the data back to the database? Thanks for your time. Regards Lakshmi
From: "cawete" < [email protected] > To: [email protected] Subject: developper Date: Mon, 31 Mar 2003 23:16:43 -0400 CAWETE Pascal CASENOVE [email protected] +33 690 55 55 17 Hi i'm a french developper. I have problems to speak or write english, but no to read. I can make lots of things in PHP, with SGBD like MySQL or other, in security, communication... I have also worked on payment systems. I am in Guadeloupe an island at about 2 hours of plane to virgin island. I come to Miami every 2 month and in France too. I have all equipement to work everywhere i am in the world. I can build confidential equiments, softwares, web sites everywhere. I can build specialists teams in several hours. you can email me if you are intersting for help. Regards
Date: Tue, 1 Apr 2003 13:04:08 +0800 (Singapore Standard Time) From: "tenfoon" < [email protected] > To: [email protected] Subject: problem with java 2 sdk 1.4 this is my first time looking for java i have a problem for that i install java 2 sdk 1.4.0 version for the way i want to write a program that can be reading record from mysql database and writing record into that database can you explain for me that the program running flow ? do i install the another diver for connecting to the database?
From: "Aine Doody" < [email protected] > To: [email protected] Date: Wed, 02 Apr 2003 09:59:34 +0100 Hi James Hope you dont mind me emailing you again, I have found you shopping cart really excellant and it has helped me out a huge amount.Thank you. I just have one or two more question (if you get a chance to reply it would be great but if you dont, dont worry) anyway what I wanted to ask you was why there are so many additional tables in the database, eg customers, and how were they added, eg have you another program written that lets you proceed to the checkout and its through this that they are added. Where does the employee table come in? What does the keyword table do? Also little confused as to why there has been no relationships set up in the database :o( Again if you dont get a chance to reply dont worry , thanks again �ine
From: "Gabriel Valladolid" < [email protected] > To: [email protected] Subject: Hi James this mail is 'cause can't run your java sample, please h elp me Date: Wed, 2 Apr 2003 17:08:56 -0600 Hi I just downloaded your code "Powerful Java Swing & JDBC Code for Application Development" for my self study but after compile the main class, several class files were created with "$1" name. When running, as your readme file says, a java.lang.NoClassDefFoundError appears �?. Don't know how to solve this? I'm java newbe. Please help me with this and thank you very much! Gabriel Valladolid
From: "JDuanan" < [email protected] > To: "james smith" < [email protected] > Subject: Re: A Little Help With WebSphere Date: Thu, 3 Apr 2003 14:20:59 +0800 Thanks, James! I've tried running your code on Tomcat and it works perfectly! However, the company I'm working in will be using WebSphere from now on, and I can't do anything aboutit. Personally, I also like Tomcat, but I have to learn Websphere (or so, they say!) Thanks again for the very prompt reply, and for the codes, which I am now using as a building block for my programs. Jun.
From: "Lakshmi" < [email protected] > To: [email protected] Date: Thu, 03 Apr 2003 10:58:08 -0800 Subject: Re: Dataentry with swing Hi James, I am using java to maintain records in IBM DB2. However, this is only a stand alone application. You had an example, james.zip, in your site, that gave me an idea of how to write back to the database. My question to you was, would I be able to do any bulk updates into the database from a JTable that has been populated with the records? As for the book, I will look for it too. Thanks a lot for the help. Regards Lakshmi
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith Kelleher" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Thu, 31 Jul 2003 0:1:15 -0500 Comment: Great work. I have been looking for stuff like this. I'm new in Java prog. and ur submission really help. Keep it up. Hope u can submit tutorials. Anyway, 5 globes from me. Thanks.
From: "lp" < [email protected] > To: [email protected] Subject: your database project Date: Mon, 28 Jul 2003 10:36:20 -0400 I am working on a registration program for a independant study class . This is a program my Univeristy will be using to register coporate conferences. It will have a web registration side in jsp plus the local Admin side that I am writing in Java. I came across your swing tutorial and downloaded James2.zip. It help me out tremendously . I am a Visual Basic programmer by trade and I am working towards my Bachelors in Computer Science. I have taken 1 class in Java 4 years ago so I am quite rusty. Sometimes it takes a little nudge to get me going and your program was that nudge. Since I used your program as a tutorial reference I would like to add your information in my documention. Sort of like a bibliography. I would add this information to my help section along with the Java Docs and javalamanac.com. Would I be able to do that? I would need to reference your yahoo site, your name and anything else you would like to add. gratefully Lori Porter [email protected] [email protected]
Date: Mon, 21 Jul 2003 20:37:55 -0700 (PDT) From: "TAN SOOKHIANG" < [email protected] > Subject: need your advice on jsp... To: [email protected] Dear James, I'm a beginner on jsp. I gonna setup a JSP environment in WINDOWS XP with IIS. I have downloaded TOMCAT 1.3.1 and JDK1.3.1. I have install all this thing already. But I have face a problem when creating the virtual directory and I'm not sure where to create this virtual directory. Now I'm totally confuse on everything I had done. Can you please guide me on setup JSP in Windows XP from the beginning till the end... I really need your help... hope to hear from you as soon as possible..thanks From Soo Khiang
From: "-=s.O.r.A =- =-h.E.a.R.t-=" < [email protected] > To: [email protected] Subject: part4 : Login and password, no main Date: Tue, 22 Jul 2003 10:00:58 +0800 hi james, I am ben, I recently downloaded your java application and encounter some problems of login in and running it. Sometimes the compiler can run and don't. Can you help me to check the application and then send me a copy. Please reply back as soon as possible. Thank you. Yours sincerely, Ben.
From: Lavinia Fourie To: [email protected] Sent: Sunday, July 20, 2003 6:21 PM Subject: Help Hi James, I'm teaching myself Java and I'm attempting some JDBC stuff. I'm writing a simple address book - well, I thought it would be simple but I'm stuck on some things: 1. I want to populate a JList box from a database. (I'm using MySQL.) 2. I have a JComboBox that must list some suburbs. 3. From this box, the user should be able to select a suburb, or 4. start typing in a suburb.If they start typing a suburb, I would like it to auto-complete the suburb. So for example, if the user types 'E', the first suburb starting with 'E' should appear with all the letters after 'E' being highlighted. If they then type an 'a' ('Ea') then the first suburb beginning with 'Ea' should appear and so on, until the user is finished typing the name or chooses to accept the auto-completed suburb. 5. If the suburb doesn't exist, I want a pop-up asking the user if they'd like to add the new suburb to the database. I don't know where to begin so any help you can offer will be appreciated. Regards, Lavinia
From: "Adore_Pry" < [email protected] > To: [email protected] Subject: Re: Dear Sir! I need help with JAVA Date: Sat, 19 Jul 2003 09:25:41 +0700 Can you help me with this? how to set classpath=?if you can please show me some example how to run java in win2000 advance server? I cannot use javac and java if you can please help me out. thanks dorei
From: "Edward Langat " < [email protected] > To: [email protected] Subject: code Date: Fri, 18 Jul 2003 11:10:43 +0100 hi, i found ur shopping cart code from planet-source-code.com and i'd like to ask if u could send me the code where a customer actually adds a book to the shopping cart. i would have done it myself but i don't have administrator rights on the computer that i use so i can't access control panel or download any code.Thanx
From: "savreen dhillon" < [email protected] > To: [email protected] Subject: please help... Date: Tue, 15 Jul 2003 04:20:27 +0000 Dear James! I'm Savreen from India. I have a problem while creating a HTTP redirect example in server side java and being inexperienced in java code I was hoping you might help. I would greatly appreciate it if you could help me in any way. Hope you can help me Savreen
Subject: Newbie need help Date: Fri, 11 Jul 2003 09:17:30 +0800 From: "LARA, Edgardo C." < [email protected] > To: [email protected] Hi James, I have a degree in Accountancy and in BS-Information Management but the latter is geared towards a project manager. I want to start my carrer in IT as an analyst/programmer and Java is my choice. Pls guide and advise me in my career, I don�t know where to start. I had a good background in program logic formulation using c++ and we used VB6 as a tool in our GUI class. My other email add is [email protected] Thanks and best regards. :-) Ed-Lara
From: "PRAVEEN KUMAR TG" < [email protected] > To: [email protected] Subject: Can u give a help for me?!! Date: Tue, 8 Jul 2003 11:06:22 +0530 Sir, I am new comer in java, How can I accesss clipboard data form an applet, and I also want to Ctrl + c, Ctrl + v, Ctrl + x hot key support. Please help me!!! Regards Praveenkumar T G
Date: Sun, 6 Jul 2003 08:07:15 -0700 (PDT) From: "Reynaldo Castillo" < [email protected] > Subject: Help in JTable To: [email protected] Dear James, I just saw your JDBC code posted in planetsourcecode and I must say that i'm impressed with the work that you have done. To tell you little bit something of my self, I am also a java programmer and flash animator here in the Philippines. My problem is, I programmed a database application using SQL with MS Access driver, so I use JTable to view the list from the access file. The problem is, when the Table is executed, the cell are editable and I don't want that to happen. Can you tell me how to use the IsCellEditable method? Also, can help me add some Images on the individual cells of the table. Thanks, Rey
Date: Wed, 2 Jul 2003 20:35:34 +0100 (BST) From: "maneesh satya" < [email protected] > Subject: Re: Hi, Thx for the help To: "james smith" hi james , i have a question. i am working on Win XP and i have to manually start tomcat each time i wanna use. i can't find the autoexe.bat file as in Win 98 where we can add the path and startup is done as and when computer starts. please tell me the way to do this in Win XP. Also i am planning to use the trial versions of Weblogic and webspere , coz u know companies ask for experince in these AS right. so what do u say. once again thanks in advance. Regards, Maneesh.
From: "Anir" To: "james smith" Subject: Re: Query from your Site Date: Wed, 2 Jul 2003 08:27:47 +0200 Cool James ..thanks for the ..reply ..I actaully ...got my applet to connect to the database .. works fine 100%...on my local p.c @ home ... If I had to embed this applet into a webpage "index.html" .. which will be hosted by a webserver...(operating system =win2000) ... will I setup the ODBC the same way .on the win2000 webserver or will I have to change anything ,, Thanks alot ..I really appreciate the help and any input u can give me .... when i am done u must have a look @ my system :) Anir.Bidesi
From: "jun wycheah" < [email protected] > To: [email protected] Date: Wed, 02 Jul 2003 12:01:37 +0800 Hi, Glad to know you, James. Happy to have an expert that willing to share his knowledge to beginner. However, I would like to ask does java provide the print function? I have look through the J2SE API and I did found one but unluckily I couldn't catch up what is that! :( Do you have an example like that? If you do, please mail it to me. Thanks. I just want to print a report that contain header, details or footer. Or do you know the method to export the data to HTML format(or create a HTML file). I heard it from my lecturer(but she dun no how to do it). Waiting for your reply, Thanks again. Your web student, Andy
Date: Fri, 27 Jun 2003 08:52:09 -0700 (PDT) From: "Ross Gell" < [email protected] > Subject: Hi,need help To: [email protected] Hi James, I am Ross. i am a beginner in servlets and need help. I have been to ur site but that gives instructions for tomcat 3.1 I have installed tomcat 4.1.24. and set all the paths. now i can't figure out how to run. i have read many online tutorials , changed settings in web.xml file, still get the HTTP 404 cannot find file error. hope u can help me out. thanks a lot for your time. Regards, Ross.
Date: Mon, 23 Jun 2003 18:50:46 -0700 (PDT) From: "aaron yeo" < [email protected] > Subject: Please let me know how to run the program To: [email protected] Hello, James Smith. I am Aaron. I have downloaded the part2 Java servlet code from Planet-source-code. Can you let me know how to run the program because I am using the IBM Visual Age version 4( Websphere Test Environment). Whether need to make any configuration. Thank you. pls(urgent).
From: [email protected] To: "James Smith Kelleher" < [email protected] > Subject: Hi, I need some help with PHP Date: Sat, 21 Jun 2003 23:54:33 -0500 Hi, Im looking for a good php upload that also store info on a database, i would like to limit the uploads exension, ive downloaded a few but no luck with them yet...i need some other help too...please keep im mind that im a NEWBIE Ivan
Date: Thu, 19 Jun 2003 02:29:33 +0800 (CST) From: "AU JAN YUEN" < [email protected] > Subject: Help To: [email protected] James: Hello, Me is a student of a Informatics. i have problem about java? can you help me? I have 1 java program code, but have 8 error inside they? can you solve the error for me? I send it to you together. Thank You Freedy
To: [email protected] Date: Mon, 16 Jun 2003 09:31:49 -0400 From: "freshman faiter" < [email protected] > Subject: I can't compile ur java file Hello Mr James how is ur doing??? i hope evething goes well Let me to introduce my selg to u My name is Freshman. i come from Indonesia. I copied ur source from www.javacode.net. but I can't compile ur java file. Would u help to give java compiler?? Thank u very much Best Regards Freshman
Date: Thu, 12 Jun 2003 07:17:30 -0700 (PDT) From: "Nimakoh" < [email protected] > Subject: Congrats on ya program 2 add, view, delete etc in SWING To: [email protected] Very very clever and wonderfull. Thank You very much. I only saw it 10 minutes ago. My query is that , what tables do I need create in MS-access. Thank you in advance... Beginner in Java Nimakoh..
From: "hina naqvi" < [email protected] > To: [email protected] Date: Wed, 11 Jun 2003 15:24:06 +0000 hello now i am on project .my project is develop a "time reporter "for software houses .from where i start my project. hina
Date: Mon, 9 Jun 2003 15:04:00 -0700 (PDT) From: "mohammed aboqamar" < [email protected] > Subject: Hi James To: [email protected] First of all my name is Linda and I was using my brother's e-mail account. Hi Mr.James Smith. How are you? I was really a big surprise for me to get your e-mail and I would like to thank you very much for replying me. I try what you had say to me. It stops the exceptions, but it does not show the any results. only the names of the fields were coming without any results. I make sure that I have set the User DSN. (How did I access the project without the username and password?). I make sure also that there are some records in the the database. what could be probably the problem? Thank you for everything. Regards: Linda
From: "Anir" < [email protected] > To: [email protected] Subject: Query from your Site Date: Mon, 9 Jun 2003 13:58:27 +0200 Hi James Thanks 4 the downloads ..was really helpfull ...But I really need yre help .. I am designing a java applet that will be accessing an MSACCESS database ... but it doesnt wana connect to my database String driver = "sun.jdbc.odbc.JdbcOdbcDriver"; String url ="jdbc:odbc:Jobcard" // Jobcard is the name of my database .. but I am accessing a table called Login in my Jobcard.mdb I dnt know weather my "driver" is correct..... currently the applet is running of my p.c ..but eventually the applet is going to be embedded in to a webpage and the database wll be sitting on the internet sevice providers server.. where the website will be hosted If u can give me some advice I will really be great full .. Thanks alot Anir.Bidesi [email protected]
From: "Ragu" < [email protected] > To: [email protected] Subject: Query from your Site Date: Thu, 5 Jun 2003 10:54:01 +0800 Hi James, I am developing Absent notification system to handphone using java. Please help me or guide to develop the system The system is for school where whenever student absent to school , clerk will sent notification thru sms to parents handphone. pls advice on this ... thank you By the way, do u have any complete system with documentation as i need for reference for my project in college.. Your advice & guide is much appreciated.. Thank you.. Waiting for your reply regards Ragu
From: "Rickardo gomez" < [email protected] > To: [email protected] Subject: In regards to your code Date: Tue, 03 Jun 2003 20:22:14 +0000 James! I have currently donwloaded your code, "Storing and deleting student details using swing application" from planetsource. I would like to see the UI during runtime but am unable to access due to password restriction you have put in. Could you please provide me the access in order to understand and gain my knowledge when designing an UI using swing. This would help me alot Thankyou
From: "SOSSEH JAGNE-GILLEN" < [email protected] > To: [email protected] Date: Tue, 03 Jun 2003 16:08:49 +0000 Thank you for your helpful website. I have a proble, am a beginner and am developing an application for a register. I want to display a message box when i search for a record and the record is not added. how do I go about this. Thank
From: "Ratna Prakash" < [email protected] > To: "james smith" < [email protected] > Subject: Re: need you help on JTable Date: Tue, 3 Jun 2003 15:46:31 +0300 Dear James, I have created a table where i should enter data entry in that screen... if you can help me to sort out this issue... i can send my source....size is 1mb. Please let me know..... sorry to bother you again..... thanks, prakash.
Date: Tue, 3 Jun 2003 03:35:21 -0700 (PDT) From: "ogaga ac" < [email protected] > Subject: Please I need help To: [email protected] Hi Pal, I am just a friend that is into Java programming just like you. I saw your work on JDBC on planet-source-code site. It was great.I am currently working on a project that demands for JDBC connection pool.I have created an entry window and I want a situation whereby I can access the database behind. I would type a username and a password and click on a command button. I expect a situation whereby a search is done through the database and once the user is verified He or She will now have access to the main application window.Please could you do me a favour by explaining every bit of what I need to do to achieve this. If possible let me have the codes. Thanks A friend Ogaga
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith Kelleher" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Fri, 30 May 2003 19:48:28 -0500 Comment: great !! that all i can say...
From: "Pablito Rincon Gonzalez" < [email protected] > To: [email protected] Subject: james java file question Date: Fri, 30 May 2003 13:54:40 +0000 Hello James, I've downloaded and analyzed your file, it really gives a clear understanding on how working with databases in java is. The reason why i am writing to you, as a fellow programmer ( very novice by the way ) is because i have one question and i don't really know where to get it answered, and i thought that maybe u could provide me with some advice or help. I have to do a program very similar to yours, a database connection, retrieveing and updating records. The problem is that it is for macintosh. So i have n idea how to work with the databsde part on a mac, I've read and done some research but haven't really found anything helpfull. Everything i've done before is through access, and mac does not handle access databases. So all in all, any help or advice or suggerence would be appreciated Thanks in advance. Pablo Rincon
Date: Thu, 29 May 2003 17:41:02 -0700 (PDT) From: "vishnu reddy" < [email protected] > Subject: Need some help.... To: [email protected] Hi, I have read your code on the planet source code website. Its very good and informative. I am working on a small program and I am in need of some help. I would be greatful to you if you can advice me a bit on this problem. I am new to Java programming and so I am finding it a bit difficult to know the right direction. The problem is as follows. I have to maintain a XML database in one machine and then connect to it from an other machine using a Java application. I should be able to update and retrieve the data from the remote machine. It would be great if you can suggest me as to how to proceed with this and advice me as to what kind of material should I read so that I will be in a position to accomplish this task. Thank you very much for your time and patience Regards Reddy
From: "Chavan, Samarjit" < [email protected] > To: "'[email protected]'" < [email protected] > Subject: Request Date: Wed, 28 May 2003 12:53:50 -0500 Hi Mr.Smith Your projects were very useful. I am new to Java development and we are doing a Intranet site for our Company using Jsp's . do You have any project on JSP. regards Samarjit Chavan Analyst/Programmer Technology Department The Gleaner Co. Ltd. Tel:(876) 922-3400 Ext: 6335 E-mail: samarjit.chavan @gleanerjm.com
From: "Hiep Ha" < [email protected] > To: [email protected] Subject: Java Date: Wed, 28 May 2003 09:03:41 +0000 Hi James, im a university student and i was looking at your program for the database using java. Its great the only problem is that i cant login. I used 'a' as login and the password 'a' but im stuck at that screen. Anyway thats not the main question i want to ask since your a java expert i was wondering do you know how to code a random number generator and make it scroll in a text box...like a marquee text in _javascript. I've been having lots of trouble with this assignment and i hope you could help me since im stuck. I have a few more quesitions to ask but this will do for now. thanks Hiep
From: "David Pritchard" < [email protected] > To: [email protected] Subject: Question on your School Database Program Date: Tue, 27 May 2003 04:28:00 +0000 Hi James, I found your porgram to be extremely helpful in helping me design my own database system using Access. However i cant seem to get my head around the query section of your program. It seems to work well until i set a condition then it starts to have heartattacks. For example if i want to view student name and address of every male student it will fail, with this error, java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. Do you have any ideas?? Cheers Dave
From: "Planet Source Code Feedback from" < [email protected] > To: "James Smith Kelleher" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Sat, 24 May 2003 21:4:16 -0500 Comment: Hi, thanks for putting out the code but me bieng sort of a newbi I couldn�t get it to work. Every time it said that there was something wrong with "{" on like the 20th line, thanks for everything if you could help me out here I�d be gratefull. :) Andrew 16, Brazil
Date: Tue, 20 May 2003 07:19:25 -0700 (PDT) From: "Wan Kin" < [email protected] > Subject: JDBC - SWING Add & Modify Record To: [email protected] hello there james, i have recently downloaded your add and modify java program. however im sorta confused on the "add" feature. how do i actually add a picture as well? what do i key into the "image name" field? appreciated, wan kin
Date: Thu, 15 May 2003 18:34:36 -0700 From: "wong kok seng" < [email protected] > Subject: Query from your Site To: [email protected] Hi James I would like to ask, where can I find the picture that used in the Virtual Tour , like the file call living.jpg.. I have searched many website but still can't find any picture like it .. Thank you very much for replying my mail.. Have a nice day ..:)
From: "Prateek Chakraverty" < [email protected] > To: "James" < [email protected] > Subject: important Date: Wed, 14 May 2003 18:39:41 +0530 hi! i was trying you r online shopping program named Jewels. thought it ran successfully on the windows 2000 pro platform but it refuses to run on the windows 98 platform. i have followed all the instruction that you 've given in the readme file.but still no good! can you please tell me what is the problem? i'll be grateful to you for this, take care, prateek.
From: "smitha verghese" < [email protected] > To: [email protected] Subject: Hello Date: Wed, 14 May 2003 11:03:15 +5:30 Hello James! This is Smith here I have seen ur code in http://www.1javastreet.com/ it seem to b excellent,but could u pls send me the database u used ? This is urgent! Kindly help regards Smitha
From: "rohit_jagota" < [email protected] > To: [email protected] Subject: Problem please help!!!!! Date: Sun, 11 May 2003 21:26:34 +0530 Hello I saw ur project on the net(A ( part1 ) Powerful Java Swing & JDBC Code for Application Development) it is one of the best projects i have seen so far Development my problem is that when you have to search any student record be set condition option button it does'nt diplay the desired results but instead displays the error java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'.(when the result is shown then on the screen instead of SELECT name from student_det only SELEC is displayed why does this happen and how can i correct it please send my the reply to this problem at the
From: "TSZ HONG FUNG" < [email protected] > To: [email protected] Subject: Questions on JTable - BRADFUNG from planet-source-code.com Date: Sat, 10 May 2003 02:46:21 +0000 Hi, James Smith, I'm Brad Fung from hong kong. I wanna ask you some questions on JTable. How can I add all data in the JTable to database at once? I have captured the program screen, hope you can solve my problem. Finally, do you have any example on retailing or renting applications? I'm a java beginner...so i want to learn java from example coding. I'm looking forward to you. Thanks!
Date: Fri, 9 May 2003 02:43:34 -0700 (PDT) From: "Amit Bahl" < [email protected] > Subject: hi To: [email protected] Hi I have seen your code for Java in planet source code. They were really nice and upto the mark u have relinquish the need of the needy. But I have faced a problem in executing a code i could find the database in faculty book system and . I would be highly obliged if you mail me the database. I am in great need of that.Please mail me soon I had to submit my project in 7 days Bye for now.
Date: Wed, 7 May 2003 06:47:54 -0400 To: [email protected] Subject: Reg. Unicode From: [email protected] Hi, Pl. help me. I am using PHP & Sql server 2000 as backend and OS windows 2000. I want to store Marathi/Hindi Unicode data . I have done all setting like regional setting (Indic) etc..... In my PHP I also set Meta tag to utf-8. Now My problem is as follows I am typing data in marathi but it is not stroing Unicode data in table. This I am saying because when I open sql table I am not able to see same marathi data. If I use Asp & set codepage I am able to see same data. Regards Vinod
Date: Tue, 6 May 2003 06:42:17 -0700 (PDT) From: "super trooper" < [email protected] > Subject: Doubt in project To: "james smith" Hi thanks for replying. I just wanna change the user name password when the login screen appears how can i do that
From: "Planet Source Code Feedback from garynewelluk" < [email protected] > To: "James Smith Kelleher" < [email protected] > Subject: Feedback on your submission to Planet Source Code Date: Tue, 6 May 2003 7:40:36 -0500 Comment: Thanks for all your effort. I thought I'd best write something because no-one else has. I'm new to PHP but familiar with a lot of programming languages and I needed something like this to set me off on my way.
From: "jean rintoul" < [email protected] > To: [email protected] Subject: Installing Tomat 3.2.4 problem Date: Thu, 01 May 2003 01:32:38 +0000 Hi James, Im trying to install Tomcat 3.2.4 on my windows XP machine and have it running after following your instructions but on step 5 of your website where it suggests Ill come up with a compiling error I do. I have tried making a batch file which contains the recommended classpath but still cant compile without getting lots of package not found errors on something simple like HelloWorldExample.java. Do you have any idea how to fix this problem. Your help would be much appreciated. Thankyou Jean Rintoul
From: "michaelgood" < [email protected] > To: [email protected] Subject: your help... Date: Wed, 30 Apr 2003 22:08:51 +0800 hi james I am not good at php, I have downloaded this authenticate.php and really like it but don't know how to use it for my website... would you be so kind as instruct me a little many thanks michael
From: "Dinesh Sharma" < [email protected] > To: [email protected] Subject: Need Help Date: Thu, 20 Jan 2000 23:02:52 +0800 Hi James, Looks like you could be the person to help me. That is if u wish too. i am learning on how to build an e-commerce website, but i am lost at it caue i am new in this field. so i wanna learn how o use either _VBscript/_JavaScript/ASP which all i have never used. I have very minimal knowledge on Visual Basic and Java. when i say very minimal i do mean very minimal. i really wanna build a dynamic website which is able to do online transaction, adding customers to my databse, deleting them, adding my future products. So i wish you could help me in my conquest. Thank You Dinesh Sharma Malaysia