Charles P. Killmer wrote:
I am trying to write a function in a script file and having a lot of
trouble.

<%
function String test() {
        return "test";
}
out.print(test());
%>

Is there a way to do this without using a class?  Also along these lines
would something like this be possible.

<%
function void test() {
        %>
                This should just be echoed to the screen.
        <%
}
test();
%>

Thanks for any help
Charles Killmer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Don't confuse java/jsp with javascript. Unless you have a special container that supports java script in the language parameter for the page context.....


Wade


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to