You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chen Chunwei <ou...@cn.panasonic.com> on 2008/03/17 08:46:17 UTC
Is type property in tag must be filled?
Hi all,
I'm new to Struts. And I want to ask if the type property in <form-bean /> tag must be filled? I mean if it's null, will the form-bean work?
Thanks.
Talos
Re: Is type property in tag must be filled?
Posted by Antonio Petrelli <an...@gmail.com>.
2008/3/17, Chen Chunwei <ou...@cn.panasonic.com>:
>
> Thanks Antonio.
>
> I know little about DTD, but in my company, we are not allowed to access
> Internet. So I cann't see these dtds. :-(
WTF?
Now I know why you are still using Struts 1.1 :-D
You're forgiven :-D
Antonio
Re: Is type property in tag must be filled?
Posted by Chen Chunwei <ou...@cn.panasonic.com>.
Thanks Antonio.
I know little about DTD, but in my company, we are not allowed to access Internet. So I cann't see these dtds. :-(
Talos
----- Original Message -----
From: "Antonio Petrelli" <an...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, March 17, 2008 4:32 PM
Subject: Re: Is type property in <form-bean /> tag must be filled?
> 2008/3/17, Chen Chunwei <ou...@cn.panasonic.com>:
>>
>> But I'm using Struts 1.1, then is it still required?
>
>
>
> Yes. See:
> http://struts.apache.org/dtds/struts-config_1_1.dtd
>
> And learn DTD :-)
>
> Antonio
>
Re: Is type property in tag must be filled?
Posted by Antonio Petrelli <an...@gmail.com>.
2008/3/17, Chen Chunwei <ou...@cn.panasonic.com>:
>
> But I'm using Struts 1.1, then is it still required?
Yes. See:
http://struts.apache.org/dtds/struts-config_1_1.dtd
And learn DTD :-)
Antonio
Re: Is type property in tag must be filled?
Posted by Chen Chunwei <ou...@cn.panasonic.com>.
Thanks Antonio
But I'm using Struts 1.1, then is it still required?
Talos
----- Original Message -----
From: "Antonio Petrelli" <an...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, March 17, 2008 4:07 PM
Subject: Re: Is type property in <form-bean /> tag must be filled?
> 2008/3/17, Chen Chunwei <ou...@cn.panasonic.com>:
>> I'm new to Struts. And I want to ask if the type property in <form-bean /> tag must be filled? I mean if it's null, will the form-bean work?
>
> If you are using Struts 1.2.x, the "type" attribute is required:
> http://struts.apache.org/dtds/struts-config_1_2.dtd
>
> If you are using Struts 1.3.x, you must specify the "type" or the
> "extends" attribute.
>
> HTH
> Antonio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
Re: Is type property in tag must be filled?
Posted by Antonio Petrelli <an...@gmail.com>.
2008/3/17, Chen Chunwei <ou...@cn.panasonic.com>:
> I'm new to Struts. And I want to ask if the type property in <form-bean /> tag must be filled? I mean if it's null, will the form-bean work?
If you are using Struts 1.2.x, the "type" attribute is required:
http://struts.apache.org/dtds/struts-config_1_2.dtd
If you are using Struts 1.3.x, you must specify the "type" or the
"extends" attribute.
HTH
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org