| | |
problem
Thread Solved |
•
•
Join Date: Oct 2007
Posts: 8
Reputation:
Solved Threads: 0
we have this assignment to make a webpage where the user can add/insert/delete /save data to a database. the program is already finished and i had it up and running perfectly. like, all the functions work. but when i transfered it to another computer, it would not display any data from the database. is it incompatibility with MySQL or with java? im using jsp to develop the site but im not really sure where the problem lies... so can anyone please help? thanks!
Surely you must have kept some sort of exception handling / logging in your code to help you pinpoint the error/fault? Also, since the code was previously working, it has surely got something to do with your configuration.
Which type of database driver are you using? Type 1 which uses DSN or Type 4 type pure driver? If Type 1 then you need to create a DSN again on the new machine. Also, checking the error logs of your Application Server / Servlet Container might further clarify the issue.
Which type of database driver are you using? Type 1 which uses DSN or Type 4 type pure driver? If Type 1 then you need to create a DSN again on the new machine. Also, checking the error logs of your Application Server / Servlet Container might further clarify the issue.
I don't accept change; I don't deserve to live.
Sacrifice is a painful, pure and beautiful thing.
Dammit, Jones, What the Hell Are Knoll Pointers?!
Sacrifice is a painful, pure and beautiful thing.
Dammit, Jones, What the Hell Are Knoll Pointers?!
If you just trying show-casing on different pc make sure that it has installed Java, Tomcat server, MySQL server and that you transferred your little database to the MySQL server
PS: Lol beaten by ~s.o.s~ for speed of posting
PS: Lol beaten by ~s.o.s~ for speed of posting
Last edited by peter_budo; Aug 22nd, 2008 at 4:12 am. Reason: Adding PS
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Oct 2007
Posts: 8
Reputation:
Solved Threads: 0
to peter_budo: yes, all those apps are installed in all the pc's im using. and i made new databases instead of exporting/importing them. and yes. im sure the databases are correct since i can manipulate data in them. i double check using mysql query browser and the mysql cmd line client.
to ~s.o.s~: i really dont know which type of driver. our teacher just gave us a mysql-connector-java.jar file. they said this is the driver. so im using that one. in all the programs and pc's again. im sorry, im still new at JSP and im not really good at it. but im trying. ^^
to ~s.o.s~: i really dont know which type of driver. our teacher just gave us a mysql-connector-java.jar file. they said this is the driver. so im using that one. in all the programs and pc's again. im sorry, im still new at JSP and im not really good at it. but im trying. ^^
Without any exception messages / stack traces or logs it would be difficult for us to help you out.
I don't accept change; I don't deserve to live.
Sacrifice is a painful, pure and beautiful thing.
Dammit, Jones, What the Hell Are Knoll Pointers?!
Sacrifice is a painful, pure and beautiful thing.
Dammit, Jones, What the Hell Are Knoll Pointers?!
![]() |
Similar Threads
- Problem with Windows Update and WinXP (Web Browsers)
- Installing Windows 98 On VMware. Floppy problem (Windows 95 / 98 / Me)
- Windows XP keeps restarting since a new video card (Windows NT / 2000 / XP)
- Redhat Linux 6.2 - ipop3d problem? (*nix Software)
- Problem with T720 (Cellphones, PDAs and Handheld Devices)
- Connection Problems (Networking Hardware Configuration)
- Encoding (Unicode) problem in IE 6.0 (Web Browsers)
- .htaccess mod_rewrite problem (Linux Servers and Apache)
- Javascript/HTML problem!!! (JavaScript / DHTML / AJAX)
Other Threads in the JSP Forum
- Previous Thread: JSP database connectivity according to Model View Controller (MVC) Model 2
- Next Thread: Mysql connect with jsp
Views: 768 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for JSP
action apache array books boonex call combobox comma connection controller csv database debugging devlopment dropdownlist dynamicpagetitles examples excel exception foreach form forward frames function generating glassfish ie8 image2database imagestoring imagetodatabase installer integer internet jasper java javaee javascript jsp jsppagetitles mime-rfc multiple mysql netbeans network non-standard-mime objects online open parameters passing ping project quickguide read redirect request.getparameter resorces response resultset seperated service servlet servletdopost()readxml session sessions social source sql ssl standard-mime system textbox tomcat unique update values video view voting web whileloop write






