I'm trying to clean up a few files that have JNDI data access. I want
to move the datasource name to the web.xml for easier maintenance and to
avoid having to hardcode it into the app.
If I have a datasource in the context-param area of the web.xml file,
how can it be called?
context-param
Windows Server 2k, Tomcat 4.1.
I'm relatively new at building web applications. I'm ok with the
programming, I've never learned how to make a web.xml file.
I've gotten by on the invoker running all of my jsp pages. It's now time to
do things right. I have many books in front of me.
:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 12:14 PM
To: [EMAIL PROTECTED]
Subject: New User Web.xml question
Windows Server 2k, Tomcat 4.1.
I'm relatively new at building web applications. I'm ok with the
programming, I've never learned how to make a web.xml file.
I've gotten
PROTECTED]
Subject: New User Web.xml question
Windows Server 2k, Tomcat 4.1.
I'm relatively new at building web applications. I'm ok with the
programming, I've never learned how to make a web.xml file.
I've gotten by on the invoker running all of my jsp pages. It's now time to
do things right
] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 12:14 PM
To: [EMAIL PROTECTED]
Subject: New User Web.xml question
Windows Server 2k, Tomcat 4.1.
I'm relatively new at building web applications. I'm ok with the
programming, I've never learned how to make a web.xml file.
I've gotten
Howdy,
When I restart Tomcat, I get a 404 error. Any ideas?
You don't get a 404 error when you restart tomcat. You get a 404 error
when you try to access some resource that tomcat can't find. What
resource, what is its mapping if any, and what errors are in your logs?
Yoav Shapira
This
:260)
at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:309)
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 1:52 PM
To: Tomcat Users List
Subject: RE: New User Web.xml question
Howdy,
When I restart Tomcat
Millennium ChemInformatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 2:31 PM
To: [EMAIL PROTECTED]
Subject: RE: New User Web.xml question
Tomcat Log for web app, after I add taglibs to web.xml:
2004-02-25 13:41:02 WebappLoader
Hi,
This is an (hopefully) easy question:
I run my new web application but do not seem to get the servlet to run.
I can run a simple index.html page
(machine:port/my-web-appl/index.html) within my web application
installation so $CATALINA_HOME/webapps/my-web-appl/index.html is
found. But when I
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
You'll need to map your servlet to a URL.
John
On Mon, 14 Jul 2003 17:02:17 +0200, Astrid Wagner
[EMAIL PROTECTED] wrote:
Hi,
This is an (hopefully) easy question:
I run my new web application but do not seem to get the servlet to run.
I
Is it necessary that for each of the servlet elements in the web.xml, a
corresponding servlet-mapping element should be there? (For a context
other than root).
Thanks
-Manoj.
Hi,
No.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 5:22 PM
To: 'Tomcat Users List'
Subject: web.xml question
Is it necessary that for each of the servlet elements in the web.xml
Not really, if you have a servlet is used for startup a background process,
then you do not need a mapping section.
- Original Message -
From: Pooleery, Manoj [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, February 03, 2003 2:22 PM
Subject: web.xml question
question
Not really, if you have a servlet is used for startup a background process,
then you do not need a mapping section.
- Original Message -
From: Pooleery, Manoj [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, February 03, 2003 2:22 PM
Subject: web.xml
://localhost:8080/test/SessioinTest, it gives me an error
saying requested resource not found. What could I be doing wrong?
Thanks
-Manoj.
-Original Message-
From: Paul Hsu [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 5:24 PM
To: Tomcat Users List
Subject: Re: web.xml question
.
-Original Message-
From: Paul Hsu [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 5:24 PM
To: Tomcat Users List
Subject: Re: web.xml question
Not really, if you have a servlet is used for startup a background process,
then you do not need a mapping section.
- Original Message
assuming test is your context
name!?
...
-Original Message-
From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 4:31 PM
To: 'Tomcat Users List'
Subject: RE: web.xml question
Maybe I am doing this incorrectly - but I have a servlet class in my
WEB-INF/classes
-Original Message-
From: Haytham Samad [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 5:47 PM
To: Tomcat Users List
Subject: RE: web.xml question
Hi,
I think you need to change your url to the following:
http://localhost:8080/test/servlets/SessioinTest
class in the web.xml AND a servlet-mapping entry as well. My question is,
is this a standard being followed universally?
Thanks
-Manoj.
-Original Message-
From: Tim Moore [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 5:50 PM
To: Tomcat Users List
Subject: RE: web.xml question
.
-Original Message-
From: Paul Hsu [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 5:24 PM
To: Tomcat Users List
Subject: Re: web.xml question
Not really, if you have a servlet is used for startup a background
process,
then you do not need a mapping section.
- Original Message
Sorry that I mistyped the URL. It is not because of a typo.
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 5:36 PM
To: [EMAIL PROTECTED]
Subject: RE: web.xml question
A typo?
http://localhost:8080/test/SessionTest
instead of
http
Tim,
Thanks for the clarification there. I have not used this in a while since I
typically map my servlets to a url.
Haytham
-Original Message-
From: Haytham Samad [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 4:47 PM
To: Tomcat Users List
Subject: RE: web.xml question
that is not mapped to a specific url
pattern in your web.xml config file. I am assuming test is your context
name!?
...
-Original Message-
From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 4:31 PM
To: 'Tomcat Users List'
Subject: RE: web.xml question
Maybe I
-Original Message-
From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 5:54 PM
To: 'Tomcat Users List'
Subject: RE: web.xml question
Is there some documentation regarding this?
The Tomcat 4.1.12 release notes.
I remember this
used to work
Read recent posts on this.
At 05:49 PM 2/3/03 -0500, you wrote:
-Original Message-
From: Haytham Samad [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 5:47 PM
To: Tomcat Users List
Subject: RE: web.xml question
Hi,
I think you need to change your url to the following
Pooleery, Manoj wrote:
Is there some documentation regarding this? I remember this used to work
earlier. is this the case only with tomcat or with all app servers?
I tried out different options like putting /servlets or /servlet before the
servlet class, but the only time it worked was
On Mon, 3 Feb 2003, Pooleery, Manoj wrote:
Date: Mon, 3 Feb 2003 17:22:16 -0500
From: Pooleery, Manoj [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: web.xml question
Is it necessary that for each of the servlet elements
On Mon, 3 Feb 2003, Erik Price wrote:
Date: Mon, 03 Feb 2003 18:00:35 -0500
From: Erik Price [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: web.xml question
Pooleery, Manoj wrote:
Is there some documentation
It is since 4.1.12. Just read the release-note for changes under [4.1.12].
Regards,
Michael
-Original Message-
From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 2:54 PM
To: 'Tomcat Users List'
Subject: RE: web.xml question
Is there some documentation
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/dtd/web-app_2_2.dtd
http://java.sun.com/dtd/web-app_2_2.dtd;
we put in the web.xml file and ship the application assuming everybody
has internet connection, what is the preferred way when
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/dtd/web-app_2_2.dtd
http://java.sun.com/dtd/web-app_2_2.dtd;
we put above lines in the web.xml file and ship the application assuming
everybody
has internet connection, what is the preferred
Which version are you using? If you are using 4.x, Tomcat will redirect
the remote DOCTYPE to a local version. The remote version is never used.
-- Jeanfrancois
Dinesh Khetarpal wrote:
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
:
a.caSubject: web.xml question
08/22/02 09:39 AM
: web.xml Question
Usually the web.xml file of a web application starts with the following:
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
This URL referst to the dtd file on SUN's server. I think most XML
parsers
- Original Message -
From: Nikola Milutinovic [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 22, 2002 3:56 PM
Subject: Re: web.xml Question
Usually the web.xml file of a web application starts with the following:
!DOCTYPE web-app PUBLIC -//Sun Microsystems
-
From: Tom Bednarz [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2002 07:49
To: [EMAIL PROTECTED]
Subject: web.xml Question
Hi everybody,
Usually the web.xml file of a web application starts with the following:
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN
list@bednarzTo: [EMAIL PROTECTED]
.ch cc:
Subject: web.xml Question
On Tue, 22 Jan 2002, Tom Bednarz wrote:
Date: Tue, 22 Jan 2002 08:48:40 +0100
From: Tom Bednarz [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: web.xml Question
Hi everybody,
Usually the web.xml file of a web application starts
Hi everybody,
Usually the web.xml file of a web application starts with the following:
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
This URL referst to the dtd file on SUN's server. I think most XML parsers
like
Usually the web.xml file of a web application starts with the following:
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
This URL referst to the dtd file on SUN's server. I think most XML parsers
like
Hi
I have two tomcat instances , each one of them has it's own server.xml file
and it's context.
My directory structure is webapps -App1-WEB-INF-web.xml
-App2-WEB-INF-web.xml
Tomcat#1 has App1 context and Tomcat#2 has App2 context (defined in
On Sunday 01 April 2001 11:48, Amir Nuri wrote:
Hi
I have two tomcat instances , each one of them has it's own server.xml file
and it's context.
My directory structure is webapps -App1-WEB-INF-web.xml
-App2-WEB-INF-web.xml
Tomcat#1 has App1
Oops. I meant "comment out" in my last post, rather than "uncomment".
Sorry about that.
Ed
On Sunday 01 April 2001 15:38, Ed Gomolka wrote:
On Sunday 01 April 2001 11:48, Amir Nuri wrote:
Hi
I have two tomcat instances , each one of them has it's own server.xml
file and it's context.
My
al Message -
From: Vanja Vlaski [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 05, 2000 3:58 PM
Subject: web.xml question
Since I am new to the tomcat I have one probably stupid question.Do I have
to register all the servlets I use in web.xml or just the fir
Since I am new to the tomcat I have one probably stupid question.Do I have
to register all the servlets I use in web.xml or just the first servlet that
is called?
Also how can I call the servlet at the beging instead of index.html?
Thanks
In web.xml do I have to register all the servlets I will use or only first
one that is being invoked?
Also how do I call servlet first instead of index.html?
Thanks
From: "G.Nagarajan" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: tools for Stress Testing
l Message -
From: Vanja Vlaski [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 05, 2000 3:58 PM
Subject: web.xml question
Since I am new to the tomcat I have one probably stupid question.Do I have
to register all the servlets I use in web.xml or just the first servlet
that
i
47 matches
Mail list logo