Re: 1 request & 2 forms

2004-03-06 Thread Daniel Henrique Alves Lima
Solved ! I don't know why but when i use multipart-form i get an error while populating the second form (like the case of Guillermo). Then i've removed enctype from html:form and everything works ! **Case 2** source.jsp -> AAction (AForm) -> BAction (BForm) -> destiny.jsp (BForm) Wher

RE: 1 request & 2 forms

2004-03-06 Thread Guillermo Meyer
om: Daniel Henrique Alves Lima [mailto:[EMAIL PROTECTED] Sent: Sábado, 06 de Marzo de 2004 08:32 p.m. To: [EMAIL PROTECTED] Subject: Re: 1 request & 2 forms Something strange is happening: When i tried to use BeanUtils.copyProperties, i've checked that request.getParameterMap() was r

RE: 1 request & 2 forms

2004-03-06 Thread Guillermo Meyer
List Subject: Re: 1 request & 2 forms Ok :-) I have 2 .jsp files (source.jsp and destiny.jsp). Between these two, i put an action (let's call it BAction). Either destiny.jsp and B action were expecting a BForm. So : **Case 1** source.jsp -> BAction (BForm) -> dest

Re: 1 request & 2 forms

2004-03-06 Thread Daniel Henrique Alves Lima
Ok :-) I have 2 .jsp files (source.jsp and destiny.jsp). Between these two, i put an action (let's call it BAction). Either destiny.jsp and B action were expecting a BForm. So : **Case 1** source.jsp -> BAction (BForm) -> destiny.jsp (BForm) Now, i want to insert a new action

Re: 1 request & 2 forms

2004-03-06 Thread Geeta Ramani
Sorry, that wasn't how I understood your question.. and i'm not sure I *do* understand your question now either.. would you explain your problem and what you are trying to do once again..? Daniel Henrique Alves Lima wrote: > Yes, i got a error. > > I've just added a "org.apache.struts.actions.For

Re: 1 request & 2 forms

2004-03-06 Thread Daniel Henrique Alves Lima
Yes, i got a error. I've just added a "org.apache.struts.actions.ForwardAction" (to struts initializes and populates the session scoped form -> named A) between the .jsp file (which contains the button) and a previous existent action (the one which receives a new request scoped form -> named B)

Re: 1 request & 2 forms

2004-03-06 Thread Geeta Ramani
I have never done this but i don't see why not. When you press your submit button on your jsp, an Action is called, right? You can do whatever you want in that execute method would be my guess. So if you feel like saving one form in session scope and another in in request attribute before you fo