Question about Operating Systems

1 Answer

I just want 2 update the database of mysql through JSP

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Expert
  • 52 Answers

Google is your friend!

There are many examples over the internet, for example this site

http://www.java2s.com/Tutorial/Java/0340__Database/Catalog0340__Database.htm

Posted on Dec 22, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES)


Open up the PHP Config File Config.php (File name can vary) where the MySQL DB connection details are entered.
Change the machine source name, user name and password as per the current system config.
If still not fixing, go to the PHP line causing the issue and echo the connection details, and see if correct values are there.

Mar 04, 2013 | Operating Systems

1 Answer

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in...


I know this is a Homework problem. You aren't going to learn anything if we do it for you. I will give you this hint: There is a C++ library that has to be loaded in the header section in order to access the MySql Functions. It can be done using the core C++ header file for Databases but it is much harder to do. Once you add the proper header it should take you about an Hour to complete the program. Good Luck

Jul 28, 2011 | Operating Systems

3 Answers

Looking for a serial number for Regzooka. I have the program no serial though


Serial Key Generator is specially designed to help you protect your applications by serial key registration. It allows you to quickly generate serial keys and prepare them for online or offline validation by your applications. You can generate and export serial keys into files (plain text or encrypted registration files) or to use MySQL Query generator to export serial keys onto MySQL database for online software registration.go tohttp://freedownloadmanager.org/downloads/serial-key-gen-for-regzooka-1757463.html

Apr 29, 2011 | Operating Systems

1 Answer

How to develop online inventory system for a iron sail shop and which programming language is good for inventory and which database ? and php, mysql can help?


Thank you for using FixYa
Hello I see that you may be leaning toward open source, and that is a good idea for your inventory. Of course MySql will work. You could use MS Office Access, or Oasis is another good one. My previous experience has been that people hear all these big names about databases and might not even need one that expensive. Are you determined to write this one yourself or do you have a programmer in the family or are you going to pay for one? It depends on how extensive your inventory is, if you are looking at less than 500 to 1000 items then these programs may really be overkill. It is surprising how many small businesses are actually running on Quickbooks. You can take a program like that and others similiar and use just the inventory module. Some people might even be able to get by with Microsoft Works or other smaller programs. Most database programs have templates that may not be exactly like your business, but allow modification to the templates to make it more like your own. I hope this was useful and please comment if this was helpful to you.

Apr 26, 2011 | Operating Systems

1 Answer

How can i connect my html page with the microsoft access 2007


Access 2007 is designed to be a desktop database and isn't designed to serve data to a web page. If you want the data to be available to a web page you will need to download a database server like Microsoft's SQL express edition, or MySQL that's designed to interact with external clients and not just local users.

Feb 28, 2011 | Operating Systems

1 Answer

Im getting a MySQL error saying : "Exception EMyxError in module MySQLQueryBrowser.exe at 00111E52. Error while loading stored connections. Error Number 3."


I think your MySQL Server databases got corrupt.
Try to remove or rename your existing connection file, creates a new one if it does not find any existing, allowing so to recover from broken files from the utilies below-

MySql Fix Toolbox provides easy ways of MySQL fix

Worried for Losing Data due to MySQL Corruption

Dec 27, 2010 | Operating Systems

2 Answers

How to connect from jsp login page to database


hey try this code......just found it on the net... Put the code in tomcat and test the application through browser. The browser should display the display the data stored in the table.

Here is the code of our JSP file
<%@ page language="java" import="java.sql.*"%>
<html>
<head><title>Read from mySQL Database</title>
</head>
<body>

<p align="center"><b>Following records are selected from the 'jakartaproject' table.</b><br>&nbsp;</p>

<div align="center" width="85%">
<center>
<table border="1" borderColor="#ffe9bf" cellPadding="0" cellSpacing="0" width="658" height="63">
<tbody>
<td bgColor="#008080" width="47" align="center" height="19"><font color="#ffffff"><b>Sr.
No.</b></font></td>
<td bgColor="#008080" width="107" height="19"><font color="#ffffff"><b>Project</b></font></td>
<td bgColor="#008080" width="224" height="19"><font color="#ffffff"><b>Url
Address</b></font></td>
<td bgColor="#008080" width="270" height="19"><font color="#ffffff"><b>Description
of the project</b></font></td>

<%
String DRIVER = "org.gjt.mm.mysql.Driver";
Class.forName(DRIVER).newInstance();


Connection con=null;
ResultSet rst=null;
Statement stmt=null;

try{
String url="jdbc:mysql://192.168.10.2/tutorial?user=tutorial&password=tutorial";

int i=1;
con=DriverManager.getConnection(url);
stmt=con.createStatement();
rst=stmt.executeQuery("select * from jakartaproject ");
while(rst.next()){

if (i==(i/2)*2){
%>
<tr>
<td bgColor="#ffff98" vAlign="top" width="47" align="center" height="19"><%=i%>.</td>
<td bgColor="#ffff98" vAlign="top" width="107" height="19"><%=rst.getString(2)%></td>
<td bgColor="#ffff98" vAlign="top" width="224" height="19"><a href="<%=rst.getString(3)%>"><%=rst.getString(3)%></a>&nbsp;</td>
<td bgColor="#ffff98" vAlign="top" width="270" height="19"><%=rst.getString(4)%></td>
</tr>
<%
}else{
%>
<tr>
<td bgColor="#ffcc68" vAlign="top" width="47" align="center" height="19"><%=i%>.</td>
<td bgColor="#ffcc68" vAlign="top" width="107" height="19"><%=rst.getString(2)%></td>
<td bgColor="#ffcc68" vAlign="top" width="224" height="19"><a href="<%=rst.getString(3)%>"><%=rst.getString(3)%></a>&nbsp;</td>
<td bgColor="#ffcc68" vAlign="top" width="270" height="19"><%=rst.getString(4)%></td>
</tr>
<% }

i++;
}
rst.close();
stmt.close();
con.close();
}catch(Exception e){
System.out.println(e.getMessage());
}
%>

</tbody>
</table>
</center>
</div>


</body>
</html>

Feb 27, 2009 | Compaq Operating Systems

1 Answer

How can code in c lnaguage to run any .exe file


make a Batch file instead, a lot easier.

use RDP to control the other computer from your station.

Dec 16, 2008 | Operating Systems

1 Answer

OS X 10.4 PHP MySQL problem


To change the location where MySQL creates its socket file, do this:
1. Open your preferred text editor and create a plain text file.
2. Type this text (on two lines as shown):
[mysqld]
socket=/tmp/mysql.sock

3. Save the file as: /etc/my.cnf


To change the location where PHP looks for the socket file, follow these steps:
1. In Terminal: sudo cp /etc/php.ini.default /etc/php.ini
2. Open /etc/php.ini in your preferred text editor.
3. Find the [MySQL] section, and change the mysql.default_socket directive:
4. ; Default socket name for local MySQL connects. If empty, uses
5. the built-in
6. ; MySQL defaults.
7. mysql.default_socket = /var/mysql/mysql.sock
8. Change the permissions on /var/mysql so that www can read the socket, by executing this in Terminal:
sudo chmod 775 /var/mysql

Aug 24, 2008 | Apple Mac OS X 10.4

2 Answers

Convert dbf file to MySql file


php is not a database file, it is a script file used to build active web pages. I use Perl to automatically convert dbf files to SQL Server, which would be the same syntax.

Jul 19, 2008 | Operating Systems

Not finding what you are looking for?
Operating Systems Logo

Related Topics:

42 people viewed this question

Ask a Question

Usually answered in minutes!

Top Operating Systems Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18299 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Prashant  Sharma
Prashant Sharma

Level 3 Expert

1127 Answers

Are you an Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...