Question: Struts-jdbc

Ads

 
 
 

Share on Google+Share on Google+

shwetappatil
Struts-jdbc
1 Answer(s)      6 years and 4 months ago
Posted in : Struts
<!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

Ads
View Answers

January 21, 2011 at 3:39 PM


Hello Friend,

Please visit the following link:

Struts JDBC

Thanks


Ads









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
Tutorials   
Java Spring Hibernate Struts Training Dynamic tabs in struts 1.2 Unable to upload a file to mysql database using struts1 Pagination in struts 2 struts2 filterdispatcher is deprecated please use the new filters viewing How to add struts2 dependency in Maven? Struts Exception Handling can you check below code if any erors multimedia how to display the value of termcell name in label class not found exception Where to learn Struts 2? dropdown cacheing Upload and Download Large files in jsp What is Struts 2 framework struts and hibernate based health care project source code struts and hibernate based health care project source code Struts 2 Integration with Struts 1 About captcha of strut2 About captcha of strut2 Which is the good website for struts 2 tutorials? advance java source code source code In Struts 2 how to pass the Struts struts internationalization for Korean language struts2 Struts2 and Hibernate Fetch Data Base Value Struts2 and Hibernate Fetch Data Base Value Struts2 and Hibernate i want to create an application with only a button which on click displays table from database using struts2 and hibernate on eclipse Struts2 and Hibernate Struts2 and Hibernate Struts2 validation Procedure Struts2 validation Procedure Struts2 validation Procedure Struts2 validation Procedure Struts 2 action-validation.xml not loading Struts-2 and Ajax integration STRUTS QUESTION conerting web project into .exe file About Select tag ScartApplication aplicacion ecommerce struts 1.3 struts 1.3 sms prob Need to know struts1 all jar file names struts with hibernate

Ads

 
Advertisement null

Ads