Hi,
Please look at the following example and answer my question below.
I've created a simple web application with a JSP page and a tag. The tag
is of my interest. Here is a part of its tld:
<tag>
<name>portlet</name>
<tag-class>tag.SimpleTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>no</required>
<rtexprvalue>yes</rtexprvalue>
</attribute>
</tag>
Now here is the main trouble. When I use it this way:
<x:simple name='<jsp:getProperty name="beanname" property="name" />' />
then it *doesn't* work as opposed to the following example, which works
(!)
<x:simple name='<%= beanname.getName() %>' />
Basically, these above pages are alike, but Jakarta Tomcat 4.1-dev as
well as Resin 2.0.3 doesn't like the later.
Any comments are greatly appreciated.
Jacek Laskowski
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com