Title: Tomcat default welcome file and servlet
Hello group
I have two problems-questions I would like to ask you for help on
1. I need my Tomcat to call myWelcomeServlet instead of one of the files from welcome-file-list. I know that I can use a redirection from html to a servlet but
Antonio Mancuso wrote:
> Excuse me if the question is not really pertinent to the servlet, but I
> don't know where find some information.
Lots of people told you the answer, but no one told you where to find some
information. I find the API docs are usually helpful in learning how different
cla
You may also use the log-methods in javax.servlet.ServletContext
peter
-Ursprüngliche Nachricht-
Von: Martin Kuba <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Datum: Montag, 15. November 1999 14:12
Betreff: Re: file and servlet
>Antonio Mancuso wrote
hi,
if i am not wrong, u r writing something to a file(log file), so use
FileOutputStream in append mode it will work
ravi
At 11:21 AM 11/15/1999 +0100, you wrote:
>Hello,I have a problem. I need to impelment a log file in my servlet.
>So I am able to writ
Title: RE: file and servlet
> Hello,I have a problem. I need to impelment a log file in my servlet.
> So I am able to write into a log file, but every time my
> servlet is init() the file is overwritten and not append.
Open your file using something like:
String logFileName = &q
Antonio Mancuso wrote:
>
> Hello,I have a problem. I need to impelment a log file in my servlet.
> So I am able to write into a log file, but every time my servlet is init()
> the file is overwritten and not append.
> SO how can I solve my problem?
> Excuse me if the question is not really pertine
Hello,I have a problem. I need to impelment a log file in my servlet.
So I am able to write into a log file, but every time my servlet is init()
the file is overwritten and not append.
SO how can I solve my problem?
Excuse me if the question is not really pertinent to the servlet, but I
don't know