2010/4/1 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com:
I also have roughly 300+ similar pages across folder1 /folder 2
You will either need something to generate that web.xml for you,
or some person to type in those 300 mappings (if they are all different),
or use some Filter/Servlet
Hi
SPEC :
O/s UNIX / WIN2000 / Linux
JDK1.5
TOMCAT 5.0.20.0
Question: How to hide the name ( other then index.jsp ) of JSP in URL for
a web application ?
For a valid reason I have 5 jsp folders.
All 5 jsp folders Do NOT have index.jsp as primary folder but other names.
Any ideas plz ...
do you want the other names to be default?
e.g. http://domain.com/folder/soepage.jsp == http://domain.com/folder/
if so, you can add soepage.jsp to the list of default pages in web.xml
On Wed, Mar 31, 2010 at 8:16 PM, Karthik Nanjangude
karthik.nanjang...@xius-bcgi.com wrote:
Hi
SPEC :
O
://domain.com/folder4/
http://domain.com/folder5/axbyd.jsp == http://domain.com/folder5/
How To *list of default pages in web.xml*
With regards
Karthik
-Original Message-
From: Andrew Bruno [mailto:andrew.br...@gmail.com]
Sent: Wednesday, March 31, 2010 3:19 PM
To: Tomcat Users List
Subject
hm, might be a bit of typo-work, but why not specify them in your
deployment-descriptor (aka web.xml)?
example (snippet):
servlet
description/description
display-nameSomeName/display-name
servlet-nameMyServlet/servlet-name
2010/3/31 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com:
Let us say I have
http://domain.com/folder1/abcd.jsp == http://domain.com/folder1/
http://domain.com/folder2/xyz.jsp == http://domain.com/folder2/
(..)
You want to have requests to http://domain.com/folder1/ to be
processed by
Hi
I would want to request a jsp page from another page as following
http://domain.com/folder1/abcd.jsp to http://domain.com/folder2/xyz.jsp
Using Javascript / action
But I need both the JSP pages hidden in the URL .. :(
With web.xml configurations should each configurations need
Hi,
If I have more than one security-constraint tags in my web.xml (some with, some
without auth-constraints), which one takes precedence for a specific request?
Thanks,
Mats
From: Mats Eklund [mailto:mats.ekl...@yahoo.com]
Subject: security-constraint in web.xml - order/priority
If I have more than one security-constraint tags in my web.xml (some
with, some without auth-constraints), which one takes precedence for a
specific request?
Generally, the longest
I have deployed my ROOT.war file. Is there any way to access the web.xml.
I save db login info in it and I would like to be able to deploy the same
ROOT.war file on different sites and only change the web.xml after.
Soren
2010/2/27 Søren Blidorf so...@nolas.dk:
I have deployed my ROOT.war file. Is there any way to access the web.xml.
I save db login info in it and I would like to be able to deploy the same
ROOT.war file on different sites and only change the web.xml after.
ssh + vi should do it, eh
Hi.
Thanks, but I dont know what you mean.
Kind of newbie in .war
-Oprindelig meddelelse-
Fra: Hassan Schroeder [mailto:hassan.schroe...@gmail.com]
Sendt: 27. februar 2010 19:04
Til: Tomcat Users List
Emne: Re: ROOT.war - how to access web.xml
2010/2/27 Søren Blidorf so...@nolas.dk
2010/2/27 Søren Blidorf so...@nolas.dk:
Thanks, but I dont know what you mean.
Assuming your war is being expanded, log in and edit the file.
Or is that an incorrect assumption?
--
Hassan Schroeder hassan.schroe...@gmail.com
twitter: @hassan
When it is deployed the only thing I see when I FTP the site is the ROOT.war
file.
-Oprindelig meddelelse-
Fra: Hassan Schroeder [mailto:hassan.schroe...@gmail.com]
Sendt: 27. februar 2010 19:10
Til: Tomcat Users List
Emne: Re: ROOT.war - how to access web.xml
2010/2/27 Søren Blidorf so
a bit.
Though you could manually unpack it somewhere, edit. repack and
redeploy.
Otherwise, you really need to configure the web.xml as part of your
build process for each location.
--
Hassan Schroeder hassan.schroe...@gmail.com
twitter: @hassan
From: Søren Blidorf [mailto:so...@nolas.dk]
Subject: ROOT.war - how to access web.xml
I have deployed my ROOT.war file. Is there any way to access
the web.xml.
I save db login info in it and I would like to be able to
deploy the same ROOT.war file on different sites and only
change
Great. I'll try that.
Thanks alot
-Oprindelig meddelelse-
Fra: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sendt: 27. februar 2010 19:21
Til: Tomcat Users List
Emne: RE: ROOT.war - how to access web.xml
From: Søren Blidorf [mailto:so...@nolas.dk]
Subject: ROOT.war - how
By the way.
I also have info as init-param in my struts servlet configured in the
web.xml
So I guess I should just loose the getServlet.getInitParameter and just use
getServletContext().getInitParameter???
By the way I dont have access to the conf. I guess I have access to ROOT or
webapps. Can
I have set Session-Config/session-timeout eleemnt's value in application's
web.xml as 100. However, the sessions seem to timeout in the default 30
minutes. However, setting this value lesser than 30, seems to work fine.
Appreciate help on this.
Thanks Best Regds.-
Ravi Sharda
Hi,
I'm trying to figure out how to use/modify environment entries. I have a
Tomcat5.5 application and I don't understand why the env entries appear in
two different xml files, and with different values.
For example, I have this env-entry in my myapp/WEB-INF/web.xml file:
env-entry
env-entry
From: che10234 [mailto:cheni...@rogers.com]
Subject: environment entries web.xml localhost/context.xml confusion
I don't understand why the env entries appear in
two different xml files, and with different values.
Tomcat doesn't create these; the developer (or administrator) does. You have
Tomcat doesn't create these; the developer (or administrator) does. You
have the choice of placing environment entries in either location. IIRC,
the ones in the Context element will supersede the ones in web.xml,
allowing the administrator to replace any the developer set without
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
On 1/4/2010 6:45 PM, Joe Hansen wrote:
I just forgot to enable the HTTPS Connector! Login form is working now
over https.
Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2
redirectPort=8443 /
Connector port=8443
Hey all,
We are using Tomcat 6.0 / Apache 2.2. We would like the user to login
over HTTPS rather than plain HTTP.
So, I have defined the following security-constraint in the web.xml
file of our web application:
security-constraint
display-nameLogin/display-name
From: Joe Hansen [mailto:joe.hansen...@gmail.com]
Subject: Help with security-constraint in web.xml
What do I need to do so that the user is directed to
https://ourwebsite.com/spring_security_login instead
Fix the redirectPort attribute in your Connector elements in conf/server.xml.
BTW
please elaborate on how
to do it or give me pointers on how it could be done?
Thank you!!
Joe
On Mon, Jan 4, 2010 at 2:57 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Joe Hansen [mailto:joe.hansen...@gmail.com]
Subject: Help with security-constraint in web.xml
What do I
From: Joe Hansen [mailto:joe.hansen...@gmail.com]
Subject: Re: Help with security-constraint in web.xml
You were saying that I should handle the forced HTTPS redirection of
certain pages on the httpd end, right?
No, I said you could handle the SSL encryption/decryption in httpd
From: Joe Hansen [mailto:joe.hansen...@gmail.com]
Subject: Re: Help with security-constraint in web.xml
Only a couple of pages need to be served on HTTPS on our website. All
the remaining pages could be accessed using just HTTP.
Then I'd use what you've got and not try to optimize what
the login form.
I'm sure there must be a simple explanation. Chuck, please help me out!!
Thank you,
Joe
On Mon, Jan 4, 2010 at 3:25 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Joe Hansen [mailto:joe.hansen...@gmail.com]
Subject: Re: Help with security-constraint in web.xml
From: Joe Hansen [mailto:joe.hansen...@gmail.com]
Subject: Re: Help with security-constraint in web.xml
However, when I enter the login credentials and submit the
form, nothing happens. Somehow changing the redirectPort
seems to have broken the login form.
Turn on the AccessLogValve to see
-constraint in web.xml
However, when I enter the login credentials and submit the
form, nothing happens. Somehow changing the redirectPort
seems to have broken the login form.
Turn on the AccessLogValve to see what's reaching Tomcat.
Are you using httpd for anything useful? If all it's doing
On 15/12/2009 06:45, Shaun Senecal wrote:
I have a blanket security-constraint defined in my conf/web.xml,
followed by a couple more specific security-constraints. However, it
appears that the more specific ones are not being picked up. When I
break in FormAuthenticator.invoke(), I can see
From: Pid [mailto:p...@pidster.com]
Subject: Re: exclusions from conf/web.xml are not being picked up
The /agentapp/ could be deployed in it's own war, or exploded dir, with
a separate web.xml. The favicon is a bit more tricky, not sure you can
do what you want to as long as the first rule
Thanks Chuck. That is in fact what I was doing, so I will move that
into the webapps web.xml.
Pid, I'm actually not as concerned about the favicon as I am with
agentapp, but your suggestion of moving it into the webapp seems to be
the key. Thanks.
On Wed, Dec 16, 2009 at 12:32 AM, Caldarale
I have a blanket security-constraint defined in my conf/web.xml,
followed by a couple more specific security-constraints. However, it
appears that the more specific ones are not being picked up. When I
break in FormAuthenticator.invoke(), I can see in the constraints
variable (SecurityConstraint
When modifying the web.xml (c:/mywebapps/app/WEB-INF/web.xml) the webapp does
not reload with this configuration...
Host name=mysite.com appBase=webapps
Context path= docBase=c:/mywebapps/app reloadable=false
WatchedResourceWEB-INF/web.xml/WatchedResource
/Context
/Host
However
Eric B. wrote:
andre andrewarn...@gmail.com wrote in message
news:003c01ca43b9$0ef57ae0$2ce070...@com...
...
Are your all your files readable by the process that is running tomcat? For
instance, if tomcat is running under user tomcat, and your files are only
readable by andre, you will
On 04/10/2009 09:33, André Warnier wrote:
Eric B. wrote:
andre andrewarn...@gmail.com wrote in message
news:003c01ca43b9$0ef57ae0$2ce070...@com...
...
Are your all your files readable by the process that is running
tomcat? For instance, if tomcat is running under user tomcat, and
your files
in default web.xml
java.security.AccessControlException: access denied
(java.lang.RuntimePermission
accessClassInPackage.org.apache.catalina.core)
Are your all your files readable by the process that is running tomcat? For
instance, if tomcat is running under user tomcat, and your files
resource () is not available.
Apache Tomcat/5.5
I find some error in my tomcat log
Oct 3, 2009 12:44:10 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig
SEVERE: Parse error in default web.xml
java.security.AccessControlException: access denied
resource () is not available.
Apache Tomcat/5.5
I find some error in my tomcat log
Oct 3, 2009 12:44:10 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig
SEVERE: Parse error in default web.xml
java.security.AccessControlException: access denied
Hi!
Is the version mismatch in the web-app tag, like this:
web-app version=2.4 xmlns=http://java.sun.com/xml/ns/javaee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
an
David Balažic wrote:
Hi!
Is the version mismatch in the web-app tag, like this:
web-app version=2.4 xmlns=http://java.sun.com/xml/ns/javaee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
Hi all,
Where can i find reference, or something like that, for tomcat's web.xml.
Regards
chenjh
2009-07-03
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h
Chenjh,
You can find the same at below location:
http://sunsite.berkeley.edu:8080/docs/config/index.html
Thanks,
Achal.
On Fri, Jul 3, 2009 at 12:19 PM, chenjh che...@thinker.com.cn wrote:
Hi all,
Where can i find reference, or something like that, for tomcat's web.xml.
Regards
chenjh
Thanks Patel, but I need reference for web.xml.
Regards
chenjh
2009-07-03
-Original Message--
Chenjh,
You can find the same at below location:
http://sunsite.berkeley.edu:8080/docs/config/index.html
Thanks,
Achal.
On Fri, Jul 3, 2009 at 12:19 PM, chenjh che
http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html
On Fri, Jul 3, 2009 at 1:02 PM, chenjh che...@thinker.com.cn wrote:
Thanks Patel, but I need reference for web.xml.
Regards
chenjh
2009-07-03
-Original Message--
Chenjh,
You can find the same at below
The page is not available.
Regards
chenjh
2009-07-03
-Original Message--
http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html
On Fri, Jul 3, 2009 at 1:02 PM, chenjh che...@thinker.com.cn wrote:
Thanks Patel, but I need reference for web.xml.
Regards
chenjh
2009/7/3 chenjh che...@thinker.com.cn:
Hi all,
Where can i find reference, or something like that, for tomcat's web.xml.
Regards
chenjh
2009-07-03
web.xml is defined by the Java Servlet Specification.
There is nothing Tomcat-specific in it.
It is Servlet 2.5 for Tomcat 6, Servlet 2.4
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
chenjh,
On 7/3/2009 2:49 AM, chenjh wrote:
Where can i find reference, or something like that, for tomcat's web.xml.
Don't listen to these folks who are just googling web.xml reference
and posting the link. Instead, use your head and look
Hi,
I've got a redhat system where seemingly at random, some applications
are losing the WEB-INF/web.xml file. It looks like there is a problem
with the NFS mount where the application lives, but I don't understand
why the web.xml would disappear when there are timeouts on the nfs
mount
Sriganesh Ananth wrote:
Hi Andre,
I got Forbidden - You don't have permission to access
/test/WEB-INF/web.xml on this server.
Under httpd.conf, just before VirtualHost I have following to deny all
from accessing WEB-INF folder.
Httpd.conf configuration:
# Globally deny access to the WEB-INF
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/24/2009 3:27 AM, André Warnier wrote:
Sriganesh Ananth wrote:
What also still smells fishy is the line
Alias /test /var/www/testapp/
Why is it there ? What does it achieve, that the following 2 lines do not ?
JkMount /*.do ajp13
mapping in web.xml. Tomcat 4.1.x doesn’t have this
problem. I am searching all support group from past many weeks and
still not able to resolve this issue.
Application Structure:
ROOT
--testapp
---test
index.html
WEB-INF
From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com]
Subject: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet
file in file system and reporting 404 error rather mapping in web.xml
The issue is Tomcat 5.5.x looks for a servlet file under server's
physical file system
:
---
Context
!-- Default set of monitored resources --
WatchedResourceWEB-INF/web.xml/WatchedResource
!-- Uncomment this to disable session persistence across Tomcat
restarts --
!--
Manager pathname= /
--
/Context
Thank you again for your help.
Regards
Sriganesh
On Thu
From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com]
Subject: Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching
servlet file in file system and reporting 404 error rather mapping in
web.xml
Host name=192.168.1.23 debug=1 appBase=/var/www/testapp
unpackWARs=true
and reporting 404 error rather mapping in
web.xml
Host name=192.168.1.23 debug=1 appBase=/var/www/testapp
unpackWARs=true
The above is wrong; the appBase should be /var/www.
Logger className=org.apache.catalina.logger.FileLogger
directory=logs prefix=oss.com_log. suffix
/www/testapp
Alias /test /var/www/testapp/
JkMount /*.do ajp13
JkMount /*.jsp ajp13
/VirtualHost
I definitely find bizarre.
Can you try the following URL in your browser :
http://192.168.1.23/test/WEB-INF/web.xml
and let us know what you get
Hi Andre,
I got Forbidden - You don't have permission to access
/test/WEB-INF/web.xml on this server.
Under httpd.conf, just before VirtualHost I have following to deny all
from accessing WEB-INF folder.
Httpd.conf configuration:
# Globally deny access to the WEB-INF directory
LocationMatch
Hi,
My apologies if this is a known topic, but a scan of MARC didn't produce
any results and my search fu apparently took the day off.
I'm looking for a way for the url-patterns in web.xml to be matched case
insensitive. As an added bonus, I've got a fairly full web.xml
maintained by several
From: JR Conlin [mailto:jcon...@netflix.com]
Subject: case insensitive web.xml
I'm looking for a way for the url-patterns in web.xml to be
matched case insensitive.
I'm not aware of any spec-compliant means of doing so, since the servlet spec
and the relevant RFCs all require case
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, March 24, 2009 1:29 PM
Subject: RE: case insensitive web.xml
From: JR Conlin [mailto:jcon...@netflix.com]
Subject: case insensitive web.xml
I'm looking for a way for the url-patterns in web.xml
Thanks, Martin,
That was NOT an issue. I have been using updated taglib URI's for the
last few years (including under Tomcat 5.5.15).
I resolved the issue and it had to do with a servlet from another
framework handling all requests and not re-writing /*/*.jsp correctly
under Tomcat 6 (whatever
to the request (I don't seem to get
much out of the logging, even though
$CATALINA_HOME/conf/logging.properties is set to FINE). Not sure what
to make of WARNING: Internal Error: File /WEB-INF/web.xml not found.
== /usr/local/tomcat6/logs/catalina.2009-03-14.log ==
Mar 14, 2009 4:38:57 AM
). Not sure what
to make of WARNING: Internal Error: File /WEB-INF/web.xml not found.
== /usr/local/tomcat6/logs/catalina.2009-03-14.log ==
Mar 14, 2009 4:38:57 AM org.apache.jasper.compiler.TldLocationsCache
processWebDotXml
WARNING: Internal Error: File /WEB-INF/web.xml not found
Mar 14
Mark,
The server.xml is 6.0.18 distribution version. I added host to it
(host name changed for privacy):
Host name=example.com appBase=/var/webapps/example.com
unpackWARs=false path= autoDeploy=false xmlValidation=false
xmlNamespaceAware=false
Aliaswww.example.com/Alias
/Host
The
Gmail User wrote:
Mark,
The server.xml is 6.0.18 distribution version. I added host to it
(host name changed for privacy):
Host name=example.com appBase=/var/webapps/example.com
unpackWARs=false path= autoDeploy=false xmlValidation=false
xmlNamespaceAware=false
Path is not a valid
Mark,
I think I understand what you are saying about path and docBase being
invalid in my setup (per docs, they should not be set in context.xml,
which is not the same as setting them to empty), however even with
these changes, the outcome is exactly the same.
I even added override=false
Sorry for wasting everyone's time. I found the problem and it was in
my application, which for whatever reason still works under Tomcat
5.5.15.
I was playing with Cocoon framework in the past and the paths were
being routed through Cocoon servlet, which resulted in correct
remapping for
. Sender does
not necessarily endorse content contained within this transmission.
Date: Sat, 14 Mar 2009 16:37:52 -0400
Subject: Re: org.apache.jasper.JasperException: The absolute uri:
http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the
jar files deployed
referenced them from
web.xml to WEB-INF/tld (if I renamed c.tld, Tomcat barfed, so I know
it finds the 'tld' file).
I am running Tomcat 6.0.18 binary distribution from apache.org,
running it i as a root so permissions should no be a problem, I would
think.
Am I not allowed to have directory structure
I'm guessing there's another error regarding a problem with header.jsp.
You didn't include the exception in your subject in the details below so
it's anyone's guess. I can say that from at least tomcat 5.5 onwards,
you don't need to add anything to web.xml to use the tag libs in
standard.jar
A couple more suggestions ...
1. Make sure your web.xml file uses the servlet version 2.4 or later
schema (supported in tomcat 5.0 and later)
2. Make sure your jstl.jar and standard.jar are from version 1.1 of the
standard and jstl taglibs
Post the real, earliest log files related to your
, since I found my earlier
inquiry about the same from lonftime ago).
Thanks for your reply, though.
On Sat, Mar 14, 2009 at 12:37 AM, David Smith d...@cornell.edu wrote:
A couple more suggestions ...
1. Make sure your web.xml file uses the servlet version 2.4 or later
schema (supported
Dear Paul,
... the time period that tomcat spends honouring current requests
when the
server is shutdown?
We have a web app used for secure file transfers and occasionally we
need to
take it down, however some requests for downloads can take more than
an hour
as the system allows very
Hello,
I've successfully added a security-constraint into the web.xml of a
webapp so the user has to use a login to use the webapp.
Is it possible to move this config into the conf/web.xml instead?
I have tried this but the security-constraint affects other webapps.
I've tried changing the url
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Koberg wrote:
On Feb 6, 2009, at 4:45 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave Pawson wrote:
Only one aspect of security Rob.
As needed I'll look at others later.
Can you
Dave Pawson wrote:
Rob, Christopher, Andre.
Thanks for the input.
As I said to Rob, security is not an issue at the present time.
There is no value in the content returned by the 'server' / end point;
I'm not trying to make it secure. Just respond less than
I otherwise might.
Ok, then let me
2009/2/7 André Warnier a...@ice-sa.com:
You may even find a ready-made servlet filter that could do that (and many
other things besides) here :
http://www.tuckey.org/urlrewrite/
Looks useful. Tks
A servlet filter does not modify (or require you to modify) the application
in any way; it
Thanks Andre. That paints a good picture!
Only generality I'd like to add. The general purpose of my-app web.xml and
'all apps' web.xml. Is it TC 'configuration' (Chaz isn't going to like
that, but I
do like an overview, even if it's only 80%). I'm saying config, since
it provides
response mime
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
Unless the client specifies that one single mime
type (and no other), I want to reject it
Unless you have an extremely specialized client in mind
2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
I'm coming down in favour of a valve, rather than a filter,
to make it container specific
Well, I'n not Chuck, but to answer your question:
On Fri, Feb 6, 2009 at 11:39 AM, Dave Pawson dave.paw...@gmail.com wrote:
Is a filter the right TC tool for that Charles?
Yes
Rgds
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
I'm coming down in favour of a valve, rather than a filter,
to make it container specific,
Which is a good reason not to use a valve. Unless you need
access to Tomcat internals, use a filter.
? Unclear why Charles?
To make it 'filter'
On Feb 6, 2009, at 10:20 AM, Dave Pawson wrote:
2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
I'm coming down in favour of a valve, rather
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
? Unclear why Charles?
1) Filter specifications are documened.
2) Filters are not subject to change with every Tomcat release.
To make it 'filter
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
I'm coming down in favour of a valve, rather than a filter,
to make it container specific,
Which is a good reason not to use a valve. Unless you
2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
Unless the client specifies that one single mime
type (and no other), I want to reject
2009/2/6 Robert Koberg r...@koberg.com:
Which is a good reason not to use a valve. Unless you need access to
Tomcat internals, use a filter.
? Unclear why Charles?
To make it 'filter' all server traffic?
AFAIK I don't need access to any internals.
You seem to be making this much more
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
Unless the client requests application/xml I want to refuse the
request.
I don't think you
2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
? Unclear why Charles?
1) Filter specifications are documented.
2) Filters
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
2.4 final or
2.5 maint release.
which is TC 6 compliant to please?
RTFM:
http://tomcat.apache.org/
It's on the *first* page...
- Chuck
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
Is it TC 'configuration' I'm saying config, since
it provides response mime types, params etc.
Strictly speaking, it's not Tomcat configuration
Dave Pawson wrote:
Thanks Andre. That paints a good picture!
Only generality I'd like to add. The general purpose of my-app web.xml and
'all apps' web.xml. Is it TC 'configuration' (Chaz isn't going to like
that, but I
do like an overview, even if it's only 80%). I'm saying config, since
Dave Pawson wrote:
2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
place to constrain the mime type?
Unless the client specifies that one single mime
type (and no other), I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave Pawson wrote:
Only one aspect of security Rob.
As needed I'll look at others later.
Can you suggest alternatives to achieve what I want, rather than something
else?
Instead of using Accept header with a magic content-type, how about
On Feb 6, 2009, at 4:45 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave Pawson wrote:
Only one aspect of security Rob.
As needed I'll look at others later.
Can you suggest alternatives to achieve what I want, rather than
something else?
Instead of
Rob, Christopher, Andre.
Thanks for the input.
As I said to Rob, security is not an issue at the present time.
There is no value in the content returned by the 'server' / end point;
I'm not trying to make it secure. Just respond less than
I otherwise might.
Thanks for the 'lecture' Andre. I now
I want to 'reject' (if that's the right word) any http get
with mime type != application/xml
I see in web.xml in the conf directory
mime-mapping
extensionxml/extension
mime-typeapplication/xml/mime-type
/mime-mapping
Is this the right place to do it please?
regards
301 - 400 of 668 matches
Mail list logo