I briefly reviewed the information you have referenced and the author
explains the init method - why and how often its called.
Looking at the redirect Servlet do you have your web server configured
correctly and the servlet placed in the correct location? What about
the form code the author has listed? How are you calling this Servlet?
Try re-reading the information - I don't see any reason why it wouldn't
work.
----- Original Message -----
From: Stanley Tan <[EMAIL PROTECTED]>
Date: Sunday, March 25, 2001 5:30 pm
Subject: Newbie Questions
> Hi. I'm new to servlet technology. Could someone please help
> clarify some
> questions.
>
> 1. When you override the init method why do you have to call
> super.init?
> 2. In the article, "Navigating with Servlets,"
>
http://developer.java.sun.com/developer/onlineTraining/new2java/programm
ing/learn/servlets.html,
> the author uses paramName = config.getInitParameter("paramName");
> in the init method. What does this do?
>
> 3. Has anyone gotten the aboved mentioned redirect script to work?
> I get a
> null pointer exception unless I replace paramName with "URL"
>
> Thanks in advance.
>
>
> Stanley Tan
>
>
________________________________________________________________________
___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http:
> Resources: http://java.sun.com/products/servlet/external-
> resources.htmlLISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html