I have request.setAttribute("userList", userListBean); string in execute() method. My Action class works well without tiles - it returns a bean to users.jsp and I see the users list. I'm wandering if I'm using DoFirst action forward class in a right way? Maybe because of this "additional" forwarding all the objects in request disappear?
The definitions and forwarding look correct, but the DoFirst.java code you posted only had a perform() method, and no execute() method. And the code you posted for DoFirst.java doesn't add the bean to the request.
When you access /usersAdm.do, Struts will match that request to the path "/userAdm" in struts-config.xml. Struts will then call the perform() or execute() method of com.name.wos.struts.common.DoFirst.
From the code you posted, DoFirst.java will just return a forward called "success". Struts will then match that to the path "usersPage", which matches the tiles definition "usersPage" in tiles-def.xml.
Nowhere in that process was a bean added to the request. You must have a different class file which does that somewhere.
-- Jason Lea
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]