dcsimg
execute function run twice
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, July 4, 2005 11:00 AM

hi all;
I have a formbean and two jsp pages(jsp1, jsp2).
all in one action mapping in config file.
Formbean scope is session.Part of formbean is filled in JSP and remain in jsp2.
when I press submit button on second jsp(jsp2), in action lookupdispatch action function all info is inserted into db then the inital jsp(jsp1) must be loaded by mapping.findForward(..). Dispatching to the jsp1 is ok. In jsp1 when parsing reach "

" definition it goes the lookup dispatch action again and try to insert same information. What causes this? How can I solve this problem.
Thanks.
About | Sitemap | Contact