property datasource required

property datasource required

Hi I am using java springs I am using mysql as backend I am getting one error when i compile the application.property datasource required.

This is my dispatcher-servlet.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/"/>
<property name="suffix" value=".jsp"/>
</bean>


<bean name="/Department.htm" class="controller.salescontroller"/>
<bean id="DeptDaoImp" class="manager.DeptDaoImp"/>



<bean id="ds" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
<property name="url" value="jdbc:mysql://localhost:3306/pra"/>
<property name="username" value="root"/>
<property name="password" value="sa"/>
</bean>
<bean id="JdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource"><ref bean="ds" /></property>
</bean>
</beans>

View Answers

February 22, 2010 at 3:27 PM

Hi Friend,

Please visit the following link:

http://www.roseindia.net/spring/jdbc-template-batch-update.shtml

Hope that it will be helpful for you.
Thanks









Related Tutorials/Questions & Answers:
property datasource required - Spring
property datasource required  Hi I am using java springs I am using mysql as backend I am getting one error when i compile the application.property datasource required. This is my dispatcher-servlet.xml
DataSource in hibernate.
;property name="dataSource" ref="dataSource" /> <property name...DataSource in hibernate.  What is DataSource in hibernate?  ...; <property name="prefix"> <value>/WEB-INF/views/<
Advertisements
Version of excalibur-datasource>excalibur-datasource dependency
List of Version of excalibur-datasource>excalibur-datasource dependency
Managing Datasource in struts Application
Managing Datasource in struts Application  Hi i need to know how... datasource in struts-config.xml as data-sources> <data-source type...-property property="URL" value="jdbc:oracle:thin:@192.168.11.106:1521:server
Version of excalibur-datasource>excalibur-datasource-cluster dependency
List of Version of excalibur-datasource>excalibur-datasource-cluster dependency
Version of excalibur-datasource>excalibur-datasource-ids dependency
List of Version of excalibur-datasource>excalibur-datasource-ids dependency
datasource in jsp using struts
datasource in jsp using struts  how to get the datasource object in jsp.datasource is configured in struts-config.xml
@property nsinteger
@property nsinteger  Hi, How to declare @property nsinteger? Thanks... myvariable; } @property (nonatomic) NSInteger myvariable; @end Thanks   ...; } @property (nonatomic) NSInteger myvariable; @end Thanks
ModuleNotFoundError: No module named 'datasource'
ModuleNotFoundError: No module named 'datasource'  Hi, My Python... 'datasource' How to remove the ModuleNotFoundError: No module named 'datasource' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'datasource'
ModuleNotFoundError: No module named 'datasource'  Hi, My Python... 'datasource' How to remove the ModuleNotFoundError: No module named 'datasource' error? Thanks   Hi, In your python environment you
code required.!
Java Script phone number entered by person should be in numeric only. code required!  i am using javascript coding on jsp page. i want that the phone number entered by person should be in numeric only..can i get code
Property File
Property File  how to store key & values pair in property file? Note: In property file keys should be displayed in ascending order. please reply the answer as soon as possible. Thanking You   import java.io.
hibernate.archive.autodetection property
hibernate.archive.autodetection property in my Hibernate based project? It will be great... use the hibernate.archive.autodetection property and set it to true. The hibernate.archive.autodetection property is used to scan for annotated classes
Datasource - JSP-Servlet
Datasource   in web.xml datasource com.zetcode.DataSourceExample /DataSource datasource in index.jsp when i deploy the application i am getting
Artifacts of excalibur-datasource
List of Artifacts of excalibur-datasource maven depenency
Maven Repository/Dependency: excalibur-datasource | excalibur-datasource
Maven Repository/Dependency of Group ID excalibur-datasource and Artifact ID excalibur-datasource. Latest version of excalibur-datasource:excalibur-datasource dependencies. # Version Release Date
Maven Dependency excalibur-datasource >> 1.0
You should include the dependency code given in this page to add Maven Dependency of excalibur-datasource >> excalibur-datasource version1.0 in your project
Maven Dependency excalibur-datasource >> 1.2.0
You should include the dependency code given in this page to add Maven Dependency of excalibur-datasource >> excalibur-datasource version1.2.0 in your project
Maven Dependency excalibur-datasource >> 2.1
You should include the dependency code given in this page to add Maven Dependency of excalibur-datasource >> excalibur-datasource version2.1 in your project
Maven Dependency excalibur-datasource >> 1.1.1
You should include the dependency code given in this page to add Maven Dependency of excalibur-datasource >> excalibur-datasource version1.1.1 in your project
PHP Property Management - PHP
PHP Property Management  PHP Property Management.. any idea
ModuleNotFoundError: No module named 'dw-datasource'
ModuleNotFoundError: No module named 'dw-datasource'  Hi, My... 'dw-datasource' How to remove the ModuleNotFoundError: No module named 'dw-datasource' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'Graphviz-Datasource'
ModuleNotFoundError: No module named 'Graphviz-Datasource'  Hi, My... named 'Graphviz-Datasource' How to remove the ModuleNotFoundError: No module named 'Graphviz-Datasource' error? Thanks   Hi
ModuleNotFoundError: No module named 'vector-datasource'
ModuleNotFoundError: No module named 'vector-datasource'  Hi, My... named 'vector-datasource' How to remove the ModuleNotFoundError: No module named 'vector-datasource' error? Thanks   Hi, In your
configure Datasource in enterprise application - EJB
configure Datasource in enterprise application  I wanted to know that how can configure the DataSource in the Enterprise Application.Thanks Rohit Chauhan  which type of IDE u r using???If NetBeans ..Then i have
Maven Repository/Dependency: excalibur-datasource | excalibur-datasource-ids
Maven Repository/Dependency of Group ID excalibur-datasource and Artifact ID excalibur-datasource-ids. Latest version of excalibur-datasource:excalibur-datasource-ids dependencies. # Version Release Date
Maven Repository/Dependency: excalibur-datasource | excalibur-datasource-cluster
Maven Repository/Dependency of Group ID excalibur-datasource and Artifact ID excalibur-datasource-cluster. Latest version of excalibur-datasource:excalibur-datasource-cluster dependencies. # Version Release
add a property to instance variable
add a property to instance variable  How to add a property to instance variable in iPhone SDK
ModuleNotFoundError: No module named 'property'
ModuleNotFoundError: No module named 'property'  Hi, My Python... 'property' How to remove the ModuleNotFoundError: No module named 'property... to install padas library. You can install property python with following
Maven dependency for excalibur-datasource - excalibur-datasource-ids version 1.1.1a is released. Learn to use excalibur-datasource-ids version 1.1.1a in Maven based Java projects
of excalibur-datasource-ids released The developers of   excalibur-datasource - excalibur-datasource-ids project have released the latest version of this library on 22 Nov 2005, the released version of  excalibur-datasource
struts property file query
struts property file query  hi i hav 3 property file in my struts2 application. how can i tell my struts application to read a particular property file based on the language i select from the dropdown list. Please help
php array length property
php array length property  How to get the php array length property
ModuleNotFoundError: No module named 'required'
ModuleNotFoundError: No module named 'required'  Hi, My Python... 'required' How to remove the ModuleNotFoundError: No module named 'required... to install padas library. You can install required python with following
E BOOK REQUIRED
E BOOK REQUIRED  Wicket in Action pdf required Urgently. Thnx
property in javascript get set
property in javascript get set  How to create the get and set property in JavaScript?   Creating Get and Set properties in JavaScript example.. myVar Sample = { nval : "", get get() { return this.nval; }, set
help required in coding
help required in coding  hi..... I want to display output in graphical format . Can u tell me how it can be done? using for project java swings. plzzzzzz helpp
maths required for data science
maths required for data science  Hi, I am beginner in Data Science... required for data science Try to provide me good examples or tutorials links so that I can learn the topic "maths required for data science". Also
statistics required for data science
statistics required for data science  Hi, I am beginner in Data...: statistics required for data science Try to provide me good examples or tutorials links so that I can learn the topic "statistics required for data
degree required for data scientist
degree required for data scientist  Hi, I am beginner in Data...: degree required for data scientist Try to provide me good examples or tutorials links so that I can learn the topic "degree required for data scientist"
data scientist required degree
data scientist required degree  Hi, I am beginner in Data Science... scientist required degree Try to provide me good examples or tutorials links so that I can learn the topic "data scientist required degree". Also tell
education required for data scientist
education required for data scientist  Hi, I am beginner in Data...: education required for data scientist Try to provide me good examples or tutorials links so that I can learn the topic "education required for data
math required for ai
math required for ai  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: math required... the topic "math required for ai". Also tell me which is the good training
Is math required for data science?
Is math required for data science?  Hi, I am beginner in Data...: Is math required for data science? Try to provide me good examples or tutorials links so that I can learn the topic "Is math required for data science?"
code required in servlet
code required in servlet  hello... you provided me the answer with javascript.. i want to check which button is clicked in the servlet.. i have only 1 servlet an in that separate codes for different button clicks.. can u plzzz
Version of excalibur-datasource>excalibur-datasource-vm14 dependency
property name= hibernate.archive.autodetection
property name= hibernate.archive.autodetection  Hi, How to set the property name= hibernate.archive.autodetection in my Hibernate project. Can anyone give me some code? Thanks   Hi, If you want to use this property
iphone property list related
iphone property list related  question related to iphone application...... how to retrieve data from plist and again check the condition if data is found in plist then go to next view and print those value in table
Maven Dependency excalibur-datasource-cluster >> 1.1.1a
You should include the dependency code given in this page to add Maven Dependency of excalibur-datasource >> excalibur-datasource-cluster version1.1.1a in your project
Maven Dependency excalibur-datasource-ids >> 1.1.1a
You should include the dependency code given in this page to add Maven Dependency of excalibur-datasource >> excalibur-datasource-ids version1.1.1a in your project
Registering DataSource with JNDI
; } Registering The DataSource With JNDI Java Naming Directory Interface (JNDI... for objects for their associating attributes etc. An Example of DataSource... { startRegistry(); ConnectionPoolDataSource dataSource = new

Ads