First off, Tomcat/5.5.9 with
Servlet 2.4 and
JSP 2.0
ok, been fighting with the init() method for a while now, search through a few forums, 3 different books, api, faqs, and I have yet to get it working. The problem is none of my <init-param> are being read. I have written the init() a dozen different ways, re-wrote my web.xml twice, and no change in my page. Right now my init() method is like this
I have tryed both init() and init(ServletConfig config), no change, tryed with and without the call to super.init() tryed getting one param, all, a few, getting parameter names, not getting parameter names, a few other things that give funny errors, and all parameters still end up being null as does the getInitParameterNames().
My current web.xml is below, its changed a few times, but as far as I can see, its correct.
At the moment, Im a loss of what to do next. Im sure after a few posts it will end up being something stupid easy that I should have seen some time ago, but I really don't know whats wrong.