Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exception while trying to use <data-sources>

 
Malika Ben Aziz
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all of you


I am trying to follow a tutorial that uses a 1.1 dtd of struts:


my example is coded this way...with the 1.3 dtd :



that causes this awful exception:



Is struts 1.3 do not use no more <data-sources> ?

PLease, is anyone knows how to exploit a data source with the 1.3 version?

thanka a lot!




 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Malika Ben Aziz wrote:
Is struts 1.3 do not use no more <data-sources> ?


Correct. The Struts developers came to the (correct) conclusion that a front controller has nothing to do with a database. See here for their logic and alternatives.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic