You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "A. Bob" <a_...@cheerful.com> on 2002/01/16 10:21:30 UTC

Error handling from Start up the Velocity Template Engine

seems silly question but can't find the solution as quickly as i would rather. 

How to solve this king of error?

PetStoreEmail.java:58: cannot resolve symbol 
symbol : method sendEmail (java.lang.String) 
location: class PetStoreEmail 
sendEmail( writer.toString() ); 
^ 
1 error 


Thanx in advance
-- 

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


1 cent a minute calls anywhere in the U.S.!

http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Error handling from Start up the Velocity Template Engine

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 1/16/02 4:21 AM, "A. Bob" <a_...@cheerful.com> wrote:

> seems silly question but can't find the solution as quickly as i would rather.
> 
> How to solve this king of error?
> 
> PetStoreEmail.java:58: cannot resolve symbol
> symbol : method sendEmail (java.lang.String)
> location: class PetStoreEmail
> sendEmail( writer.toString() );
> ^ 
> 1 error 

That's from the JavaWorld article?

That method doesn't exist.  It was put there as an example - you would have
to write that to send the email, in whatever way you decided.  That was
outside of the scope of the article (the actual sending of the email) so I
didn't flesh it out.

I apologize for not noting it somewhere.

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting
"We will be judged not by the monuments we build, but by the monuments we
destroy" - Ada Louise Huxtable


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>