Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calling out.println in a jsp function

843840Mar 20 2009 — edited Mar 23 2009
Hi, i want to call out.println in a jsp function. That is i am using function like this

<%!
void MyFunction()
{
out.println("this is good");
}
%>

This code fails with error message: "out cannot be resolved"

Also i don't want to return value from the function, since i will later call this function recursive and display value at each instant.
Please suggest any solution.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2009
Added on Mar 20 2009
5 comments
734 views