It needed a ServletContext, I passed in null and worked fine. However, there are some class loading issues. Struts throws an exception when it tries to load an already loaded class, and then it stops right there, i.e. does not go on to process other classes. Trying to see if I can find other options.
On Sat, Mar 7, 2009 at 7:40 PM, David Blevins <[email protected]>wrote: > > On Mar 7, 2009, at 3:15 PM, Karan Malhi wrote: > > Looks like we will have to create a Jaxb tree for struts and scan struts >> actions ourselves. I did find some struts facilities which will give me >> the >> info about all "struts actions", but struts provides us with that >> information after the webapp starts. We need this information "before" the >> app starts. So, for now, so that we can add atleast some support for >> struts >> actions. >> > > So what does struts need that isn't available? I think you mentioned on > IRC somehting about the ServletConfig? Any idea what they're pulling out of > that object? Maybe we can give them a mock impl. > > -David > > -- Karan Singh Malhi
