Hello, I have two pages: login.jsp and userProfile.jsp
I defined two DynaActionForm(s) in struts-config.xml: loginForm and userProfileForm Now inside loginAction class, after handle the authentication, I want to get the user profile information from database, then instantiate userProfileForm and put it into the request. what I did was: DynaActionForm form = new DynaActionForm(); form.set("firstName", "John"); form.set("lastName", "Doe"); ....... request.setAttribute("userProfileForm", form); The setters throw Null pointer exception Please help me out here Thanks
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]