To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Monday, March 10, 2003 3:55 PM
> Subject: Re: How do I start with a servlet?
>
> > OK, I think I see the problem. It did call the servlet but only the
> > init() method. Makes sense. Since there is no request pas
...
Regards,
Pratt.
- Original Message -
From: "Jim Lynch" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 3:55 PM
Subject: Re: How do I start with a servlet?
> OK, I think I see the problem. It did c
OK, I think I see the problem. It did call the servlet but only the
init() method. Makes sense. Since there is no request passed, I can't
do anything.
Let me restate the question. I'd like to start execution with a servlet
that can fire off a jsp after initializing stuff in the the session and
st" <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 3:42 PM
Subject: Re: How do I start with a servlet?
> Hi, Matt and Mavrikis,
>
> Well, I tried to add the load-on-start like this:
>
>
> StartServlet
> manpower.servlets.StartServlet
> 1
>
Hi, Matt and Mavrikis,
Well, I tried to add the load-on-start like this:
StartServlet
manpower.servlets.StartServlet
1
That didn't work. I tried too. But it never calls
the servlet.
I'll look for Valves or Filters.
Thanks,
Jim.
"Warden, Matt" wrote:
>
> On Mar 9
On Mar 9, Manolis Mavrikis had something to say about Re: How do I start...
>Jim,
>
> Create a SetupServlet in your servlets package and use something similar as
>the below part of my web.xml
>
> you can even pass some parameters with the param-value
>
> and if I remebmer right you put the l
Jim,
Create a SetupServlet in your servlets package and use something similar as
the below part of my web.xml
you can even pass some parameters with the param-value
and if I remebmer right you put the load-on-startup tag and it should start
it on startup and initiliase whatever you want
I've got a situation where I need to initialize some session variables
the first time in. I'd like to start execution with a servlet rather
than a .html or .jsp page. I tried to use:
StartServlet
/*
But I blew the stack since that caused my attempts to call anythin