> -----Original Message----- > From: Thomas Escobar [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2003 11:45 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Re: Is component.xml compulsory? > > > Bernard and I had a similar weekend - I'm porting a WW > 1.0 app to WW/Xwork (for fun, not production), ran > into the same null pointer and resolved it the same > way (root components in otherwise empty > components.xml). I'll pull my ServletContextListener > as the real solution. Thanks! > > However, the reason I had added the > ServletContextListener was as a (shot-in-the-dark) > attempt to resolve another null pointer I was getting: > > > ActionContext.getSession() always returns a null Map. > > I've replaced this with: > > ServletActionContext.getRequest().getSession() > > ...and all is fine, but I'm wondering if I haven't > misconfigured something (although walking through the code, > there's nothing in WW 2.0 that seems to set the session). > ActionContext.getSession() was useful in WW 1.0 for returning > a convenient wrapper around the HttpSession (SessionMap) - is > this not going to be the case anymore? Will there be a > return of SessionAware eventually?
I've added the ApplicationMap and SessionMap stuff to Webwork 2.0, so ServletActionContext.getSession() should work now. > > The other issue I ran into was the absence of many of > the WW 1.0 JSP tags - url, action and bean in > particular. The roadmap makes no mention of these and > I couldn't find details in the archives so I'll just > ask: what are the status of these tags - deprecated, > not yet implemented, terminated? I've added Jira issues for these as well, and assigned them to me. If anyone else wants to take them, feel free. ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork