Which symbol is it saying that it cannot resolve?

[EMAIL PROTECTED] wrote:

Hello,
In my servlet to be started on server load, why may I not define the application thus:


public void contextInitialized(ServletContextEvent sce) {

Hashtable style_index = new Hashtable();

style_index.put("element1", "ONE");
style_index.put("element2", "TWO");

application.setAttribute("style_index", style_index); // cannot resolve symbol!

}
your thoughts / input appreciated

paul.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to