aspose file tools
The moose likes Struts and the fly likes jdbc:odbc configuration! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "jdbc:odbc configuration!" Watch "jdbc:odbc configuration!" New topic
Author

jdbc:odbc configuration!

John Nessim
Greenhorn

Joined: Oct 21, 2003
Posts: 1
Hi
I'm totally new to Struts framework, I hope that someone could help figuring this out!
I'm trying to configure my data source (MSAccess db) with my simple Struts application using the following :

I alawys get these errors:
- javax.servlet.ServletException: Servlet.init() for servlet action threw exception
- java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource
However, the same configurations were working on the JSP only site before!!
Thanks in advance,
John
veronique alvaro
Greenhorn

Joined: Sep 05, 2003
Posts: 24
I am new also in Struts but a simple question I will ask is : do you have the struts-legacy.jar package in your application as it seems it doesn't find the org/apache/struts/legacy/GenericDataSource class?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: jdbc:odbc configuration!
 
Similar Threads
Struts Configuration problem
Struts DB Error
configuring datasource for mysql in struts-config.xml
Prob using DataSource
Connection pooling