Trond Hersløv wrote:
But, if I try using wildcards, eg. url-pattern/*foxer/url-pattern it doesent
work anymore.
Correct. Wildcards are not supported for mapping paths. Read the
servlet spec for more details.
If I try to map the servlet so that it seems like a jsp-page
with
configuring the deployment descriptor.
Could you give me a link to the servlet spec?
Thanks again,
Trond
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: 12. september 2005 20:17
To: Tomcat Users List
Subject: Re: web.xml, url-pattern
Trond Hersløv wrote:
But, if I
Trond Hersløv wrote:
Can you please be so kind and explain what the servlet spec. has to do with
configuring the deployment descriptor.
The servlet specification defines the format of the deployment
descriptor and this therefore the definitive reference for what is,
and is not, allowed.
Trond Hersløv wrote:
Can you please be so kind and explain what the servlet spec. has
to do with configuring the deployment descriptor.
Chapter SRV.13: Deployment Descriptor
Could you give me a link to the servlet spec?
Download from:
==
Date: Fri, 9 Sep 2005 01:07:37 +0200
From: =?iso-8859-1?Q?Trond_Hersl=F8v?= [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: web.xml, url-pattern
==
But, if I try using wildcards, eg.
Dewitte Rémi wrote:
Hi !
I have a simple test jsp :
%@ taglib
uri=http://java.sun.com/jsp/jstl/core;
prefix=c %
c:forEach begin=1 end=3 var=ind
h${ind} ${ind}aBaa/h${ind}
/c:forEach
When I delete my web.xml, everything works well but when I reload the context
with it, the EL
Thanks very much !
Rémi
Le Mardi 12 Juillet 2005 12:12, Nikola Milutinovic a écrit :
Dewitte Rémi wrote:
Hi !
I have a simple test jsp :
%@ taglib
uri=http://java.sun.com/jsp/jstl/core;
prefix=c %
c:forEach begin=1 end=3 var=ind
h${ind} ${ind}aBaa/h${ind}
Am Donnerstag, 17. März 2005 13:05 schrieb [EMAIL PROTECTED]:
I am requesting the following url
_http://localhost:8081/webReg.jsp_ (http://localhost:8081/webReg.jsp)
which exists and dsiplays fine. However, i want to be able to request
_http://localhost:8081/webReg_
you have to use the servlet mapping, something like this (each for
every mapping you need)
==
servlet
servlet-namemyOwnJSPPage/servlet-name
display-namemyOwnJSPPage/display-name
descriptionmy own servlet called: myOwnJSPPage/description
jsp-file/myJSP.jsp/jsp-file
/servlet
try the welcome-files element out.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 March 2005 12:05
To: tomcat-user@jakarta.apache.org
Subject: web.xml
Hi there,
i think this is a fairly easy thing to do, but i'm a newbie
to tomcat jsp.
I
I think that he need something working not just only with welcome
pages, or, maybe I have miss understood.
On Thu, 17 Mar 2005 12:15:15 -, Allistair Crossley
[EMAIL PROTECTED] wrote:
try the welcome-files element out.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Am Donnerstag, 17. März 2005 13:17 schrieb Omar Adobati:
I think that he need something working not just only with welcome
pages, or, maybe I have miss understood.
On re-reading the OP it seems to me that I misunderstood (and Allistair
propably too), not you.
Regards
mks
in web.xml for all your JSPs.
Just thinking out loud ;) ...
-Original Message-
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Sent: 17 March 2005 12:22
To: Tomcat Users List
Subject: Re: web.xml
Am Donnerstag, 17. März 2005 13:17 schrieb Omar Adobati:
I think that he need
thinking out loud ;) ...
-Original Message-
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Sent: 17 March 2005 12:22
To: Tomcat Users List
Subject: Re: web.xml
Am Donnerstag, 17. März 2005 13:17 schrieb Omar Adobati:
I think that he need something working not just only
/jsps/webJsp.jsp
Hope this helps
-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED]
Sent: 17 March 2005 12:31
To: Tomcat Users List
Subject: Re: web.xml
I'm interested in your solution Allistair, can you better explane what
my.com.ConvertToJspServlet need to make
I would achieve this be configuring my web.xml. Try this piece of code
servlet
servlet-nameMyServlet/servlet-name
jsp-file/webReg.jsp/jsp-file
/servlet
servlet-mapping
servlet-nameMyServlet/servlet-name
url-pattern/webReg/url-pattern
/servlet-mapping
So when to
From: Marshall, Bob [mailto:[EMAIL PROTECTED]
Subject: web.xml env-entry Values Not Re-read Using Tomcat Manager
I am using Apache Tomcat/5.5.1 (JVM version 1.5.0-rc-b63) on Windows 2000.
Have you tried this on a stable version of Tomcat (5.5.7) and a released
version of the JRE (5.0
Thank you François!
Reinstalled tomcat and it worked!!
Regards
Carlos
-Original Message-
From: Francois JEANMOUGIN [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 17 de Janeiro de 2005 16:12
To: Tomcat Users List
Subject: RE: web.xml parsing error SEVERE
personally it looks ok to me ;) probably a character out of place. i would try
this ..
1) run it through an XML validator
2) gradually remove elements and see when the error goes away. start with the
servlet mappings and servlets and continue ...
A.
-Original Message-
From: Carlos
To: Tomcat Users List
Subject: RE: web.xml parsing error SEVERE
personally it looks ok to me ;) probably a character out of place. i would try
this ..
1) run it through an XML validator
2) gradually remove elements and see when the error goes away. start with the
servlet mappings and servlets
java.lang.ClassNotFoundException: org.apache.catalina.Container
Ouch! Are you sure your tomcat installtion is OK? You could have a version
mismatch (between TC4 and TC5) or a jar found at two places or any other
reason why tomcat can't find this class. This is not an XML issue, this is a
class
I don't know anything about ColdFusion, but if I understand you right, you're
wanting to tack extra information onto a url beyond the file name and retrieve
it somewhere for use, like so:
http://server/context/index.cfm/someParam
Then the page is actually index.cfm, and when it is run it will
I am sure there is a better option out there but if no one else weighs in,
here are a couple of thoughts.
As for the wild card I know there are several threads addressing the do and
don't of this. Although I think you have figured them out through trial and
error.
As for one way to approach
Jacob Kjome wrote:
Quoting D. Stimits [EMAIL PROTECTED]:
Peter Crowther wrote:
From: D. Stimits [mailto:[EMAIL PROTECTED]
I'm trying to debug something, and the individual
webapps/myapp/WEB-INF/web.xml file seems to be a bit of an
enigma to me.
[...]
I went to the DTD's to see what was
written
On Wed, 29 Dec 2004 17:46:24 -0700, D. Stimits wrote:
: Jacob Kjome wrote:
:
: I think you have to set validating to true in server.xml. Otherwise, the
file
: is parsed in a non-validating fashion. Sorry, don't remember exactly where
you
: set this, but I do seem to recall something like
Mark Miesfeld wrote:
On Wed, 29 Dec 2004 17:46:24 -0700, D. Stimits wrote:
: Jacob Kjome wrote:
:
: I think you have to set validating to true in server.xml. Otherwise, the
file
: is parsed in a non-validating fashion. Sorry, don't remember exactly where
you
: set this, but I do seem to
On Wed, 29 Dec 2004 18:23:00 -0700, D. Stimits wrote:
: Mark Miesfeld wrote:
:
: From the docs at:
:
: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
:
: I'm using 5.0, not 5.5. Are the configurations for 5.5 and 5.0 identical?
It looks like it. Change the URL above to
Peter Crowther wrote:
From: D. Stimits [mailto:[EMAIL PROTECTED]
I'm trying to debug something, and the individual
webapps/myapp/WEB-INF/web.xml file seems to be a bit of an
enigma to me.
[...]
I went to the DTD's to see what was
written there. Initially I used this DTD:
!DOCTYPE web-app
Quoting D. Stimits [EMAIL PROTECTED]:
Peter Crowther wrote:
From: D. Stimits [mailto:[EMAIL PROTECTED]
I'm trying to debug something, and the individual
webapps/myapp/WEB-INF/web.xml file seems to be a bit of an
enigma to me.
[...]
I went to the DTD's to see what was
written there.
From: D. Stimits [mailto:[EMAIL PROTECTED]
I'm trying to debug something, and the individual
webapps/myapp/WEB-INF/web.xml file seems to be a bit of an
enigma to me.
[...]
I went to the DTD's to see what was
written there. Initially I used this DTD:
!DOCTYPE web-app
PUBLIC -//Sun
normal class? Is that a Servlet?
public void init(ServletConfig cfg) throws ServletException {
String s = cfg.getInitParameter(CONFIGFILE);
}
you'll need \\ instead of \
Allistair.
-Original Message-
From: Andreas Andersson [mailto:[EMAIL PROTECTED]
Sent: 06 December 2004 12:57
Allistair Crossley wrote:
normal class? Is that a Servlet?
Well, no. This class is called from another class wich in turn is used
in a jsp-page as a session bean.
Do I have to pass the value down all the way via jsp:setProperty?
--
Andreas Andersson
IT Dept.
Travelstart Nordic
[EMAIL PROTECTED]
.
-Original Message-
From: Andreas Andersson [mailto:[EMAIL PROTECTED]
Sent: 06 December 2004 13:12
To: Tomcat Users List
Subject: Re: web.xml
Allistair Crossley wrote:
normal class? Is that a Servlet?
Well, no. This class is called from another class wich in
turn is used
Hi Andreas.
You can get you parameter with:
'request.getSession().getServletContext().getInitParameter(CONFIGFILE)'
It first gets a reference on your application context and then gets the
parameter you wrote in context-param.../context-param
Fred.
-Message d'origine-
De : Andreas
Allistair Crossley wrote:
you should be acquiring your config params in the way I show, and then
setting them perhaps in the application scope, or maybe a registry, or
whatever pattern you wish. but do not make your normal classes
attempt to access any objects like servletconfig or otherise as
.
-Original Message-
From: VAN DER MARLIERE FREDERIC
[mailto:[EMAIL PROTECTED]
Sent: 06 December 2004 14:44
To: Andreas Andersson; [EMAIL PROTECTED]
Subject: RE : web.xml
Hi Andreas.
You can get you parameter with:
'request.getSession().getServletContext().getInitParameter(CO
-
From: Andreas Andersson [mailto:[EMAIL PROTECTED]
Sent: 06 December 2004 14:48
To: Tomcat Users List
Subject: Re: web.xml
Allistair Crossley wrote:
you should be acquiring your config params in the way I
show, and then
setting them perhaps in the application scope, or maybe
Your value is also available in a jsp with
%= application.getInitParameter(CONFIGFILE) %
Fred.
-Message d'origine-
De : Andreas Andersson [mailto:[EMAIL PROTECTED]
Envoyé : lundi 6 décembre 2004 13:57
À : [EMAIL PROTECTED]
Objet : web.xml
Hi all!
I'm wondering how to get the
is there an echo in here?
-Original Message-
From: VAN DER MARLIERE FREDERIC
[mailto:[EMAIL PROTECTED]
Sent: 06 December 2004 14:57
To: Andreas Andersson; [EMAIL PROTECTED]
Subject: RE : web.xml
Your value is also available in a jsp with
%= application.getInitParameter
By using context.getResourceAsStream you can always read any file in your
app directory.
-Original Message-
From: Brij Naald [mailto:[EMAIL PROTECTED]
Sent: November 25, 2004 4:02 PM
To: [EMAIL PROTECTED]
Subject: web.xml / struts-config.xml
Hi
is it possible for a filter,a servlet or
Well, that was an easy fix...
I just changed the redirect port of the Coyote/JK2 AJP 1.3 Connector on
port 8009, to 443 instead of 8443... :)
Fred
On Wed, 2004-10-06 at 22:56 -0500, Fred Blaise wrote:
Hello
I am running apache 2.0.46 with SSL with tomcat/mod_jk2, white box
linux. I do not
Thanks for getting back to me Ruth;
I've been three days with this now.
-Original Message-
From: Ruth, Brice
question.
I'm assuming these are 'part of' the repository app? Is
that right?
What should the uri-pattern be for these?
Again the browse
-Original Message-
From: Ruth, Brice
The security constraint is based on the actual URL
requested, not the resource that is being accessed. So, if
you're accessing:
http://my.host.com/ - and its actually loading
[EMAIL PROTECTED] wrote:
in my web.xml I have
servlet-mapping
servlet-namerepository/servlet-name
url-pattern/repository/url-pattern
/servlet-mapping
servlet-mapping
servlet-namegetit/servlet-name
url-pattern/getit/url-pattern
/servlet-mapping
I.e. its a one to one, so if I
[EMAIL PROTECTED] wrote:
In my applications web.xml I have
security-constraint
web-resource-collection
web-resource-nameRead-WriteArea/web-resource-name
description accessible by users of all roles/description
url-pattern/*/url-pattern!-- was /* --
On Thu, Sep 02, 2004 at 05:10:53PM -0400, Yanbin Ma wrote:
: I was using all jsp files without a web.xml under WEB-INF folder.
: Everything worked fine, until I added some servlet java classes and
: web.xml to register them. Then tomcat cannot find my jsp any more.
1/ please post a *new*
Yanbin
Where are you placing your servlets and jsp's? Also, please post your
web.xml
Yanbin Ma wrote:
Hi,
I am very new to tomcat. I have a question about web.xml.
I was using all jsp files without a web.xml under WEB-INF folder.
Everything worked fine, until I added some servlet java classes
Change the root path(By default it is webapps) in server.xml file in conf directory of
ur tomcat directory,
and configure ur servlets in web.xml file in ur context path.
ur question is not clear.
Deepa Ramamurthy [EMAIL PROTECTED] wrote:
Hello!
Do I have to map all the servlets that my
Hey there everyone!
When deploying a webapp on Tomcat I know that all of the webapp specific
config stuff goes into web.xml but, I want to know if there is a way
that one can create a seperate .xml file that will contain an
application specific config information, for example my-app.xml. The
-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: 11 August 2004 16:50
To: Tomcat Users List
Subject: RE: web.xml
Hey there everyone!
When deploying a webapp on Tomcat I know that all of the webapp specific
config stuff goes into web.xml but, I want to know if there is a way
that one can
On Wed, Aug 11, 2004 at 05:49:32PM +0200, Schalk Neethling wrote:
: config stuff goes into web.xml but, I want to know if there is a way
: that one can create a seperate .xml file that will contain an
: application specific config information, for example my-app.xml.
Someone else has suggested
Hi,
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
You should map them all. If you really dislike that, comment the
invoker servlet back in.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Deepa Ramamurthy [mailto:[EMAIL PROTECTED]
Sent: Friday, August
As the default invoker servlet is now disabled by default you have to
register your servlets in web.xml so in short, yes. If I am not correct
here somebody please correct me so I can also update my knowledge but
this is how I understand it currently.
Deepa Ramamurthy wrote:
Hello!
Do I have to
Thanks for this. But it still didn't answer my problem (which is solved --
see below). I don't have a 'welcome file'. I have a welcome page generated
by a servlet -- so you can reference it with
http://localhost:8080/context/home.myext
And I can map this no problem. But to get this to work:
On Mon, Aug 02, 2004 at 01:14:57PM +, Jon Doe wrote:
: I assumed the 'welcome-file-list' was relevant, but it only seems
: to be for real files (html, jsp, etc), not for 'virtual' URLs.
What's the servlet spec declared in your deployment descriptor?
2.3 or 2.4? Servlets as welcome files
You have overriddent the default servlet. That mean its your servlet's job to
serve static resources. (There a threads in the archives about this)
-Tim
Jon Doe wrote:
I thought I'd grasped the way the deployment descriptor works in Tomcat.
But I've still got problems I don't understand. In
this but stops CSS, and without it I get CSS but
no root mapping!!
Bugger!
Anyone have any ideas?
Joe.
From: Tim Funk [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: web.xml: my default.css file does not work correctly
Date: Sat, 31
On Sun, Aug 01, 2004 at 12:57:29AM +, Jon Doe wrote:
: Thanks for this. Hmm, so this is something that I was not aware of. (The
: O'Relilly book -- Tomcat *Definitive* Reference -- doesn't even mention
: this)
Perhaps because that's more of a general servlet concept, not really a
deep
hi QM,
just thought i'd follow up on how i ended up doing mine. it's
essentially the same strategy but instead of including everything in
the jspc generated file, i'm only including the exact segment that i
need and i'm using the plain replace task.
build file:
loadfile srcfile=web.xml
I *think* you should be able to use XML entities to include other files into
web.xml.
Tomcat does not attempt to make sure that web.xml is valid document with
respect to the dtd. There are occasions where you can put elements in web.xml
out of order, and things will work ok. But that doesn't
On Mon, Jun 28, 2004 at 08:57:49AM -0700, Woodchuck wrote:
: under the web-app section of the web.xml file, can we arbitrarily
: reference other xml files?
: that is, if i put all my servlet tags in one file (my_servlets.xml)
: and all my servlet-mapping tags in another file (my_mappings.xml), is
--- QM [EMAIL PROTECTED] wrote:
On Mon, Jun 28, 2004 at 08:57:49AM -0700, Woodchuck wrote:
: under the web-app section of the web.xml file, can we arbitrarily
: reference other xml files?
: that is, if i put all my servlet tags in one file
(my_servlets.xml)
: and all my servlet-mapping tags
Woodchuck wrote:
actually i'm using Ant too. i'm pre-compiling using the jspc task
and it generates a file containing servlet and servlet-mapping
tags. that's exactly what i need to do really, is to merge this file
with my web.xml file. if you can show me how you're doing it that
would be
On Mon, Jun 28, 2004 at 09:45:55AM -0700, Woodchuck wrote:
: actually i'm using Ant too. i'm pre-compiling using the jspc task
: and it generates a file containing servlet and servlet-mapping
: tags. that's exactly what i need to do really, is to merge this file
: with my web.xml file. if you
Subject
Re: web.xml file problem
The dtd (http://java.sun.com/dtd/web-app_2_3.dtd) says that
welcome-file-list must appear before error-page
-Tim
[EMAIL PROTECTED] wrote:
Hi,
This is my web.xml file. I dont know whats wrong here but my first session
gets expired. When I remove the error-page and welcome file list, then
Hi ,
changing /servlet/* to /* might help
Haroon
His web.xml is defined as follows:
-
servlet-mapping
servlet-name
invoker
/servlet-name
url-pattern
/servlet/*
/url-pattern
/servlet-mapping
no (excluding system memory, jvm memory, and file system memory constraints)
-Tim
Schalk wrote:
Hi there
Is there a limit to how large the web.xml can be? i.e. The amount of servlet
and servlet-mappings etc.
-
To
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 9:17 PM
To: Tomcat Users List
Subject: Re: web.xml Welcome -file and for SSL
Hi Forte,
I am also having similar type of problem. When the user types
http://www.mysite.com it should first
Corrected subject, any takers.
Thanks!!
-Original Message-
From: Forte, Graham
Sent: Tuesday, March 16, 2004 7:20 AM
To: 'Tomcat Users List'
Subject: web.xml Welcome -file and for SSL
Hello,
I am wondering if it is possible to specify a Welcome-file for an
https request. If I
Should do. This works for me with TC4 and the default welcome list.
Mark
-Original Message-
From: Forte, Graham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 3:33 PM
To: 'Tomcat Users List'
Subject: RE: web.xml Welcome-file for SSL
Corrected subject, any takers
Hi Forte,
I am also having similar type of problem. When the user types
http://www.mysite.com it should first go to the default .html page (that is
using 80 port) that I have set in the welcome-file-list in web.xml file.
Its working fine. But once the user logs in from the home page, he should
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 10:16 PM
Subject: Re: web.xml Welcome -file and for SSL
Hi Forte,
I am also having similar type of problem. When the user types
http://www.mysite.com it should
[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 10:16 PM
Subject: Re: web.xml Welcome -file and for SSL
Hi Forte,
I am also having similar type of problem. When the user types
http://www.mysite.com it should first go to the default .html page (that
is
using 80 port) that I have set
Jim Beard wrote:
I work with a rather large and comlex web application. We have been
hosting the application with Jakarta Tomcat for a while now. I am
working on upgrading our environment to 5.0.18.
Does this sound like a good idea? I notice several people are still
talking about
Tim,
Thanks for the quick reply. That is exactly what the problem was. I
understand that statically defining and mapping servlets would be much
more secure, however I'm not sure I want to map the several hundred
servlets involved
I put the invoker back in place and things are moving
Hi,
Does this sound like a good idea? I notice several people are
still
talking about configuring new 4.0 installs. Is 5.0 stable enough?
Yes, it's a good idea. Yes, 5.0 is stable enough. Questions about new
4.0 installs have been rare on this list over the past few months, so
maybe
Hi,
Can someone give me an example of how to set up my web.xml file to use
the 2.4 schema, rather than a DTD? I'd really appreciate this, as it
seems from the specs that this would turn on EL globally, which would
be
valueable to me.
?xml version=1.0 encoding=ISO-8859-1?
web-app
I can't get my file with that intro to validate, because it lacks a
DOCTYPE declaration... I'd like to be able to validate my web.xml file,
if at all possible. What should the DOCTYPE be for this?
Shapira, Yoav wrote:
?xml version=1.0 encoding=ISO-8859-1?
web-app
Howdy,
I can't get my file with that intro to validate, because it lacks a
DOCTYPE declaration... I'd like to be able to validate my web.xml
file,
if at all possible. What should the DOCTYPE be for this?
Using what tool? It's very rare top declare a DOCTYPE for a Schema
document, a DOCTYPE
Howdy,
I am wanting to learn servlets and use it in an application.I was
told
that the right way to do this is to have a separate folder(Windows XP
Home
Not necessarily true: the easiest thing is to create your webapp under
tomcat's webapps directory.
sampleapp folder has a WEBINF created by
Hi,
thanks for the mail,It is indeed WEB-INF.I will try out what you have mentioned and
get back to you.
Thanks again
AS
On Thu, 29 Jan 2004 Shapira, Yoav wrote :
Howdy,
I am wanting to learn servlets and use it in an application.I was
told
that the right way to do this is to have a
machine, with his own coded web-server, and to get a score, he calls
?Op=GetScore.
Thanks
Allan
- Original Message -
From: Harry Mantheakis [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 12:21 PM
Subject: Re: web.xml config
Hello
Hello
What is the problem?
How exactly are you calling (requesting) the servlet? - Give us the complete
URL you are using to invoke the servlet.
Harry
I have tomcat up and running fine - verified by running the example jsp
pages and servlets.
I have a servlet that I want to get working,
Message -
From: Harry Mantheakis [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 12:21 PM
Subject: Re: web.xml config
Hello
What is the problem?
How exactly are you calling (requesting) the servlet? - Give us the
complete
URL you are using
Antony,
am getting this error. Is it possible to know which web.xml caused the error
?
[ERROR] Digester - -Parse Error at line 70 column 11: The content of element
type web-app must match
Which log file is this in? It's probably in the log file for a
particular context. If that's the case, then
this mean
?
Antony Paul
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:42 PM
Subject: Re: web.xml parser error
Antony,
am getting this error. Is it possible to know which web.xml caused the
error
interesting thing is
that every time it is pointing to last line of the file. What does this mean
?
Antony Paul
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:42 PM
Subject: Re: web.xml parser error
PROTECTED]
Sent: Wednesday, November 05, 2003 7:52 PM
Subject: Re: web.xml parser error
(probably) http://jakarta.apache.org/tomcat/faq/misc.html#baddtd
-Tim
Antony Paul wrote:
It is printed on stderr.log. Every context is working. I found the xml
file
by editing each xml file and looking
Subject: Re: web.xml parser error
(probably) http://jakarta.apache.org/tomcat/faq/misc.html#baddtd
-Tim
Antony Paul wrote:
It is printed on stderr.log. Every context is working. I found the xml
file
by editing each xml file and looking for change of line number in error
message. Servlet mapping
, November 05, 2003 8:12 PM
Subject: Re: web.xml parser error
Your xml is not valid with respect to the dtd. IE can say a document is
well-formed but can't say a document is valid.
All servlet elements must appear before any servlet-mapping
See http://java.sun.com/dtd/web-app_2_3.dtd
-Tim
Just follow the specs at ...
http://java.sun.com/products/servlet/
http://java.sun.com/products/jsp/
-Tim
Antony Paul wrote:
It is solved. I did as per your suggestion. Thank for your reply.
I would like to know what are the requirements to become a JSP/Servlet
programmer/administrator.
vi (I'm old school, and vi is not web based)
-Tim
Luiz Ricardo wrote:
Hi everyone,
I would like to know if someone here uses some free application to
edit web.xml files, likely this application was web-based.
I also would like to know if Tomcat Team intends to do something like
this.
Howdy,
Oh you beat me to it -- emacs ;)
(From another old-schooler)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 8:46 AM
To: Tomcat Users List
Subject: Re: web.xml editor
vi (I'm old school
I use UltraEdit32, and it works fine for me.
- Original Message -
From: Luiz Ricardo [EMAIL PROTECTED]
To: Tomcat-Users List [EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 07:29 AM
Subject: web.xml editor
Hi everyone,
I would like to know if someone here uses some free
echo Oh you beat me to it -- emacs ;) | sed -e s/emacs/cat, sed/g
(Shiver...)
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 2:49 PM
To: Tomcat Users List
Subject: RE: web.xml editor
Oh you beat me to it -- emacs
NetBeans IDE 3.5.1 (It's free got ever'thin)
Jext editor @ www.jext.org (a good free java xml/html editor)
-Original Message-
From: Luiz Ricardo [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 5:30 AM
To: Tomcat-Users List
Subject: web.xml editor
Hi everyone,
I
Luiz,
You should try oXygen XML editor from http://www.oxygenxml.com.
It can run stand-alone or as an Eclipse plug-in. (Eclipse is an IDE
that IBM
open sourced; also worth a look).There is a 30 day trial version of
oXygen
and if you decide to purchase it's reasonable (~ $45 US).
-Robert
://www.xmlcooktop.com/
(It's only for Windows though)
-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 10:44 AM
To: Tomcat Users List
Subject: Re: web.xml editor
Luiz,
You should try oXygen XML editor from http://www.oxygenxml.com.
It can run stand
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 12:45 PM
To: 'Tomcat Users List'
Subject: RE: web.xml editor
Luiz,
Don't pay if you don't have to. Eclipse has many XML Editors
but the best I've found is called BuddyXML. If you go to:
http
1 - 100 of 332 matches
Mail list logo