PDA

View Full Version : Using XDoclet struts tags and subclassing ActionSupport


jim
Aug 31st, 2005, 01:57 PM
I have found that extending spring's ActionSupport (et al) classes prevents the xdoclet an tasks from producing the action's mapping entry in struts-config.xml.

As a work around, I have created the ctx 'getBean' code my self.

Has anyone encountered this anomaly or can anyone advise me as to how best to overcome this problem?

Jim

codagtr
Sep 3rd, 2005, 09:28 PM
Actually I had the same kind of problem. It however went away when I made sure to include both spring.jar and struts.jar in the classpath of the ant task.

The XDoclet task works with all Action and subclasses.

jim
Sep 6th, 2005, 11:07 AM
Thanks codagtr, I will have a look at that.

Jim