Thanks Corey.
I found out what I had missed. I had to add this line
before calling mapping.findForwarding().
httpServletRequest.setAttribute(actionMapping.getAttribute(),
bForm);
Santosh, I hope this will work for you too.
Peter.
--- Corey Scott <[EMAIL PROTECTED]> wrote:
> Peter and Santos
Thanks Corey.
I found out what I had missed. I had to add this line
before calling mapping.findForwarding().
httpServletRequest.setAttribute(actionMapping.getAttribute(),
bForm);
Santosh, I hope this will work for you too.
Peter.
--- Corey Scott <[EMAIL PROTECTED]> wrote:
> Peter and Santos
Peter and Santosh,
Here is an example that I use to do the same thing:
My Action Class:
public class ListBillingCodeAction extends Action
{
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exc
ter Vennel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 23, 2004 5:38 AM
To: [EMAIL PROTECTED]
Subject: box not getting populated from ActionForm.
I am trying to populate an select box on JSP using the
ActionForm class.
In my action I am populating the action form as
follows :
Ac
I am trying to populate an select box on JSP using the
ActionForm class.
In my action I am populating the action form as
follows :
Action Class
---
// get all Info
ArrayList aList = (ArrayList)
accountMgr.getAllProductInfo();
Iterator itr = aList.iterator()
5 matches
Mail list logo