; > > > name="createClientForm"
> > > > > scope="session"
>
> So when I tried to re cast it it threw a class cast because I
> was trying to cast actionClientForm to createClientForm.
>
> The bean named createCleintForm
e
>
>// then
>form = updateForm;
>
> When you say
>
> form = updateForm;
>
> what is my variable form of type?
>
>
>
>
> -Original Message-
> From: Ekberg Mats KONSULT [mailto:[EMAIL PROTECTED]
> Sent: 29 Sept
> -Ursprungligt meddelande-
> Från: Ekberg Mats KONSULT [mailto:[EMAIL PROTECTED]
> Skickat: den 29 september 2005 12:02
> Till: 'Struts Users Mailing List'
> Ämne: SV: prepopulating jsp page
>
> Ok, so you have a different fo
ing
>
> CreateClientForm updateForm = (CreateClientForm)actionForm;
>
> Because the action is called from a search page and has a
> different form coming in. Thus when I try to reassign it I
> get a class cast exception.
>
> I also tried the first way you mention
= (CreateClientForm)actionForm;
// populate the bean here
updateForm.setXXX( );
updateForm.setYYY( );
> -Ursprungligt meddelande-
> Från: Ekberg Mats KONSULT [mailto:[EMAIL PROTECTED]
> Skickat: den 29 september 2005 11:41
> Till: 'Struts Users Mailing
xecute(ActionMapping actionMapping, ActionForm
actionForm, HttpServletRequest httpServletRequest, HttpServletResponse
httpServletResponse) throws Exception
>
>
>
>
> -Original Message-
> From: Ekberg Mats KONSULT [mailto:[EMAIL PROTECTED]
> Sent: 29 September 2005
> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Skickat: den 29 september 2005 11:26
> Till: user@struts.apache.org
> Ämne: prepopulating jsp page
>
> Hi,
>
> I am trying to pre-populate my JSP page with the values returned from
> the database when a
Also, look at the "nested" struts taglib.
/mats
> -Ursprungligt meddelande-
> Från: Michael Jouravlev [mailto:[EMAIL PROTECTED]
> Skickat: den 27 september 2005 23:29
> Till: Struts Users Mailing List
> Ämne: Re: recursive and struts. SOS
>
> On 9/27/05, Laurie Harper <[EMAIL PROTECTED
I am working on an export coltrol system for the swedish customs.
We are using struts and the tiles framework.
We would like to have a separate webapp (or even a plain html site) with
some standard templates for mainly menus. I have placed some images and
standardized jsp-files there, these files s
9 matches
Mail list logo