Re: [email] Dynamic attachments in mailer taglib 2 using JavaBean

2010-09-03 Thread Pid
On 03/09/2010 04:49, Ferindo Middleton wrote: I've written a javabean that connects to a database, downloads a file, and one of the getter methods returns the complete file path to the file. The problem I have is: when the JSP runs and gets to the part where it gets the file path to pass to

Re: [email] Dynamic attachments in mailer taglib 2 using JavaBean

2010-09-03 Thread Ferindo Middleton
That's what I can't understand. Should my call to the bean be a valid non-static code to get that value? I am new to java javabeans. The statement you wrote is exactly my statement in the JSP: yourbeanname.getTempFilePath() Is the same as:

Re: [email] Dynamic attachments in mailer taglib 2 using JavaBean

2010-09-03 Thread Wesley Acheson
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 On Fri, Sep 3, 2010 at 3:32 PM, Ferindo Middleton ferindo.middle...@gmail.com

Re: [email] Dynamic attachments in mailer taglib 2 using JavaBean

2010-09-03 Thread Pid
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

[email] Dynamic attachments in mailer taglib 2 using JavaBean

2010-09-02 Thread Ferindo Middleton
I've written a javabean that connects to a database, downloads a file, and one of the getter methods returns the complete file path to the file. The problem I have is: when the JSP runs and gets to the part where it gets the file path to pass to the taglib, I get an error message that is typical