Lance,
On 11/21/23 11:33, Campbell, Lance wrote:
Tomcat 10.1
Java migration from 8 to 11
Eclipse
I am trying to migrate my thirteen tomcat web applications from java 8 to java
11. And from tomcat 9 to tomcat 10.1 .
I have been using the web.xml file for years with Java 8 and tomcat 9. However
Hello Baron,
There are no dumb questions, no worries :)
Are you referring to the $CATALINA_BASE/conf/web.xml by chance? This is the
default web.xml [1] that defines default values for all the webapps
deployed in your tomcat server. Me personally I rarely modify it.
Me, as a sample web.xml I usu
On Wed, Sep 6, 2017 at 6:16 AM, Alejandro Vargas M. <
alejandro.var...@kymsolutions.com> wrote:
> Good afternoon,
>
> I have a website on a client, and they ran a vulnerability test, and it
> throws a vulnerability that any user can see web.xml from a web browser,
>
> how can I hide to see web.xml
Is a GET/POST call you are using to get the xml content? Have you
reproduced this yourself. Or is it from that security report?
On 5 Sep 2017 23:17, "Alejandro Vargas M." <
alejandro.var...@kymsolutions.com> wrote:
Good afternoon,
I have a website on a client, and they ran a vulnerability test
On 06.09.2017 00:16, Alejandro Vargas M. wrote:
Good afternoon,
I have a website on a client, and they ran a vulnerability test, and it throws a
vulnerability that any user can see web.xml from a web browser,
how can I hide to see web.xml or any other file from the browser?
1) if web.xml is i
On 12/10/2016 08:02, Mladen Adamović wrote:
> Lets assume that web.xml has a rule
>
>
> One
> /something/e*
>
>
> While class Two.class has an annotation:
>
> @WebServlet(name = "Two", urlPatterns = {"/something/er*"})
>
> From the Servlet 3.0 specification
ge- From: Felix Schumacher
> > [mailto:felix.schumac...@internetallee.de] Sent: Thursday, 4
> > September 2014 3:29 PM To: Tomcat Users List Subject: Re: web.xml
> > authentication and Tomcat Realm
> >
> >
> >
> >> On 4. September 2014 05:35:42 MESZ, "Dalecki, Janu
-Original Message-
From: Neven Cvetkovic [mailto:neven.cvetko...@gmail.com]
Sent: Friday, 5 September 2014 11:40 PM
To: Tomcat Users List
Subject: Re: web.xml authentication and Tomcat Realm
Hey Janusz,
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz
wrote:
Follow the link Chris
Hey Janusz,
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz
wrote:
Follow the link Chris provided. It will give you some ideas about how
Realms work.
(Note that using JDBCRealm will give you terrible performance: use a
> DataSourceRealm instead with a JNDI DataSource.)
>
> You really need to re
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz
wrote:
>
>
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Friday, 5 September 2014 12:03 AM
> To: Tomcat Users List
> Subject: Re: web.xml authentication and Tomcat Rea
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Friday, 5 September 2014 12:03 AM
To: Tomcat Users List
Subject: Re: web.xml authentication and Tomcat Realm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Janusz,
On 9/4/14 2:30 AM, Dalecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Janusz,
On 9/4/14 2:30 AM, Dalecki, Janusz wrote:
> -Original Message- From: Felix Schumacher
> [mailto:felix.schumac...@internetallee.de] Sent: Thursday, 4
> September 2014 3:29 PM To: Tomcat Users List Subject: Re
-Original Message-
From: Felix Schumacher [mailto:felix.schumac...@internetallee.de]
Sent: Thursday, 4 September 2014 3:29 PM
To: Tomcat Users List
Subject: Re: web.xml authentication and Tomcat Realm
On 4. September 2014 05:35:42 MESZ, "Dalecki, Janusz"
wrote:
>H
On 4. September 2014 05:35:42 MESZ, "Dalecki, Janusz"
wrote:
>Hi,
>I am just wondering whether somehow I can use web.xml
>to point to the Tomcat JDBC Realm that I am using.
>Are those two completely disjoint or I can link them together.
They are disjoint.
web.xml is for the developer who has
On Sun, Jul 6, 2014 at 1:35 PM, Konstantin Kolinko
wrote:
> I think you can inject RemoteAddrFilter into Spring Security filter
> chain (that is if you do not want to configure it separately in
> web.xml),
You are right, I did not think of that.
FWIW this is easily doable using custom filters [1]
2014-07-05 20:00 GMT+04:00 Falco Schwarz :
> On Sat, Jul 5, 2014 at 12:39 PM, Mark Thomas wrote:
>> Maybe look at a third party security plugin like Spring Security? Not sure
>> if this is supported but worth a look.
>>
>> Mark
>
> Thanks Mark and Konstantin for your quick replies. I tried to
> a
2014-07-06 13:45 GMT+04:00 Falco Schwarz :
> Konstantin,
>
> On Sat, Jul 5, 2014 at 3:26 PM, Konstantin Kolinko
> wrote:
>> You can either perform IP filtering in a Valve (that will be in the
>> pipeline before an Authenticator), or you can remove
>> security-constraint and implement authenticatio
On 5. Juli 2014 19:04:26 MESZ, Falco Schwarz wrote:
>On Sat, Jul 5, 2014 at 6:17 PM, Hassan Schroeder
> wrote:
>> (Sorry, late to the thread but ...) if you just want to restrict
>access to
>> a resource to localhost, why not os-level e.g. an iptables rule?
>
>Well, the reason behind the restric
Konstantin,
On Sat, Jul 5, 2014 at 3:26 PM, Konstantin Kolinko
wrote:
> You can either perform IP filtering in a Valve (that will be in the
> pipeline before an Authenticator), or you can remove
> security-constraint and implement authentication and authorization in
> a filter (such as Security F
On Sat, Jul 5, 2014 at 6:17 PM, Hassan Schroeder
wrote:
> (Sorry, late to the thread but ...) if you just want to restrict access to
> a resource to localhost, why not os-level e.g. an iptables rule?
Well, the reason behind the restriction is that I would like to use
tomcats jmxproxy for our prod
On Sat, Jul 5, 2014 at 9:00 AM, Falco Schwarz wrote:
> In the end I found a solution which suits my needs: combining the
> RemoteAddrFilter with Spring Security. This way the RemoteAddrFilter
> always prevents access if the client is not localhost.
(Sorry, late to the thread but ...) if you just
On Sat, Jul 5, 2014 at 12:39 PM, Mark Thomas wrote:
> Maybe look at a third party security plugin like Spring Security? Not sure if
> this is supported but worth a look.
>
> Mark
Thanks Mark and Konstantin for your quick replies. I tried to
accomplish this only using Spring Security and I also g
2014-07-05 11:41 GMT+04:00 Falco Schwarz :
> I should add that the IP restriction is applied via filter, not with a
> tomcat Valve. Essentially the question breaks down to this:
>
> Is it possible in any way for a filter to be applied before the evaluation
> of the security-constraint? Or is there
On 5 July 2014 08:41:52 BST, Falco Schwarz wrote:
>I should add that the IP restriction is applied via filter, not with a
>tomcat Valve. Essentially the question breaks down to this:
>
>Is it possible in any way for a filter to be applied before the
>evaluation
>of the security-constraint?
No.
>
I should add that the IP restriction is applied via filter, not with a
tomcat Valve. Essentially the question breaks down to this:
Is it possible in any way for a filter to be applied before the evaluation
of the security-constraint? Or is there any other way of setting up an IP
filter combined wi
Original Message-
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
> Sent: Wednesday, April 18, 2012 11:50 AM
> To: Tomcat Users List
> Subject: Re: web.xml and schema location
>
> 2012/4/18 Mark Claassen :
>> Back in Tomcat 5, we had the problem with tomcat trying t
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Wednesday, April 18, 2012 11:50 AM
To: Tomcat Users List
Subject: Re: web.xml and schema location
2012/4/18 Mark Claassen :
> Back in Tomcat 5, we had the problem with tomcat trying to access
> java.s
2012/4/18 Mark Claassen :
> Back in Tomcat 5, we had the problem with tomcat trying to access
> java.sun.com. Lots of our servers are behind firewalls, so this
> caused an error in the log. We realized one way to fix this was just to
> remove the schemaLocation attribute from the web.xml files.
Thanks! that worked.
On Sun, Jun 26, 2011 at 3:50 AM, Konstantin Kolinko
wrote:
>> > servlet-class="com.i.common.DataPlatformServlet"/>
>
> The above is wrong. You should use nested elements, not attributes..
>
> Take a look at any existing webapp. E.g. the "examples" one that comes
> servlet-class="com.i.common.DataPlatformServlet"/>
The above is wrong. You should use nested elements, not attributes..
Take a look at any existing webapp. E.g. the "examples" one that comes
with Tomcat.
Best regards,
Konstantin Kolinko
--
> From: Will Sumekar [mailto:will.sume...@gmail.com]
> Subject: Re: web.xml cant load because of
> However I still think tomcat could give a more
> verbose error messages.
You missed the fact that it's not Tomcat generating the error messages, nor is
the invalid settin
Hi Pid
Thanks for your suggestion. The problem is solved. It's probably caused by
wrong classpath syntax as I had this:
classpath:./hibernate.cfg.xml
However I still think tomcat could give a more verbose error messages.
Will
On Fri, Nov 5, 2010 at 1:45 AM, Pid wrote:
> On 04/11/2010 16:06,
On 04/11/2010 16:06, Will Sumekar wrote:
> AFAIK if you dont specify contextConfigLocation system looks for default
> filename applicationContext.xml at default location of ./WEB-INF/. But it
> doesnt matter cos even if I put context-param the error still comes.
>
> So far it looks like the error
AFAIK if you dont specify contextConfigLocation system looks for default
filename applicationContext.xml at default location of ./WEB-INF/. But it
doesnt matter cos even if I put context-param the error still comes.
So far it looks like the error is caused by . Once I remove it,
it's OK. Which is
2010/11/4 Will Sumekar :
>
>
> org.springframework.web.context.ContextLoaderListener
>
>
AFAIK, you have to specify contextConfigLocation context parameter
with location of your application context xml file.
BTW, the log that you cited looks like generated by Log4j. That is not
the default conf
Thanks!
Now I'm really puzzled. Even when I remove everything in web.xml except
it gives me the same error. i.e.:
<
web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http
On 03/11/2010 12:57, Thad Humphries wrote:
> Is in the proper place? I think order matters in web.xml. I load
> 2 listeners after my app's and before my tags.
Yep, after but before definitions.
p
> On Wed, Nov 3, 2010 at 12:14 AM, Will Sumekar wrote:
>
>> Hi
>>
>> When I put these lines:
Check all the files in the log dir. There should be an exception there
with ContextLoaderListener throwing some exception. (Probably a
SaxException)
-Tim
On 11/3/2010 12:14 AM, Will Sumekar wrote:
Hi
When I put these lines:
org.springframework.web.context.ContextLoaderList
Is in the proper place? I think order matters in web.xml. I load
2 listeners after my app's and before my tags.
On Wed, Nov 3, 2010 at 12:14 AM, Will Sumekar wrote:
> Hi
>
> When I put these lines:
>
>
>
>
> org.springframework.web.context.ContextLoaderListener
>
>
>
> my app
nothing...
Will
On Wed, Nov 3, 2010 at 3:12 PM, Pid wrote:
> On 03/11/2010 05:14, Will Sumekar wrote:
> > Hi
> >
> > When I put these lines:
> >
> >
> >
> >
> > org.springframework.web.context.ContextLoaderListener
> >
> >
> >
> > my appln can't load at all. When I go to
On 03/11/2010 05:14, Will Sumekar wrote:
> Hi
>
> When I put these lines:
>
>
>
>
> org.springframework.web.context.ContextLoaderListener
>
>
>
> my appln can't load at all. When I go to http://localhost:8080/app it's not
> loaded. But when I remove those lines it loads co
Ok thanks for the quick response!
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: 12 December 2008 11:50
To: Tomcat Users List
Subject: Re: Web.xml entries
paul.ocklef...@nhs.net wrote:
> Hi,
>
> I have a basic question about the tomcat server start-up.
paul.ocklef...@nhs.net wrote:
> Hi,
>
> I have a basic question about the tomcat server start-up. If there are
> classes missing that are referenced as servlet entries in the web.xml should
> this render the server unuseable?
No. But it should, and I believe it does, render that web application u
arch?hl=en&q=Servlet+Web.xml+tutorial
Good luck
Florian
-Original Message-
From: Steve Ochani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 4:45 PM
To: Tomcat Users List
Subject: Re: web.xml documentation
On 27 May 2008 at 17:24, Marcos Molina wrote:
> Hi people,
>
&g
To be more specific, servlet spec 2.4 is available at:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html
Servlet spec 2.5 which governs tomcat 6 is available at:
http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html
--David
Steve Ochani wrote:
On 27 May 2008 at
On 27 May 2008 at 17:24, Marcos Molina wrote:
> Hi people,
>
> Can anyone tell me where can i read something of how web.xml file
> works ?
> I try search but not found nothing good.
> Thanks a lot.
It's detailed in the Java Servlet Specification available at www.jcp.org
but the basics are in a
]
Subject: Re: web.xml pbm
so i tried with a context (like the example below)
If your element is in the proper place (META-INF/context.xml
of your webapp), then neither the path nor the docBase attributes are
allowed. Even if your element is in server.xml (and none
should be),
> From: supareno [mailto:[EMAIL PROTECTED]
> Subject: Re: web.xml pbm
>
> so i tried with a context (like the example below)
>
> docBase="">
>
If your element is in the proper place (META-INF/context.xml
of your webapp), then neither the path nor
i found the problem !!
i tried a war without a context and everything is working find (but i
didn't have a db connection !!)
so i tried with a context (like the example below)
i although set a resource in the web.xml
Library Connection
jdbc/library
javax.sql.DataSource
Container
an
On Fri, Apr 4, 2008 at 4:49 AM, supareno <[EMAIL PROTECTED]> wrote:
> i write a build.xml file to build and deploy my war. (compilation OK and
> deployment on the server OK)
> but, when i try to start it, it starts but when i try to access to it, i'm
> only seeing the list of the apps prrsents i
Can you expand a copy of your webapp war file and confirm a there is a
web.xml file in it? In my experience, the errors generated out of
tomcat are usually right on the money, so we should confirm the
generated war file really contains a web.xml at WEB-INF/web.xml.
--David
supareno wrote:
David Smith a écrit :
That error is different from what you originally posted and implies
your webapp is trying to modify the tomcat supplied JNDI name
context. That context which houses tomcat container supplied stuff
like database pools is read only. ... But that's a different post.
Back
supareno wrote:
when i deploy the war file , the log write this stuff
4 avr. 2008 14:28:33 org.apache.catalina.core.NamingContextListener
lifecycleEvent
GRAVE: La création du context de nommage (naming context) a échoué :
javax.naming.NamingException: Le Contexte est en lecture seule
Thanks G
That error is different from what you originally posted and implies your
webapp is trying to modify the tomcat supplied JNDI name context. That
context which houses tomcat container supplied stuff like database pools
is read only. ... But that's a different post.
Back to the original error -
the web.xml is in the WEB-INF folder
when i deploy the war file , the log write this stuff
4 avr. 2008 14:28:33 org.apache.catalina.core.NamingContextListener
lifecycleEvent
GRAVE: La création du context de nommage (naming context) a échoué :
javax.naming.NamingException: Le Contexte est en le
and where is this web.xml file stored? It has to be in your
webapp's WEB-INF (note all CAPS) folder per the servlet specification.
--David
supareno wrote:
hello,
my config is:
tomcat 5.5.9
jdk 6
linux ubuntu
eclipse 3.2
ant 1.7.0
i write a build.xml file to build and deploy my war. (
Hi,
Do you have any initialization errors in your logs? If not, can you
create a reproducible test case (war)?
I have no errors in the log.
I will create a testcase with all relevant informations this evening and
will give feedback here.
Thanks,
Frank
yes..can you also display you configuration for default Virtual Host appBase
attribute?
In other words %TOMCAT_HOME%\conf\server.xml you should see appBase that
looks like
Sent: Sunday, January 20, 2008 6:19 PM
Subject: Re: web.xml problems outside tomcat webapp folder
> On Jan 20, 2008 1:41
On Jan 20, 2008 1:41 PM, Frank Habermann <[EMAIL PROTECTED]> wrote:
> i am using tomcat 6.0.14 on windows and create projects with eclipse.
> For my own projects i do not use the webapps folder from the original package
> of tomcat. I use a different location. But with this solution i have some
>
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: RE: web.xml configured correctly, but
> stillgetting'404...resourcenot found'
>
> if you want Tomcat to behave a certain way for a particular
> webapp, you could edit context.xml files to get something
> diffe
2772 [mailto:[EMAIL PROTECTED]
>> Subject: RE: web.xml configured correctly, but still
>> getting'404...resourcenot found'
>>
>> This context.xml was the one in conf.
>
> That explains why you had problems. The one in conf contains attributes
> to be
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: RE: web.xml configured correctly, but still
> getting'404...resourcenot found'
>
> This context.xml was the one in conf.
That explains why you had problems. The one in conf contains attributes
to be shared b
g of it. Thanks for your
help.
Caldarale, Charles R wrote:
>
>> From: cuco2772 [mailto:[EMAIL PROTECTED]
>> Subject: Re: web.xml configured correctly, but still getting
>> '404...resourcenot found'
>>
>> There was a parse error at context.xml,
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: Re: web.xml configured correctly, but still getting
> '404...resourcenot found'
>
> There was a parse error at context.xml, line 20, column 2.
Which context.xml? If it's in the webapp's META-INF d
Fixed. There was a parse error at context.xml, line 20, column 2. The
offending line:
crossContext="true">
>
I read somewhere that you were supposed to do this. Evidently bad info or
old info.
Thanks for all the replies.
cuco2772 wrote:
>
> Check this out, I did 'touch web.xml' then hit r
Check this out, I did 'touch web.xml' then hit reload in the browser window
and it worked.
If I restart tomcat though, it probably wont work as before.
Here's what my catalina.out looked like after that:
[EMAIL PROTECTED]:/usr/local/tomcat/apache-tomcat-6.0.14/logs# tail -f
catalina.outJan 9, 2
I did touch web.xml and it worked. Weird. Of course if I restart tomcat it
wont work again.
Its the latest tomcat 6.0.14. The tomcat error logs are posted in the above
reply.
Caldarale, Charles R wrote:
>
>> From: cuco2772 [mailto:[EMAIL PROTECTED]
>> Subject: web.xml configured correctly, but
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: Re: web.xml configured correctly, but still getting
> '404...resourcenot found'
>
> The guide I've been using for trying to set this up is the
> coreservlets book by Marty Hall. He says set the classpath
>
The tomcat startup script set's it's own classpath, ignoring the
environment set classpath. This has been the case since tomcat 4.
Tomcat 3 used to be a real headache because of the need to set a
classpath. If I remember correctly, tomcat 3.3 was the first version to
start offering a classl
The guide I've been using for trying to set this up is the coreservlets book
by Marty Hall. He says set the
classpath but the info there is for tomcat 4. Are you saying I could just
get rid of the classpath
environment variable entirely and it wouldn't make any difference ? (I did
set it to whe
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: web.xml configured correctly, but still getting
> '404...resource not found'
What's in the logs?
> Then I shutdown tomcat and restarted it.
Are you using a real Tomcat, or some 3rd-party repackaged (i.e., broken)
version?
> Would adding my
Messing with the classpath will bring you nothing but pain and misery.
I would strongly recommend you leave it alone.
Also the servlet mappings are relative to the context so your good on
that front as well.
Are there any messages in your tomcat logs regarding the request? Are
you sure the
Thanks a lot.
You were right, I was using the invoker servlet. I've added the mappings and it
worked.
Mark Thomas <[EMAIL PROTECTED]> wrote: Silviu Popescu wrote:
>
>
> ShowMsg
> coreservlets.ShowMessage
>
>
message
>
Shibboleth
>
>
>
repeats
>
Silviu Popescu wrote:
>
>
> ShowMsg
> coreservlets.ShowMessage
>
> message
> Shibboleth
>
>
> repeats
> 5
>
>
>
You don't appear to have a servlet mapping? Are you using the invoker
servlet? If so, the init parameters will have no effect.
eb-ap
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&quo
.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
>
>
>
> I tried using the 'sy
sure.
Has anyone got any ideas on how to get around this?
Regards,
Andrew
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Monday, 2 July 2007 12:28 PM
To: users@tomcat.apache.org
Subject: Re: WEB.XML file parsing
"Andrew Friebel" <[EMAIL PROTECTE
This guy has reckons you can turn off DTD checking
http://www.isocra.com/blogs/index.php?/archives/5-Making-Xerces-ignore-a-DTD.html
Tools like Xerces and Xalan are very good, but pretty heavy.
If you google you will also find some very light weight sax parsers out
there.
Most of them dont even
"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.
>
>
>
Even with h:messages, commons logging, there are some exceptions being thrown
that no one ever sees, especially in myfaces. A page will not render and
there will absolutely no info in the log4j log files.
thanks for your help
Si'mon
David Delbecq-2 wrote:
>
> If you need to catch a wide ran
thanks, we are using all of these including
> If you need to catch a wide range of Exceptions in an error page, i
> suggest you use a generic error page. The error page has access to the
> Exception Object and can then include other JSP that show specific errors.
>
> As for informations in logs
If you need to catch a wide range of Exceptions in an error page, i
suggest you use a generic error page. The error page has access to the
Exception Object and can then include other JSP that show specific errors.
As for informations in logs file, Exceptions thrown during process of
JSF outputed u
Jon Wingfield wrote:
Have you tried the request attributes specified in section "SRV.9.9
Error Handling" of the servlet spec? Specifically, the request attribute
named "javax.servlet.error.request_uri".
No, I haven't. Thank you for your help, it works fine now.
Tomas Pop wrote:
Hello,
I
Have you tried the request attributes specified in section "SRV.9.9
Error Handling" of the servlet spec? Specifically, the request attribute
named "javax.servlet.error.request_uri".
HTH,
Jon
Tomas Pop wrote:
Hello,
I have a problem with change of the method
HttpServletRequest.getRequestUR
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.
-chri
Hello Roberto,
Check out the Servlet specification:
http://java.sun.com/products/servlet/download.html
The tags under jsp-config are explained in the JSP specification:
http://java.sun.com/products/jsp/reference/api/index.html
Tomcat 5.x supports the Servlet 2.4 and JSP 2.0 specifications.
Reg
> 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
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"
Sent: Wednesday, August 16, 2006 8:40 PM
Subject: Re: web.xml config
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, idea
if you user tomcat 5.5 and jdk1.5 ,so , the webapp can autoDeploy
yes or no?
On 8/16/06, Rob Elliott <[EMAIL PROTECTED]> 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 havin
I'm not sure what webapps/Root/WEB-INF/web.xml has to do with anything,
but the complaint of a missing web.xml is in context /LoginAction, as
well as another more severe complaint about opening an input stream for
the validation rules xml file. Did you do a soft link or shortcut?
Don't think
This may not be your problem, but I've seen the same "missing web.xml" problem
before when trying to deploy and startup after a failed undeploy. The undeploy
failed because one of my webapp files in the Tomcat directory was locked and
couldn't be deleted (either by me in a text editor, or sometime
time myself.
Dean 8-)
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, November
29, 2005 10:34 AM
To: Tomcat Users List
Subject: Re: web.xml question
Security constraints are only imposed on the incoming URL.
Long story short - you'll need to place the entire w
9, 2005 10:34 AM
To: Tomcat Users List
Subject: Re: web.xml question
Security constraints are only imposed on the incoming URL.
Long story short - you'll need to place the entire webapp in SSL. There
is no clean way to use declarative statements to force the login to be
SSL and the rest of th
: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 10:34 AM
To: Tomcat Users List
Subject: Re: web.xml question
Security constraints are only imposed on the incoming URL.
Long story short - you'll need to place the entire webapp in SSL. There
is no clean way to use declarativ
are
doing, possibly masquerading the url or something?
Again not an expert, but something I have been interested in for some
time myself.
Dean 8-)
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 10:34 AM
To: Tomcat Users List
Subject: Re: web.xm
f you wish to use a form based login.
-Dennis
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 10:34 AM
To: Tomcat Users List
Subject: Re: web.xml question
Security constraints are only imposed on the incoming URL.
Long story short - you'
Security constraints are only imposed on the incoming URL.
Long story short - you'll need to place the entire webapp in SSL. There is no
clean way to use declarative statements to force the login to be SSL and the
rest of the webapp be nonssl.
-Tim
Klotz Jr, Dennis wrote:
Hello all. I hope
98 matches
Mail list logo