Advertisement

10.03.2007 at 01:03AM PDT, ID: 22868547
[x]
Attachment Details

How to put downloaded spring-beans-2.0.dtd in springContext.xml

Asked by JianJunShen in Java Programming Language, J2EE Frameworks

Tags: spring dtd

I downloaded dtd, and put it into classpath. In Ant's build.xml, I have:

<property name="main.dir" value="./src/main"/>
<property name="resources.dir" value="${main.dir}/resources"/>
<path id="compile.classpath">
    <pathelement location="${resources.dir}"/>
    ...
</path>

spring-beans-2.0.dtd is in resources directory:

src
   main
      resources
           spring-beans-2.0.dtd

In applicationContext.xml: I added following line:
   <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN"  "classpath://spring-beans-2.0.dtd" >

But it gives following error:
java.net.MalformedURLException: unknown protocol: classpath

How to put downloaded dtd in applicationContext.xml?Start Free Trial
[+][-]10.03.2007 at 02:18AM PDT, ID: 20004905

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 04:23AM PDT, ID: 20005407

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 04:26AM PDT, ID: 20005422

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 04:53AM PDT, ID: 20005556

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 05:00AM PDT, ID: 20005593

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Programming Language, J2EE Frameworks
Tags: spring dtd
Sign Up Now!
Solution Provided By: objects
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.03.2007 at 06:06AM PDT, ID: 20006111

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 06:14AM PDT, ID: 20006188

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.03.2007 at 10:47PM PDT, ID: 20012006

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 10:51PM PDT, ID: 20012020

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.03.2007 at 11:15PM PDT, ID: 20012083

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 11:18PM PDT, ID: 20012092

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 11:36PM PDT, ID: 20012136

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628