> Dan wrote:
>
> public void init(ServletConfig config) throws ServletException{
>
>
> ServletContext context = config.getServletContext();
>
> // The following line of code does not seem to work.
>
> context.setAttribute("text", (Object) "hello" );
>
> }
add super.init(config); in the first line of the init method so that the
config is actually stored...
Gabriel Wong
http://www.ezwebtools.com
-------------------------
___________________________________________________________________________
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