a file called sun-web.xml in WEB-INF along with the standard
web.xml. My question is: will this file which Tomcat doesn't know
anything about cause any problems with Tomcat or will Tomcat simply
ignore it?
Thanks,
Rob
to get Glassfish to assign the correct context root I have
included a file called sun-web.xml in WEB-INF along with the standard
web.xml. My question is: will this file which Tomcat doesn't know
anything about cause any problems with Tomcat or will Tomcat simply
ignore it?
Tomcat should ignore
in server.xml. In Glassfish, the default is the application name. In
order to get Glassfish to assign the correct context root I have
included a file called sun-web.xml in WEB-INF along with the standard
web.xml. My question is: will this file which Tomcat doesn't know
anything about cause any
for the servlet asking for.
So TC isn't able to allocate the serlet(of jsp)class requested.
I want to solve this problem to initialize the web.xml by hand, so I can
check whether the servlet classes are found and set.
I hope I made things clear this way. And I sure hope you can give me some
advice/help
Hi,
Is it possible to call the digester of the web.xml by hand?
Like you can override the createstartdigester method in catalina.java?
Regards,
Auke Noppe
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.13/1074
Is it possible to call the digester of the web.xml by hand?
Hmm, I can imagine a couple of ways how I am able to call it, thus it
is theoretically possible.
Why do you need it? Do you need to go that way?
See, that
1. You have not said about your reasons.
2. You have not said about your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Auke,
Auke Noppe wrote:
Is it possible to call the digester of the web.xml by hand?
Like you can override the createstartdigester method in catalina.java?
If you need information from web.xml, you could always parse it yourself
by hand or using
Auke Noppe [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Is it possible to call the digester of the web.xml by hand?
Like you can override the createstartdigester method in catalina.java?
As the other posters have said, it is difficult to see a use case
[EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, October 17, 2007 3:37 PM
Subject: custom web.xml digester call
Hi,
Is it possible to call the digester of the web.xml by hand?
Like you can override the createstartdigester method in catalina.java?
Regards,
It sounds like you doing
- Original Message -
From: Michael Wyraz [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Friday, May 25, 2007 5:36 AM
Subject: If xerces is in WEB-INF/lib this is used for deployment/web.xml
parsing on tomcat6 (bug or feature?)
Hi,
today i played around with tomcat 6 (latest).
I have
/
description The requested resource (/LoginApp-1.0-SNAPSHOT/) is not
available.
Apache Tomcat/5.5.23
my web.xml looks like this:
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http
The requested resource (/LoginApp-1.0-SNAPSHOT/) is not
available.
Apache Tomcat/5.5.23
my web.xml looks like this:
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http
-1.0-SNAPSHOT/
description The requested resource (/LoginApp-1.0-SNAPSHOT/) is not
available.
Apache Tomcat/5.5.23
my web.xml looks like this:
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
pinky88 wrote:
[...]
applicationWebConfig
SEVERE: Parse error in application web.xml file at
jndi:/localhost/LoginApp-1.0-SNAPSHOT/WEB-INF/web.xml
org.xml.sax.SAXParseException: XML document structures must start and end
within the same entity.
[...]
applicationWebConfig
SEVERE: Occurred
SEVERE: Parse error in application web.xml file at
that's your error, meaning you have an error in your web.xml
if that's the one you posted previously:
you missed the entry
/web-app
at the end.
if you're using the standard-realm, you can lookup your passwords at
$catalina_home/conf/tomcat
Thanks very much everyone, including the missing /web-app solved the
problem! sorry for not letting you all know sooner, had to attend to
something!
Thanks a million,
Karen =)
Gregor Schneider wrote:
SEVERE: Parse error in application web.xml file at
that's your error, meaning you have
p_2_3.dtd);
Thanks again for your assistance, it helped me greatly.
Regards,
Andrew
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 July 2007 1:48 PM
To: users@tomcat.apache.org
Subject: Re: WEB.XML file parsing
Andrew Friebel [EMAIL PROTECTED] wrote
check DTD, probably ok if all you doing is adding a
few parameters.
- Original Message -
From: Andrew Friebel [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Monday, July 02, 2007 3:42 AM
Subject: WEB.XML file parsing
I am having trouble parsing a web.xml file using SAX
I apologise for my lack of information. What you have given me has helped,
however a new issue has arisen from it.
I did turn off validation as per the other suggestion from my post. This
allowed me to parse the web.xml file, however, I still need to save the
document declaration. When you
the web.xml file, however, I still need to save the
document declaration. When you turn off validation, I was unable to
rebuild
DTD reference. Just a note for others who are watching this post.
I am running Java 1.6.0, and I am writing a standalone application. I
have
inserted the code snippet
I am having trouble parsing a web.xml file using SAX. The war file will
deploy with no hassles, however, I am writing a local program that will
allow me to change the web.xml file locally before distribution.
My problem is the DTD definition in the web.xml file. I require the DTD
file
Andrew Friebel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am having trouble parsing a web.xml file using SAX. The war file will
deploy with no hassles, however, I am writing a local program that will
allow me to change the web.xml file locally before distribution.
My
is we also want different data (particularly the security role data) in the different web.xml files but these are stuck in the .war file.So the question is:Can we use the context file to alter the security role data (or more accurately override it) in the web.xml file depending on which company
From: Steven Probetts [mailto:[EMAIL PROTECTED]
Subject: Deploying single .war file for use by multiple
contexts - how do i override web.xml
Can we use the context file to alter the security role data
(or more accurately override it) in the web.xml
http://web.xml/ file depending
I allow Eclipse to generate and update my web.xml file for me as part of a
dynamic web project. When it generates the web.xml, it uses project facets to
add namespaces to my web.xml file as below:
web:web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns=http://java.sun.com/xml/ns
Hi,
today i played around with tomcat 6 (latest).
I have an old webapp wich used Xerces 2.0.0. The Webapp deploys fine and
runs without Problems until i try to reload the Context.
In this case i get a NullpointerException fro xerces when it tries to
load web.xml via JNDI.
I played around
window if tomcat encounters any kind of exception thrown by
org.apache.myfaces.* but I do not know how to use wildcards in the
web.xml file for error pages.
It seems like the error-page tag needs a fully qualified exception class and
the following will not work.
any ideas?
error-page
. There is no information in the log files etc.
What I would like to do is to somehow print out a stack trace in the
browser
window if tomcat encounters any kind of exception thrown by
org.apache.myfaces.* but I do not know how to use wildcards in the
web.xml file for error pages.
It seems like the error-page
in the log files etc.
What I would like to do is to somehow print out a stack trace in the
browser
window if tomcat encounters any kind of exception thrown by
org.apache.myfaces.* but I do not know how to use wildcards in the
web.xml file for error pages.
It seems like the error-page tag needs
From: Riyaz Shaikh [mailto:[EMAIL PROTECTED]
Subject: Error allocating a servlet instance after editing web.xml.
Problem: If I make any change to my application's web.xml (even as
small as a single space), I can't access any of Tomcat's
pages/servlets.
Is your editor generating UTF-16
.
Thanks,
Riyaz
On 5/7/07, Martin Gainty [EMAIL PROTECTED] wrote:
Please display the web.xml for the webapp
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received
of the world, and it just does not
work for me at least. Pity, as not much more is needed.
I could indeed scan web.xml given the inadequate API
(rolesRequiredForUrl(), rolesForUser() etc.). (Scanning is possible but
ugly -- needs duplication of URL pattern processing).
But I prefer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Berglas, Anthony wrote:
If you really want to hack around with authentication and
authorization, check out securityfilter
(http://securityfilter.sourrceforge.net). The code is portable
across servlet containers, and especially across
in web.xml
and then quickly add users to the role in tomcat-users.xml and have
provided a few simple functions like isUserInRole, which for the simplest of
web sites are not even needed.
Its simple, easy, and probably good enough for most things a tomcat
developer needs... very nice of them
En l'instant précis du 27/03/07 02:22, Berglas, Anthony s'exprimait en
ces termes:
Tomcat seems to only check the Authorization: headers if there is some
security-constraint explicitly declared in web.xml. However, it
appears that the optimization has been incorrectly implemented because
.
2. Grey out or not grey out the menu item for page P.
Right, I understand.
We only want to specify the fact that Role R is required for Page P
ONCE. Declarations in web.xml handle 1. but not 2.
This is because the servlet spec does not have any way to ask what roles
will be required
that.
What you might want to parse is the authorization mapping, which usually
resides in web.xml. The OP wants to put this somewhere else (not sure
why) and then have Tomcat enforce it (which ain't gonna happen).
If you writing code at this level forget about that config
stuff. you
Subject: Basic Auth without web.xml security-constraint not working
Tomcat seems to only check the Authorization: headers if there is some
security-constraint explicitly declared in web.xml. However, it
appears that the optimization has been incorrectly implemented because
it does not then recheck
Tomcat seems to only check the Authorization: headers if there is some
security-constraint explicitly declared in web.xml. However, it
appears that the optimization has been incorrectly implemented because
it does not then recheck the header if request.isUserInRole(...) etc.
are called. So
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anthony,
Berglas, Anthony wrote:
Tomcat seems to only check the Authorization: headers if there is some
security-constraint explicitly declared in web.xml. However, it
appears that the optimization has been incorrectly implemented because
Hi,
I have created a web application that is running fine with the Invoker
servlet settings enabled in the Tomcat 5.5\conf\web.xml. Next, I tried
the following:
1. Added a web.xml in the WEB-INF directory of my application.
2. Re-started my server.
3. Attempted to access the homepage of my
://www.nabble.com/How-to-get-hold-of-security-information-from-web.xml-tf3350216.html#a9328278
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
Gentlepeople,
I am trying to add a bit of extra security at the application level. I would
like to leverage the information that is defined in the security-constraint
(et al) web.xml settings.
I found the things I need in org.apache.catalina.deploy but I can not get
bootstrapped from
:
Gentlepeople,
I am trying to add a bit of extra security at the application level. I
would like to leverage the information that is defined in the
security-constraint (et al) web.xml settings.
I found the things I need in org.apache.catalina.deploy but I can not get
bootstrapped from
Peter Coppens wrote:
Works fine, but what worries me is that I have to make this a priviliged web
app now and I am unclear as to what the consequences of that are. The Tomcat
doc is fairly brief on the meaning of the privileged attribute of the
context element so that did not reallly help.
I run java 6 on linux and is testing the tomcat 6.0.9 and discovered
that the schema declarations for the examples/managers etc and (maybe)
the default web.xml does not point to :
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd. The most of them
point to http://java.sun.com/xml/ns/j2ee/web
Per Jonsson wrote:
I run java 6 on linux and is testing the tomcat 6.0.9 and discovered
that the schema declarations for the examples/managers etc and (maybe)
the default web.xml does not point to :
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd. The most of them
point to http
Per Jonsson wrote:
Hi!
Good, it's always nice to know your not stupid :-)
What's the problem with the parser in java6?
I know Java 1.5 has problems and I thought they were still there in
1.6 but that could be my poor memory as I get old ;). If you don't get
errors with xml validation
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Bill Barker wrote:
[EMAIL PROTECTED] wrote in message
However, when I try to deploy this webapp to Websphere 6.0.x, even after
defining a custom property for 'region' in the server profile, I get a:
java.io.FileNotFoundException:
I've inherited a webapp which includes a system property reference (ie.,
region) in its web.xml (BTW, this context-param is used to lookup a
Spring context file---e.g. /WEB-INF/jmsContext-eur.xml)
context-param
param-namecontextConfigLocation/param-name
param-value
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I've inherited a webapp which includes a system property reference (ie.,
region) in its web.xml (BTW, this context-param is used to lookup a
Spring context file---e.g. /WEB-INF/jmsContext-eur.xml)
context-param
param
Hello,
I am developing a system in which every webapp deployed to Tomcat uses JSF.
So, I decided to move the common JSF configuration from each
webapp/WEB-INF/web.xml
into the TOMCAT/conf/web.xml file.
At startup time everything looks fine. Here's an example of the output
I see for each
Message-
From: Bryan Basham [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 1:10 PM
To: Tomcat Users List
Subject: Configuring JSF in the TOMCAT/conf/web.xml for all webapps
Hello,
I am developing a system in which every webapp deployed to Tomcat uses
JSF.
So, I decided
JSF in the TOMCAT/conf/web.xml for all webapps
Hello,
I am developing a system in which every webapp deployed to Tomcat uses
JSF.
So, I decided to move the common JSF configuration from each
webapp/WEB-INF/web.xml
into the TOMCAT/conf/web.xml file.
At startup time everything looks fine. Here's
-Original Message-
From: Bryan Basham [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 3:52 PM
To: Tomcat Users List
Subject: Re: Configuring JSF in the TOMCAT/conf/web.xml for all webapps
Hello Tim,
OK, but if the JSF jar files are *only* in TOMCAT/common/lib
thank you, I will investigate securityfilter
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
John Caron wrote:
Instead of declaring which URLs need to be secure in web.xml, I would
like to determine this when the URL comes in, but then use Tomcat to
deal
Hello:
Instead of declaring which URLs need to be secure in web.xml, I would like to
determine this when the URL comes in, but then use Tomcat to deal with the
authentication if it is needed. Can anyone give me any pointers on where to get
started with that?
thanks,
John Caron
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
John Caron wrote:
Instead of declaring which URLs need to be secure in web.xml, I would
like to determine this when the URL comes in, but then use Tomcat to
deal with the authentication if it is needed. Can anyone give me any
pointers
Hi everyone,
Is it possible with Tomcat to hide an application behind a Basic
Authentication (or something similar), without modifying the web
application itself (also not modifying web.xml)?
I am thinking about adding a Valve or something to the context.xml. The
content to be protected would
Yes, there is something similar:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
Take a look at RemoteAdressFilter and RemoteHostFilter. They grant
access depending on the IP / adress.
However, you will have to write your own filter to accomplish what you
want. Taking a look ath the
On 12/23/06, Gregor Schneider [EMAIL PROTECTED] wrote:
Yes, there is something similar:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
Take a look at RemoteAdressFilter and RemoteHostFilter. They grant
access depending on the IP / adress.
However, you will have to write your own
23, 2006 9:48 AM
Subject: Re: Basic Auth without modification to web.xml?
On 12/23/06, Gregor Schneider [EMAIL PROTECTED] wrote:
Yes, there is something similar:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
Take a look at RemoteAdressFilter and RemoteHostFilter. They grant
application itself (also not modifying web.xml)?
I am thinking about adding a Valve or something to the context.xml.
The
content to be protected would just be the whole application, and there
is only one user/role needed that has access. Is there something like
this possible
Hi,
I am developing web apps for tomcat 5.5.7 and changes are being made to
servlets which are updated in real-time by Tomcat. The problem is there
seems to be no way of predicting how long before changes to web.xml are
picked up, i.e. if I add a new servlet. Sometimes it's immediate
Hello,
Here is my situation: I have audio files that are not named foo.wav
but foo. As a consequence, Tomcat does not define a content-type for
these files as audio/x-wav since they are not matching with the
extension .wav. Finally, they are not correctly interpreted by the
client.
I have
() in Java EE 5. I have this situation:
URL matches http://server/app/page-key-word-string
These URLs generates 404 Tomcat error page, which redirects (according
to web.xml settings) to redirectServlet, where I get the client URL by
calling request.getRequestURL() and then I parse the
page-key
have a problem with change of the method
HttpServletRequest.getRequestURL() in Java EE 5. I have this situation:
URL matches http://server/app/page-key-word-string
These URLs generates 404 Tomcat error page, which redirects (according
to web.xml settings) to redirectServlet, where I get the client
Hello,
I have a problem with change of the method
HttpServletRequest.getRequestURL() in Java EE 5. I have this situation:
URL matches http://server/app/page-key-word-string
These URLs generates 404 Tomcat error page, which redirects (according
to web.xml settings) to redirectServlet, where I
Hi guys,
I would like to find some documentation about the web.xml. I would
like to understand all the directive like servlet or filter
etc... I found some in the apache web site, but not all.
Any suggestion pls
cheers
Roberto Marra
.
Regards,
Dies
Roberto Marra wrote:
Hi guys,
I would like to find some documentation about the web.xml. I would
like to understand all the directive like servlet or filter
etc... I found some in the apache web site, but not all.
Any suggestion pls
cheers
Roberto Marra
Dies and Roberto,
I've actually found that the web.xml DTD itself is quite helpful.
For instance: http://java.sun.com/dtd/web-app_2_3.dtd
There are lots of comments in there that tell you what everything means.
Note that you might have to pick a different version from the one shown
above
I am missing a key piece of information that I have not been able to
find in the past few days of searching. How does the security-role
and role-name tag work in relation to the auth-constraint and
role-name tag? Do they have any relation?
I am trying to change the security model of a
From: Mike Keller [mailto:[EMAIL PROTECTED]
Subject: Understanding of the security-role tag in the web.xml
How does the security-role and role-name tag
work in relation to the auth-constraint and
role-name tag? Do they have any relation?
This seems to be explained in section 12
Chuck,
Thank you for your quick response. I have looked at the section 12
specifically 12.3 and 12.4 but I must be missing something. I don't
understand how the security-role tag is use full when you are
already restricting a resource through the auth-constraint. Is this
meant simply to give
From: Mike Keller [mailto:[EMAIL PROTECTED]
Subject: Re: Understanding of the security-role tag in the web.xml
I have looked at the section 12 specifically 12.3 and 12.4
but I must be missing something.
Really have to read the whole section plus other bits and pieces of the
spec to get
There is no way to do this in tomcat. The alternative is the link you
provided
http://wiki.apache.org/tomcat/HowTo#head-45c3314139cb900ddd43dde2ff671532e6e844bc
OR
Use JNDI to do the lookup. You'll do this via *|*env-entry in web.xml
Then this environment entry can be set in web.xml
(tomcat 5.x)
Why are 'context.xml' and 'web.xml' bits stored in different files? What
is the difference in their scope?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
From: Jon Yeargers [mailto:[EMAIL PROTECTED]
Subject: web.xml vs context.xml - diff?
(tomcat 5.x)
Why are 'context.xml' and 'web.xml' bits stored in different
files? What is the difference in their scope?
The web.xml location and content are defined by the servlet spec (which
you
MC Moisei wrote:
Hi,
I'm using tomcat for dev. My question is for a dev environment. I have
context defined in conf %TOMCAT_HOME%\conf\Catalina\localhost. Is there
a way to specify what's the web.xml tomcat should use ? I use tomcat for
dev but I target Weblogic for production
Any tips on the matter ?
From: Mark Thomas [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: Context and web.xml
Date: Mon, 21 Aug 2006 07:27:32 -0400
MC Moisei wrote:
Hi,
I'm using tomcat for dev. My question
so if you to start off in context.xml with a path specification
Context path=/urlPath ...
later on in web.xml you have defined the servlet-mapping as
servlet-mapping
servlet-nameurlPath/servlet-name
url-pattern/servlet/urlPath/url-pattern
/servlet-mapping
you would
I'm looking to be able to tell context where is the web.xml.
I have two web.xmls one for tomcat and one for weblogic.
web_tc.xml
web_wls.xml
I want to tell tomcat to look into web_tc.xml
From: Martin Gainty [EMAIL PROTECTED]
Reply-To: Martin Gainty [EMAIL PROTECTED]
To: Tomcat Users List
Hi,
I'm using tomcat for dev. My question is for a dev environment. I have
context defined in conf %TOMCAT_HOME%\conf\Catalina\localhost. Is there a
way to specify what's the web.xml tomcat should use ? I use tomcat for dev
but I target Weblogic for production and such feature would be quite
I believe this is just what the Administration webapp does.
Available at /admin on your default Tomcat install.
- Original Message -
From: Feris Thia [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, August 18, 2006 9:56 PM
Subject: Writing Web.xml
Is it possible to change web.xml or context.xml entry at runtime ?? I need
to write administration configuration for my web application that will
change those xml's entries.
Thanks before.
--
Regards,
Feris
PT. Putera Handal Indotama
JL. KH. Moh. Mansyur No. 11 Blok B.8-12
Telp. +62-21-631 6688
It looks like the Tomcat Administration webapp lets you edit environment
entries. That's a GUI.
- Original Message -
From: Mark Thomas [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, August 16, 2006 8:40 PM
Subject: Re: web.xml config
Rob Elliott
Hello,
I need to deliver a WAR file to a customer. The cutomer will ultimately
need to change the webapp configuration however they would like to do so
without having to compile a new WAR file. Is it possible to change
web.xml config parameters after deployment, ideally using a GUI?
Thanks,
Rob
I am trying to override the web.xml SecurityConstraints using the
Context addConstraint/removeConstraint methods. The context.xml
contains the following element
WatchedResourceWEB-INF/web.xml/WatchedResource
I tried the following to override the SecurityConstraints:
// adding
to compile a new WAR file. Is it possible to change
web.xml config parameters after deployment, ideally using a GUI?
Thanks,
Rob.
Information contained in this e-mail and any attachments are intended for
the use of the addressee only, and may contain confidential information of
Ubiquity Software
Rob Elliott wrote:
Hello,
I need to deliver a WAR file to a customer. The cutomer will ultimately
need to change the webapp configuration however they would like to do so
without having to compile a new WAR file. Is it possible to change
web.xml config parameters after deployment, ideally
I entered below section in my web.xml because of not repeating
%@ taglib=blaBla in each jsf page:
jsp-config
taglib
taglib-urihttp://java.sun.com/jsf/core/taglib-uri
tablig-location/tld/myfaces_core.tld/taglib-location
/taglib
taglib
taglib-urihttp://java.sun.com/jsf
The taglib-location element is relative to the context as in
/WEB-INF/tld/myfaces_core.tld
--David
Ach wrote:
I entered below section in my web.xml because of not repeating
%@ taglib=blaBla in each jsf page:
jsp-config
taglib
taglib-urihttp://java.sun.com/jsf/core/taglib-uri
Thanks It works now. I have a syntax error in tags too!
--
View this message in context:
http://www.nabble.com/How-to-define-a-local-TLD-in-web.xml-%28DRY-principle%21%21%21%29-tf2077762.html#a5725676
Sent from the Tomcat - User forum at Nabble.com
the web.xml - however the servlet is loaded
AFTER the filter is initialized (even when no web page
has been requested). Is there a better approach then
using a init servlet ?
The problem i currently have, is that im using a 3rd
party Security Filter which has no knowledge of my
application and relies
to do this ?
OR is it possible to somehow init some webapps params
before the Filter is loaded ? I tried to use a Servlet
and used the load-on-startup1/load-on-startup
within the web.xml - however the servlet is loaded
AFTER the filter is initialized (even when no web page
has been requested
is loaded ? I tried to use a
Servlet
and used the load-on-startup1/load-on-startup
within the web.xml - however the servlet is loaded
AFTER the filter is initialized (even when no web
page
has been requested). Is there a better approach
then
using a init servlet ?
The problem i currently
no matching
taglib-uri. The taglib uri must match a taglib-uri for a taglib
specified in the web.xml or implicitly in a taglib.tld in the tag jar.
The taglib contains the definition:
urihttp://dev.test.de/test/uri
so it should be fine. web.xml is defined with
web-app version=2.4 ...
so
http://java.sun.com/dtd/web-app_2_3.dtd
wolverine my wrote:
Hi!
May I know which specification that describe the web.xml contents?
And where can we download it?
-
To start a new topic, e-mail: users@tomcat.apache.org
Hi!
May I know which specification that describe the web.xml contents?
And where can we download it?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
wolverine my wrote:
Hi!
May I know which specification that describe the web.xml contents?
And where can we download it?
Depends on the version of Tomcat
3.x 2.2
4.x 2.3
5.x 2.4
All available from
http://java.sun.com/products/servlet/reference/api/index.html
Mark
501 - 600 of 668 matches
Mail list logo