This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Compiler error in line 1 in the above class, "The method getDataSource(HttpServletRequest) is undefined for the type LoginAction"
here is my struts-config.xml ----------------------------------
I added the jars, "commons-dbcp-1.4.jar" and "commons-pool-1.4.jar" the the eclipse build path, and /WEB-INF/lib
also to the tomcat(6.0.26)'s /WEB-INF/lib
Can anyone tell me why iam getting this compiler error in line 1 and also how to rectify the same?
Did you look at the Javadocs for Struts 1.3 actions? I'd recommend that you do.
Anuradha Prasanna
Ranch Hand
Joined: Mar 09, 2006
Posts: 115
posted
0
can you please be more specific.
I would appreciate if somebody can explain with a simple example, how to configure datasources in struts 1.3.8.(as iam new to struts)
Iam using tomcat 6.