I have been away from Struts 2 for many months and was prompted with this question yesterday:
Why does this code throw a null pointer exception? <s:url action="employeeAction_subsetByDepartment"> <s:param id="department" value="%{#attr.currRow.department}"/> </s:url> After jacking around with it for nearly an hour I realized that id should be name! It seems the adjoining tags were using the id attribute and this developer had applied common sense and used id here as well. Now I realize the JSTL/OGNL debate has caused much consternation among developers and I have sort of gotten over that whole mess. But this tipped my scale! What gives with the Struts 2 tag library? Seriously, step outside yourself and think about it before you answer. Is this a wart on the framework? Peace, Scott -- View this message in context: http://www.nabble.com/Is-this-a-wart-on-the-framework--tp18711301p18711301.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]