Re: Null Exception in ActionForm

2006-05-22 Thread Vinit Sharma
Hi, When you call an action from href, it doesn't submit the form. In order to do so, write a small JavaScript, which will submit the form on click of the link. Struts will initialize the form only if doGet/doPost is called and then pass it to the action class. HTH, On 5/20/06, red phoenix <[E

Null Exception in ActionForm

2006-05-19 Thread red phoenix
I have two jsp file,such a.jsp and b.jsp,one Action file and one Form file,I want to from a.jsp to call Action file,and I set value of Form in Action file,and return to b.jsp,and show value in b.jsp,so I can modify this value in b.jsp my struts-config.xml is follows: /*b.jsp*/ ...