Dear All:
Nice easy question to be going on with. I've declared a function using
the standard syntax:
<%!
void RenderSomeHTML( ) {
...
...
out.println( "Hello, World" ):
...
...
}
%>
Of course, out.println doesn't work, because the out object isn't
available to the function. So what I've done is to pass the out object
into the function as an argument. And that's a bit of a hassle, because
I have to run around catching IOExceptions all over the place. I'm sure
there's a better, more standard way of doing it than this.
If anyone has a couple of minutes to spare, could they explain?
Thanks,
-- Rob
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]] On Behalf Of Sami Saul
Sent: 20 March 2002 11:54
To: [EMAIL PROTECTED]
Subject: Re: Restarting Tomcat
What did you config Tomcat to run as a service?
Regards,
Sami
> Thanks, all. Yes, Tomcat was running as a service, and yes, all I had
> to do was to restart the service from the control panel. I thought I
> should have done ASP for long enough to know that, but never mind.
========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com