db

db

<%@ page import="java.sql.*" %>
<%@ page import="java.io.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<h2><center>TELECOM STORE INVENTORY</center></h2>

<title>Add Product</title>
<table>
    <tr>

    <td width="800"><p align ="center"></p></td>

    </tr>
</table>


<table align="center" border="3" cellpadding="7" cellspacing="2"  >

    <tr>
    <td width="220" align="center" bgcolor="#B0C4DE"><font size="5"  ><a href="main1.html">  Home  </a></font></td>
    <td width="220" align="center" bgcolor="#B0C4DE"><font size="5" color=""><a href="main2.html">  Product  </a></font></td>
    <td width="220" align="center" bgcolor="#B0C4DE"><font size="5" color=""><a href="main3.html" >  Stock  </a></font></td>
    <td width="220" align="center" bgcolor="#B0C4DE"><font size="5" color=""><a href="main4.html">  Sales Promotion  </a></font></td>

    </tr>
</table>
<h2><center></>UPDATE PRODUCT MODEL</center></h2>
</head>
<body>
<form name="update" method="post" action="Login">
<%
        String connectionURL = "jdbc:oracle:thin:@localhost:1521:XE"; 
        Connection connection = null;
        Statement statement = null;
        ResultSet rs = null;
        Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
        connection = DriverManager.getConnection(connectionURL, "system", "ora10g");
        statement = connection.createStatement();
        String QueryString = "SELECT * from producttest";
        rs = statement.executeQuery(QueryString);%>
 <table  align="center" cellpadding="10" cellspacing="10" >

<tr>
    <td>Product Model Name</td>
    <td><select name="productName">
     <%
     if (  (request.getAttribute("a") == null ))
     {
        while (rs.next())
        {
        %><option><%=rs.getString(1)%></option><%
        }}
        else
        {%>


    <option><%=request.getAttribute("a")%></option>
  <%} %>
    </select></td>
    <td><input type="submit" value="Search" name="searchproduct"></input></td>
  </tr>
  <%
        if (  (request.getAttribute("a") != null )||(request.getAttribute("b") != null ) || (request.getAttribute("c") != null ) || (request.getAttribute("d") != null)  || (request.getAttribute("e") != null ) )
        {
        %>


  <tr>
    <td>features</td>
    <th><input type="text" name="features" value=<%=request.getAttribute("b")%>></th>
  </tr>
  <tr>
    <td>Description </td>
    <th><input type="text" name="Description" value=<%=request.getAttribute("c")%>></th>
  </tr>

  <%} 
        else
        {%>

          <tr>
            <td>features</td>
            <th><input type="text" name="features"></th>
          </tr>
          <tr>
            <td>Description</td>
            <th><input type="text" name="Description"></th>
          </tr>

        <% }%>
</table>
 <center><input type="submit" value="UPDATE" name="updateproduct"></center>
</body>
View Answers









Related Tutorials/Questions & Answers:
DB connectivity - EJB
DB connectivity  DB connectivity
DB Insert
DB Insert  How to insert XML data into a database column? Column data type is CLOB
Advertisements
db connectivity
db connectivity  hi i am beginner in objective c lang and having knowlwgde of basic syntax of this lang and need statements that can be used to connect to sqlite. please do send me the simple example code. i am using GNUstep
db
db
ModuleNotFoundError: No module named 'db'
ModuleNotFoundError: No module named 'db'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db' How to remove the ModuleNotFoundError: No module named 'db' error
j2me with derby db - MobileApplications
j2me with derby db  Hello, Presently Iam working on the j2me(wireless toolkit2.0).I have done so many applns in j2me,but I want to install derby db in j2me.I am new to derbydb. Can u tell me briefly abt derby db,which version
how to migrate java db to mysql
how to migrate java db to mysql  I have an aplication,for migrating java db to mysql db.how it will done
about db - Struts
About DB in Struts  I have one problem about database. i am using netbeans serveri glassfish. so which is the data source struts config file should be? Please help me
Zend Db error - WebSevices
Zend Db error  Hello friends, How i get the values from the database using zend framework Any one know the code. Help me
mapr db truncate table
mapr db truncate table  Hi, I want to truncate mapr db table. I have a JSON table with many records and application is in testing stage. How... on deleting and re-creating MapR-DB JSON table. Unfortunately it does
getting db in action class
getting db in action class  hi, Am usin struts in ma application... n i need to interact with the db .. so i used.. getDataSource(request) but it gives me an error.. java.lang.NoSuchMethodError: LoginAction.getDataSource(Ljavax
Version of com.pavelvlasov>pvcommons-db dependency
List of Version of com.pavelvlasov>pvcommons-db dependency
Version of ojb>db-ojb dependency
List of Version of ojb>db-ojb dependency
Version of be.bagofwords>count-db dependency
List of Version of be.bagofwords>count-db dependency
Version of cn.featherfly>featherfly-db dependency
List of Version of cn.featherfly>featherfly-db dependency
Version of com.celum>db-parent dependency
List of Version of com.celum>db-parent dependency
Version of com.espertech>esperio-db dependency
List of Version of com.espertech>esperio-db dependency
Version of com.fireflysource>firefly-db dependency
List of Version of com.fireflysource>firefly-db dependency
Version of com.jalalkiswani>jk-db dependency
List of Version of com.jalalkiswani>jk-db dependency
Version of com.pavelvlasov>jsel-db dependency
List of Version of com.pavelvlasov>jsel-db dependency
DB Schema Viewer
DB Schema Viewer       DB Schema Viewer is an Eclipse plugin that builds a graphical view of an existing database. Reverse Engineering is performed through JDBC
ModuleNotFoundError: No module named 'atom-db'
ModuleNotFoundError: No module named 'atom-db'  Hi, My Python...-db' How to remove the ModuleNotFoundError: No module named 'atom-db... to install padas library. You can install atom-db python with following command
ModuleNotFoundError: No module named 'binance-db'
ModuleNotFoundError: No module named 'binance-db'  Hi, My Python... 'binance-db' How to remove the ModuleNotFoundError: No module named 'binance-db' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'cnx-db'
ModuleNotFoundError: No module named 'cnx-db'  Hi, My Python...-db' How to remove the ModuleNotFoundError: No module named 'cnx-db'... to install padas library. You can install cnx-db python with following command
ModuleNotFoundError: No module named 'cnx-db'
ModuleNotFoundError: No module named 'cnx-db'  Hi, My Python...-db' How to remove the ModuleNotFoundError: No module named 'cnx-db'... to install padas library. You can install cnx-db python with following command
ModuleNotFoundError: No module named 'cnx-db'
ModuleNotFoundError: No module named 'cnx-db'  Hi, My Python...-db' How to remove the ModuleNotFoundError: No module named 'cnx-db'... to install padas library. You can install cnx-db python with following command
ModuleNotFoundError: No module named 'connect-db'
ModuleNotFoundError: No module named 'connect-db'  Hi, My Python... 'connect-db' How to remove the ModuleNotFoundError: No module named 'connect-db' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'courts-db'
ModuleNotFoundError: No module named 'courts-db'  Hi, My Python... 'courts-db' How to remove the ModuleNotFoundError: No module named 'courts-db' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'cuckoo-db'
ModuleNotFoundError: No module named 'cuckoo-db'  Hi, My Python... 'cuckoo-db' How to remove the ModuleNotFoundError: No module named 'cuckoo-db' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'db_class'
ModuleNotFoundError: No module named 'db_class'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db_class' How to remove the ModuleNotFoundError: No module named 'db_class
ModuleNotFoundError: No module named 'db-commuter'
ModuleNotFoundError: No module named 'db-commuter'  Hi, My Python... 'db-commuter' How to remove the ModuleNotFoundError: No module named 'db... you have to install padas library. You can install db-commuter python
ModuleNotFoundError: No module named 'db_dumper'
ModuleNotFoundError: No module named 'db_dumper'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db_dumper' How to remove the ModuleNotFoundError: No module named 'db
ModuleNotFoundError: No module named 'db_export'
ModuleNotFoundError: No module named 'db_export'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db_export' How to remove the ModuleNotFoundError: No module named 'db
ModuleNotFoundError: No module named 'db-logger'
ModuleNotFoundError: No module named 'db-logger'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db-logger' How to remove the ModuleNotFoundError: No module named 'db
ModuleNotFoundError: No module named 'db-logger'
ModuleNotFoundError: No module named 'db-logger'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db-logger' How to remove the ModuleNotFoundError: No module named 'db
ModuleNotFoundError: No module named 'db-playmate'
ModuleNotFoundError: No module named 'db-playmate'  Hi, My Python... 'db-playmate' How to remove the ModuleNotFoundError: No module named 'db... you have to install padas library. You can install db-playmate python
ModuleNotFoundError: No module named 'db-prob'
ModuleNotFoundError: No module named 'db-prob'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db-prob' How to remove the ModuleNotFoundError: No module named 'db-prob
ModuleNotFoundError: No module named 'db-prob'
ModuleNotFoundError: No module named 'db-prob'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db-prob' How to remove the ModuleNotFoundError: No module named 'db-prob
ModuleNotFoundError: No module named 'db_refresh'
ModuleNotFoundError: No module named 'db_refresh'  Hi, My Python... 'db_refresh' How to remove the ModuleNotFoundError: No module named 'db... have to install padas library. You can install db_refresh python
ModuleNotFoundError: No module named 'db-report'
ModuleNotFoundError: No module named 'db-report'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db-report' How to remove the ModuleNotFoundError: No module named 'db
ModuleNotFoundError: No module named 'db-sheet'
ModuleNotFoundError: No module named 'db-sheet'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db-sheet' How to remove the ModuleNotFoundError: No module named 'db-sheet
ModuleNotFoundError: No module named 'db-sheet'
ModuleNotFoundError: No module named 'db-sheet'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db-sheet' How to remove the ModuleNotFoundError: No module named 'db-sheet
ModuleNotFoundError: No module named 'db-sync'
ModuleNotFoundError: No module named 'db-sync'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db-sync' How to remove the ModuleNotFoundError: No module named 'db-sync
ModuleNotFoundError: No module named 'db_util'
ModuleNotFoundError: No module named 'db_util'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db_util' How to remove the ModuleNotFoundError: No module named 'db_util
ModuleNotFoundError: No module named 'db-utils'
ModuleNotFoundError: No module named 'db-utils'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db-utils' How to remove the ModuleNotFoundError: No module named 'db-utils
ModuleNotFoundError: No module named 'dima-db'
ModuleNotFoundError: No module named 'dima-db'  Hi, My Python...-db' How to remove the ModuleNotFoundError: No module named 'dima-db... to install padas library. You can install dima-db python with following command
ModuleNotFoundError: No module named 'dlogg-db'
ModuleNotFoundError: No module named 'dlogg-db'  Hi, My Python... 'dlogg-db' How to remove the ModuleNotFoundError: No module named 'dlogg-db... to install padas library. You can install dlogg-db python with following
ModuleNotFoundError: No module named 'dlogg-db'
ModuleNotFoundError: No module named 'dlogg-db'  Hi, My Python... 'dlogg-db' How to remove the ModuleNotFoundError: No module named 'dlogg-db... to install padas library. You can install dlogg-db python with following
ModuleNotFoundError: No module named 'dox-db'
ModuleNotFoundError: No module named 'dox-db'  Hi, My Python...-db' How to remove the ModuleNotFoundError: No module named 'dox-db'... to install padas library. You can install dox-db python with following command

Ads