Struts-jdbc

Struts-jdbc

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
&lt;%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
&lt;%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<html:html locale="true">

<HEAD>
&lt;%@ page
language="java"
contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"
%>
&lt;META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
&lt;META name="GENERATOR" content="IBM WebSphere Studio">
&lt;META http-equiv="Content-Style-Type" content="text/css">
&lt;LINK href="theme/Master.css" rel="stylesheet"
    type="text/css">

<TITLE>Pizza Order Page</TITLE>
</HEAD>

<BODY>
   Pizza Order Page 

 &lt;html:form action="/submit.do"&gt;

    Name: &lt;html:text property="customer.name"/&gt;&lt;br&gt;
    Address: &lt;html:text property="customer.address"/&gt;&lt;br&gt;

            Size: &lt;html:radio property ="size" value="S"/&gt;Small
    &lt;html:radio property ="size" value="M"/&gt;Medium
    &lt;html:radio property ="size" value="L"/&gt;Large

    Toppings: &lt;br&gt;
    Pepperoni&lt;html:checkbox property="topping(Pepperoni)"/&gt;&lt;br&gt;
    Onion&lt;html:checkbox property="topping(Onion)"/&gt;&lt;br&gt;
    Mushroom&lt;html:checkbox property="topping(Mushroom)"/&gt;&lt;br&gt;
    Hot Pepper&lt;html:checkbox property="topping(Hot Pepper)"/&gt;&lt;br&gt;
    Bacon&lt;html:checkbox property="topping(Bacon)"/&gt;&lt;br&gt;

    &lt;html:select property ="type"&gt;
    &lt;html:option value="a"&gt;Delivery&lt;/html:option&gt;
    &lt;html:option value="b"&gt;Pickup&lt;/html:option&gt;
    &lt;/html:select&gt;

            &lt;html:submit/&gt;
            &lt;html:reset/&gt;
    &lt;/html:form&gt;

</BODY>
</html:html>

i want to know how to insert the data into database and retriew the data from database using struts

please let me know as soon as possible.its very urgent

View Answers

January 21, 2011 at 3:39 PM

Hello Friend,

Please visit the following link:

Struts JDBC

Thanks









Related Tutorials/Questions & Answers:
Struts-jdbc
the following link: Struts JDBC Thanks...Struts-jdbc  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> &lt;%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html
Struts - JDBC
struts-taglib.jar  I am not able to locate the struts-taglib.jar in downloaded struts file. Why? Do i need to download it again
Advertisements
source code
source code  sir...i need an online shopping web application on struts and jdbc....could u pls send me the source code
source code
source code  sir...i need an online shopping web application on struts and jdbc....could u pls send me the source code

Ads