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 proble

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
dy, If you have an invalid web.xml, tomcat will tell you 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 Messa

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
e in the code are you calling the method. If it's 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(ServletCo

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
Howdy, Strange... Make sure the context-param and init-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] >Sub

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 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 the paramet

AW: Filter and servlet mapping problem

2003-07-29 Thread Mailing Listen
rewriting your URL as /myjsp.jsp?time= instead of /myjsp_.jsp -Original Message----- From: Mailing Listen [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 11:16 To: Tomcat Users List Subject: Filter and servlet mapping problem I have written a filter for my webapp where i catch the response and R

AW: Filter and servlet mapping problem

2003-07-29 Thread Mailing Listen
ePath(request.getServletPath()+request.getPathInfo()); RequestDispatcher rd = getServletContext().getRequestDispacher(oldURI); rd.forward(request, response); return; "Mailing Listen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I have written a filter for my web

AW: Filter and servlet mapping problem

2003-07-28 Thread Mailing Listen
? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mailing Listen [mailto:[EMAIL PROTECTED] >Sent: Monday, July 28, 2003 8:19 AM >To: [EMAIL PROTECTED] >Subject: Filter and servlet mapping problem > >I have written a filter for my webapp where i c

Filter and servlet mapping problem

2003-07-28 Thread Mailing Listen
I have written a filter for my webapp where i catch the response and Rewrite all URLs with a timestamp for bypassing some proxies that ignore The settings i set on my webserver (e.g. no-cache, no-store,...). The Filter works fine, but i haveto modify the requests when the reache my webserver. I am

AW: Filter and servlet mapping problem

2003-07-28 Thread Mailing Listen
Millennium ChemInformatics >-Original Message- >From: Mailing Listen [mailto:[EMAIL PROTECTED] >Sent: Monday, July 28, 2003 8:19 AM >To: [EMAIL PROTECTED] >Subject: Filter and servlet mapping problem > >I have written a filter for my webapp where i catch the response

Filter and servlet mapping problem

2003-07-28 Thread Mailing Listen
I have written a filter for my webapp where i catch the response and Rewrite all URLs with a timestamp for bypassing some proxies that ignore The settings i set on my webserver (e.g. no-cache, no-store,...). The Filter works fine, but i haveto modify the requests when the reache my webserver. I

Re: Problem of setting up apache with tomcat using mod_jk in Linux

2001-05-15 Thread mailing
> did you add the following lines into httpd.conf? > > # Load mod_jk > # > LoadModule jk_module libexec/mod_jk.so > AddModule mod_jk.c > > #Configure mod_jk > # > JkWorkersFile /usr/local/jakarta-tomcat-3.2.1/conf/workers.properties > JkLogFile /usr/local/apache/logs/mod_jk.log

Problem of setting up apache with tomcat using mod_jk in Linux

2001-05-15 Thread mailing
I have install tomcat and mod_jk as http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html tell, but the jsp and servlet example are don't work. If I select jsp file at example, it display raw jsp code but don't pass to tomcat to process. If I select servlet examples, it dispal