Thank you Musachy! That's why.

But I did not see where I can download struts2.1?

http://struts.apache.org/download.cgi

From this page, I see the highest version is 2.0.9.

Can you tell me where I can download 2.1 version please?

Thanks a lot!



Musachy Barroso wrote:
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]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to