Problem with Unavailable Exception

2003-10-08 Thread Mailing List Servlet
Hello everybody, I have a problem with the 'unavailableException'. All Exceptions seem to work perfectly except when I throw a new UnavailableException. I found on the archives this topic (exactly my problem), but no solution were given. It was 1 year ago. Did anyone find a solution to this

Init Parameter

2003-09-19 Thread Mailing List Servlet
Hello everybody, I started to learn servlets few times ago. Everything was working perfectly until I tried to get my init-param from my web.xml file. I receive all the time a null value when I ask the value of my parameter: String driver = getServletConfig().getInitParameter(driver). If I put

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
-param names are different. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mailing List Servlet [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: Init Parameter Hello everybody, I started to learn servlets few times ago

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
as an instance variable or in the servlet constructor then Tomcat hasn't yet inited the servlet and the getServletConfig() method doesn't behave as you are expecting. Of course, there's always the init(ServletConfig config) method. ;) Mailing List Servlet wrote: Hello everybody, I

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
on startup that it can't parse it. Otherwise, you should be able to retrieve init parameters after the servlet is initialized. Post your servlet's relevant code. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mailing List Servlet [mailto:[EMAIL PROTECTED] Sent: Friday