This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
can you please provide me the exception which you are getting and whole jsp code
Joined: Aug 03, 2008
well let me make things a bit clear. The name of my action class is UserDetailAction. UserDetail action has two members name and phone. the action hits this action class and the result is returned to a success.jsp.
In success.jsp, a bean class - ContactBean is called. The ContactBean has 4 members 1. phone 2. country_code 3. area_code 4. subscriber_code.
Now when action hits the UserDetailAction.java, the member name and phone are set and put in the value stack. when the success.jsp is called i want to pass UserDetailAction.phone to ContactBean.phone via using param tag. UserDetailAction.phone is now at the value stack so i wish to access it and send it to the bean.hence the following code
there is no exception that is generated only null is set to the ContactBean.phone