I am attempting to use the global.jsa file for JRUN, in order to localize my
settings. ...But it's not working. Could someone please take a look and
tell me what I am missing. I can't find *ANY* documentation or examples
outside of the 1 page that covers the topic in the JRun manual.
Here's the global.jsa file:
<%! public void applicationInit() {
String myStr = new String("hello world!");
application.setAttribute("testVar",myStr );
}%>
<%! public void applicationDestroy() {
System.out.println("The intranet is temporarily not available.");
}%>
Here's the error that I am recieving:
Could not instantiate jrun__global2ejsab
java.lang.NullPointerException
...
and then it gives the whole stack dump.
Any thoughts?
Also, I have tried setting application variables through the interface of
JRUN as it would seem to provide the opportunity to do, but (while I don't
get an error) I can't actually access these values.
Thanks in advance for your thoughts.
Neal
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets