There is no "var" attribute on 2.0.9 as it is a new in 2.1. Right now the online documentation has a mix of 2.1 and 2.0. Try "name" instead. (The documentation for 2.0.9 can be downloaded with the jars)
musachy On 9/10/07, Emi Lu <[EMAIL PROTECTED]> wrote: > Hello, > > Musachy Barroso wrote: > > what version did you download? > > > > I downloaded "Example Applications- struts-2.0.9-apps.zip (22mb)". I > extracted the lib, and followed the online tutorial page about beans. > > I opened struts2-core-2.09.jar, and in "META-INF/struts-tags.tld" file: > > <tag> > <name>bean</name> > <tag-class>org.apache.struts2.views.jsp.BeanTag</tag-class> > <body-content>JSP</body-content> > <description><![CDATA[Instantiate a JavaBean and place it in the > context]]></description> > <attribute> > <name>id</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > <description><![CDATA[id for referencing element. For UI and form > tags it will be used as HTML id attribute]]></description> > </attribute> > <attribute> > <name>name</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > <description><![CDATA[The class name of the bean to be > instantiated (must respect JavaBean specification)]]></description> > </attribute> > </tag> > > > I did not see "<name>var</name>" section? Shouldn't the attribute in > this file? > > If not, would you tell me which jar file I should import into my project? > > Thanks a lot! > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]