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
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
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
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
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
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
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
?
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
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
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
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
> 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
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
13 matches
Mail list logo