Your method displayHelloWorld() should return a string type.  Something
required for + operations and the parameter required for the println method.


-----Original Message-----
From: [Qari Qasim] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 8:29 AM
To: [EMAIL PROTECTED]
Subject: Re: How to use JNI with Servlets


Hi Manish,
Thanks for your email. I did what you told me to do. However, I still get 1
error:
'void' type not allowed here:
                out.println("<h3>" + displayHelloWorld() +"</h3>");

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to