tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: [email] Dynamic attachments in mailer taglib 2 using JavaBean
Date Fri, 03 Sep 2010 14:10:43 GMT
On 03/09/2010 14:36, Wesley Acheson wrote:
> No Ferindo. What he's saying is you are calling the class not an instance of
> the class.
> 
> You can only call a class if the method is stactic.
> http://download.oracle.com/javase/tutorial/java/javaOO/classvars.html

        <jsp:useBean id="getFilePath" scope="request"
        class="hall.RadTicketsFileDownloadForEmailAttachmentBean">

http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html

You've defined 'getFilePath' as the instance name, so that's what you
need to refer to, rather than the Class name, as Wesley explained.


p

Mime
View raw message