Re: FYI : Worse than the Mellisa virus. READ!

2000-10-27 Thread Parker, Karl

I'm sorry, I thought I subscribed to the JSP list.  How did I get on the
hoax virus list ?

-Original Message-
From: JEFF RUYTER [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 27, 2000 3:15 PM
To: [EMAIL PROTECTED]
Subject: FYI : Worse than the Mellisa virus. READ!


>>> > > > >   New Virus Warning
 >>> > > > >
>>> > > > >   There is a new virus-WOBBLER. It will arrive on E-mail titled
 >>> > > CALIFORNIA.
 >>> > > > >IBM and AOL have announced that
it is very powerful, more so than
 >>> > > Melissa,
 >>> > > > >there is no remedy! It will eat
all your information on the hard
 >>>drive
 >>> > > and
 >>> > > > >also destroys Netscape Navigator
and Microsoft Internet Explorer.
 >>>Do
 >>> > not
 >>> > > > >open anything with this title and
please pass this message on to
 >>>all
 >>> > your
 >>> > > > >contacts and anyone who uses your
e-mail facility.
 >>> > > > >
>>> > > > >   Not many people seem to know about this yet so propagate it as
 >>>fast
 >>> > as
 >>> > > > >possible.
 >>> > > > >
>>> > > > >   2. If you receive an e-mail titled "Win A. Holiday" DO NOT
 >>>open
 >>>it.
 >>> > > > >
>>> > > > >   It will erase everything on your hard drive. Forward this
 >>>letter
 >>>to
 >>> > as
 >>> > > > >many people as you can. This is a
new, very malicious virus and
 >>>not
 >>> > many
 >>> > > > >people know about it. This
information was announced yesterday
 >>>morning
 >>> > > from
 >>> > > > >Microsoft.





>>> [EMAIL PROTECTED] 10/27/00 12:30 PM >>>
I need to set some objects in the Application object that should be
available at all times
 How can I do this at server startup?
I am using iPlanet 6.0.

Thanks

Rupali

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevnt 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

===
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

===
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



Wrox and Servlet

2000-10-27 Thread Parker, Karl

Good morning all.  I am a stodgy old VB, COM, ASP, C++ programmer and am
trying to convert to a hip, young Java type.  I am pushing through the first
chapters of "Professional Java Server Programming" published by Wrox.  I
tried using Apache Server and the Sun SDK directly but found better luck
using Netscape's Fastrack server to test some of these Servlet examples.   I
believe I finally have the server configured right and am trying to use
persistent storage in a servlet context that is launched on server startup.
The application is a sample chat room program.  However when this code is
executed later:


RoomList roomList = (RoomList) getServletContext().getAttribute("roomList");

The web page gives this:

Server Error
This server has encountered an internal error which prevents it from
fulfilling your request. The most likely cause is a misconfiguration. Please
ask the administrator to look for messages in the server's error log.

And the server's error log shows this:

[27/Oct/2000:07:26:17] failure ( 1524): Internal error: exception thrown
from the servlet service function (uri=/ListRooms):
java.lang.ClassCastException, Stack: java.lang.ClassCastException
at
com.wrox.context.chat.ListRoomsServlet.writePage(ListRoomsServlet.java,
Compiled Code)
at
com.wrox.context.chat.ListRoomsServlet.doGet(ListRoomsServlet.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:701)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a:502)


I put this code before it to determine the class because I assumed (as a C++
guy) that there is some sort of casting error:

  Object ob = getServletContext().getAttribute("roomList");
 if(ob==null)
  {
  out.println("Not set!");
  }
  else
  {
  out.println(ob.getClass().toString());
  }

which results in:

 class com.wrox.context.chat.RoomList


which is the type defined.   Anyone have any ideas to keep me from chucking
my Java books out the 9th story window potentially hurting potential
customers ???

BTW,  I assumed this wasn't covered in a SUN FAQ, so I hope this isn't too
junior a question.


Regards,

Karl D. Parker
Core Technologies
RetailDNA, LLC
<> - A
Walker Digital Company

One Stamford Plaza
Stamford, CT 06902
203-564-1458 | 203-564-1772 (fax) | 330-8051272 (cell)
This message, together with any attachments, is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is legally privileged, confidential, and exempt from
disclosure. If you are not the intended recipient, you are hereby notified
that you have received this message in error; any review, dissemination,
distribution, or copying of this message, or any attachment, is strictly
prohibited. If you have received this message in error, please delete this
message and any attachments from your computer and immediately notify the
original sender at (203) 564-1432 or by return e-mail. Thank you

===
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



Re: Diwali

2000-10-25 Thread Parker, Karl

How do I use it ???

import sun.light.diwali.* ??

Karl D. Parker
Core Technologies
RetailDNA, LLC
<> - A
Walker Digital Company

One Stamford Plaza
Stamford, CT 06902
203-564-1458 | 203-564-1772 (fax) | 330-8051272 (cell)
This message, together with any attachments, is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is legally privileged, confidential, and exempt from
disclosure. If you are not the intended recipient, you are hereby notified
that you have received this message in error; any review, dissemination,
distribution, or copying of this message, or any attachment, is strictly
prohibited. If you have received this message in error, please delete this
message and any attachments from your computer and immediately notify the
original sender at (203) 564-1432 or by return e-mail. Thank you

===
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