, September 30, 2005 5:06 PM
Subject: MyServlet as default servlet in tomcat 5.0.27
Hi
How to set my servlet as a default for my Tomcat5.0.27 instance which runs
in a machine name testmachine.
I want my servlet to make it as default one,i changed web.xml under
tomcatinstalldir/conf folder.
It works
Hi
How to set my servlet as a default for my Tomcat5.0.27 instance which runs
in a machine name testmachine.
I want my servlet to make it as default one,i changed web.xml under
tomcatinstalldir/conf folder.
It works,but i dont want to change that web.xml under conf folder.Is there
any way on that.
extensions reach Tomcat.
Allistair.
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: 14 September 2005 18:14
To: 'Tomcat Users List'
Subject: RE: Problem making my servlet the default servlet (instead of
ROOT)
Hi;
We have some ASP stuff too so we have
To: Tomcat Users List
Subject: Re: Problem making my servlet the default servlet (instead of ROOT)
If I do Context path=/ docBase=store., then
http://localhost:8080/cart.faces returns an error 404.
Yep. It will. Since you are using the path attribute I assume this is in the
server.xml and to set
Hi;
If I do Context path=/ docBase=store., then
http://localhost:8080/cart.faces returns an error 404.
I figured it should be / and not ?
If I do Context path= docBase=store., then it works. But.
http://localhost:8080/store/cart.faces works
http://localhost/store/cart.faces works
If I do Context path=/ docBase=store., then
http://localhost:8080/cart.faces returns an error 404.
Yep. It will. Since you are using the path attribute I assume this is in the
server.xml and to set it as the root you would use .
If you specify a context path of an empty string (), you are
redirect, and WinXP doesn't have file
linking like Unix. Is there some hook in the Default servlet (or other
TC-supplied class) that would allow one to do something like the following:
servlet
servlet-nameplayoffs/servlet-name
servlet-class...DefaultServlet (or whatever)/servlet-class
of a 'redirect.'
That is, I don't want to issue an HTTP redirect, and WinXP doesn't have file
linking like Unix. Is there some hook in the Default servlet (or other
TC-supplied class) that would allow one to do something like the following:
servlet
servlet-nameplayoffs/servlet-name
from /playoffs to /teams **WITHOUT** the HTTP client being aware of a
'redirect.' That is, I don't want to issue an HTTP redirect, and WinXP
doesn't have file linking like Unix. Is there some hook in the Default
servlet (or other TC-supplied class) that would allow one to do something
Yes, I know you can make many mappings to a given servlet/jsp, but that's not
what I'm asking for.
When an HTTP client requests /playoffs/gameScores.htm, I'm hoping there's some
slight-of-hand trick/feature that will cause Tomcat to serve
/teams/gameScores.htm WITHOUT a redirect so that it
Sounds like something that can be done with frames or iframes
Regards,
Luis
Rob Hunt wrote:
Yes, I know you can make many mappings to a given servlet/jsp, but that's not
what I'm asking for.
When an HTTP client requests /playoffs/gameScores.htm, I'm hoping there's some
slight-of-hand
Look up the RequestDispatcher:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html
Server side forwards don't use a redirect
On Wed, 2005-07-27 at 16:18, Luis Torres wrote:
Sounds like something that can be done with frames or iframes
Regards,
Luis
Rob Hunt
Yes, I know that an internal forward would work. I just didn't want to
code/test/debug it. Yes, I'm being very lazy here; but I hate to reinvent the
feature if it already exists and it just seems to me that this is something
that probably should already exist (since it can be done in Apache).
There is nothing in tomcat which out of the box can do this. But there are
many 3rd party filters (or 3 liners which are easy to write) which can do this.
-Tim
Rob Hunt wrote:
Yes, I know that an internal forward would work. I just didn't want to
code/test/debug it. Yes, I'm being very
to download the JAR file. I am
using a servlet to serve the JAR files, which seems to work.
My problem is getting the Default servlet to properly serve the JAR files. I
have performed some captures of the packets running through and came to this
possibility: Apache and Weblogic do not piggyback the data
Hallo,
I recent installed Tomcat. I'm getting the error
INFO: Marking servlet default as unavailable (see below)
I installed it the third time now and the two first installations hadnt
this problem.
The HW with the third installation is an older two processor machine
(PIII) with a newer Debian
requests after permission checking to the
default servlet of tomcat.
Mapping, permission analysing and all that is already done and no problems,
delegating to my own servlets and modules also works as expected.
However, how can I pass control to the default servlet of tomcat
transparently, so
How about a Filter instead?
Otherwise - you can use getNamedDispather() get the default servlet.
-Tim
Steffen Heil wrote:
Hi
I want to archieve the following:
I want to map everything to a special servlet that checks for permissions
and a lot other things and finally invokes other servlets
PROTECTED]
Subject: Re: Overriding the default servlet
Now that is one sick puppy :(.
You don't have to touch $CATALINA_HOME/conf/web.xml to override the
default
servlet. If you have any servlet in your apps web.xml file with a
mapping
to url-pattern//url-pattern, the Tomcat will replace it's
I would like to replace the defaultServlet for image files within my web application.
I want to set the Expires header to some date in the future to take advantage of the
client cache.
I modified the server web.xml (jakarta-tomcat-4.1.24\conf) by commenting out the
existing declaration and then
Now that is one sick puppy :(.
You don't have to touch $CATALINA_HOME/conf/web.xml to override the default
servlet. If you have any servlet in your apps web.xml file with a mapping
to url-pattern//url-pattern, the Tomcat will replace it's default
servlet with yours.
You should also strongly
Hi,
I want to have all incomming request forwarded to a default servlet.
Depending on the URL the request is forwarded to a JSP-page (too dynamic
to use apache mod_rewrite).
The problem is that if I define the servlet as:
servlet-mapping
servlet-namecustom/servlet-name
url
The defualt servlet is mapped by the following:
SRV.11.2 Specification of Mappings
A string containing only the / character indicates the default servlet
of the application. In this case the servlet path is the request URI minus
the context path and the path info is null.
So you really want
Dear Tim and others,
Thank you for the reference. And now for the little twist which I forgot
to mention:
Before we introduced the default servlet we had urls with normal .jsp:s.
We want to run those through the custom dispatcher as well in order to
redirect to the proper url
For example
introduced the default servlet we had urls with normal .jsp:s.
We want to run those through the custom dispatcher as well in order to
redirect to the proper url
For example:
A request to: /Foo.jsp - Permanent redirect to /foo/bar
A request to: /foo/bar -- Internal forward to www/Foo.jsp
A request
Dear Tim,
Thanks!, Filters works great to solve this problem. Here's another
stupid thing I want to do. I want to measure the performance, by
wrapping every request buy another filter (or similiar):
public void doFilter(ServletRequest request, ServletResponse, response,
FilterChain chain)
To: Tomcat Users List
Subject: Stealing the Writer (Was: Re: Configuring a Default Servlet)
Dear Tim,
Thanks!, Filters works great to solve this problem. Here's another
stupid thing I want to do. I want to measure the performance, by
wrapping every request buy another filter (or similiar
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 8:56 AM
To: Tomcat Users List
Subject: RE: Stealing the Writer (Was: Re: Configuring a
Default Servlet)
Howdy,
Why pollute the response with data about its performance? I
Marketing cares about that kinds of stuff too. ;)
-Tim
Mike Curwen wrote:
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 8:56 AM
To: Tomcat Users List
Subject: RE: Stealing the Writer (Was: Re: Configuring a
Default Servlet)
Howdy
I'm using Tomcat 5.0.16 and I'm trying to make it so that if a user enters a
path like, http://myserver/myapp it runs a default servlet for that path.
According the the Servlet 2.4 spec, you can do this by mapping / to a
servlet. However, for me, it's just printing out a directory listing
Howdy,
The / mapping is taken by default servlet in the default tomcat
configuration. If you map a servlet to /, you have to:
1. Remove the default servlet mapping from conf/web.xml.
2. Make sure you handle static content (this is what the default servlet
handles, among other duties
In version 5x you could also set a servlet to be your welcome file.
On Friday 12 December 2003 01:45 pm, Shapira, Yoav wrote:
Howdy,
The / mapping is taken by default servlet in the default tomcat
configuration. If you map a servlet to /, you have to:
1. Remove the default servlet mapping
with that...
Thanks, Jon
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 1:31 PM
Subject: Re: Default servlet mapping not working in Tomcat 5.0.16?
In version 5x you could also set a servlet to be your welcome file
PROTECTED]
Sent: Friday, December 12, 2003 1:31 PM
Subject: Re: Default servlet mapping not working in Tomcat 5.0.16?
In version 5x you could also set a servlet to be your welcome file.
On Friday 12 December 2003 01:45 pm, Shapira, Yoav wrote:
Howdy,
The / mapping is taken by default servlet
using a redirect.
Thanks, Jon
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 3:01 PM
Subject: Re: Default servlet mapping not working in Tomcat 5.0.16?
The welcome file list actually has to point
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 3:01 PM
Subject: Re: Default servlet mapping not working in Tomcat 5.0.16?
The welcome file list actually has to point to a servlet mapping.
Here is mine. It works.
2296
2297 servlet-mapping
All 3 of those are great solutions. Thanks to both of you.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Tuesday, September 16, 2003 10:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache + Tomcat, a default servlet, and static content
If you
Apologies if this is a dupe. I just realized I sent the first one from
an account that is not subscribed
**
Once more with feeling?
Bill Barker, John Turner and others might recognize this question. Yes,
it's me AGAIN.
httpd.conf:
That is because your have overridden the default servlet. It is now your
servlet's job to also serve static content.
A simple workaround: Extend the DefaultServlet, then use super.doGet(),
super.doPost() ... when your servlet doesn't want the mapping.
-Tim
Mike Curwen wrote:
Apologies
Once more with feeling?
Bill Barker, John Turner and others might recognize this question. Yes,
it's me AGAIN.
httpd.conf:
VirtualHost 205.200.100.109
ServerName foo.myfoo.com
ServerAlias www.foo.myfoo.com
DocumentRoot /home/webhome/myfoo
#deny WEB-INF
Location
:[EMAIL PROTECTED]
That is because your have overridden the default servlet. It is now your
servlet's job to also serve static content.
A simple workaround: Extend the DefaultServlet, then use super.doGet(),
super.doPost() ... when your servlet doesn't want the mapping.
-Tim
Mike Curwen wrote
rf [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello
I am using a caching Filter that *conditionally* uses
the default servlet (through RequestDispatcher) to
serve a page, or generate it again. In the case when
the default servlet is used to serve the page, this
servlet seems
--- Bill Barker [EMAIL PROTECTED] wrote:
rf [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello
I am using a caching Filter that *conditionally*
uses
the default servlet (through RequestDispatcher) to
serve a page, or generate it again. In the case
when
the default
Anyone has any further comments on this?
--- rf [EMAIL PROTECTED] wrote:
--- Bill Barker [EMAIL PROTECTED] wrote:
rf [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello
I am using a caching Filter that *conditionally*
uses
the default servlet (through
Hello
I am using a caching Filter that *conditionally* uses
the default servlet (through RequestDispatcher) to
serve a page, or generate it again. In the case when
the default servlet is used to serve the page, this
servlet seems to send the headers Last-modified and
ETag, and this seems to have
How do I change the ${catalina_home}/webapps to something
like /usr/web/servlets
Thanks
Charles (Allen) Jordan [EMAIL PROTECTED]
System Administrator(407)771-8919
Convergys
285 International Parkway,
Lake Mary, FL 32746-5007
: setting the default servlet directory
How do I change the ${catalina_home}/webapps to something
like /usr/web/servlets
Thanks
Charles (Allen) Jordan [EMAIL PROTECTED]
System Administrator(407)771-8919
Convergys
285 International Parkway,
Lake Mary, FL 32746-5007
map to the new folder in conf\servlet.xml.
Context path=/test docBase=yourfolder debug=1 reloadable=true /
Charles A Jordan [EMAIL PROTECTED] wrote:How do I change the
${catalina_home}/webapps to something
like /usr/web/servlets
Thanks
Charles (Allen) Jordan
System Administrator
Hello,
I was just wondering if anyone experienced any problems with default servlet mapping
in Tomcat 4.1x? Here is an excerpt from my web.xml file:
servlet
servlet-nameMainPage/servlet-name
jsp-file/index.jsp/jsp-file
/servlet
.
servlet-mapping
servlet
:
|
| Subject: Re: How do I set a default servlet
and any other servlets that I create. I don't
really mind if it defaults all unknown request to the default that is a
servlet. Also, the mapping you show, is that in the web app or in the
/conf/web.xml for the server?
It's in the web app. The default servlet has a similar mapping in
conf
I would like to setup my servlet server to point anyone that accesses the
default url to be sent to a certain servlet. For example if someone typed
http://localhost/ then it would take them right to
http://localhost/servlet/myservlet . I'm guessing this is done through the
web.xml in the conf
Setting the default servlet is really easy. You just specify:
servlet
servlet-namemyservlet/servlet-name
servlet-classmyservlet/servlet-class
/servlet
servlet-mapping
servlet-namemyservlet/servlet-name
url-pattern//url-pattern
/servlet-mapping
The problem is that this is almost certainly
Hi all,
If memory serves me correctly, once upon a time I could put a servlet called
SomeServlet under webapps/abc/web-inf/classes/a/b and access it with the url
http://localhost:8080/abc/servlet/a.b.SomeServlet. I could do this without
explicitly naming the servlet in my web.xml. This doesn't
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
--
or add similar lines to each WebApp's web.xml that you wish to use the
default servlet.
Reason for change:
A security vulnerability has been confirmed to exist in Apache Tomcat 4.0.x
releases
Hi.
Only with Tomcat, how can I go to a servlet by default?
With http://12.:8080 only Load a servlet by default.
Thanks.
Rafa.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RAFA wrote:
Hi.
Only with Tomcat, how can I go to a servlet by default?
With http://12.:8080 only Load a servlet by default.
You have to deploy a webapp to the root context.
--
Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED]
Folgmann IT-Consulting
I tried to search the archive but wasn't even sure what to search for and
ended up with TMI...
I currently have a servlet that is, and probably will be, the only web
application on my server and I would like it to display when the user types
in the www.whatever.com email address rather then the
Hi Paul,
The easiest way to do this is have your index.jsp/index.html page
redirect to the servlet.
META HTTP-EQUIV=Refresh CONTENT=0;
URL=http://www.xyz.com/MyServlet/MyServletMappedName/;
-B
[EMAIL PROTECTED] 11/19/02 11:44AM
I tried to search the archive but wasn't even sure what to
Hello everybody
I have my own default Servlet and I would like to use it only for my webapps
instead of the org.apache.catalina.servlets.DefaultServletapache
In order to override the default definition I have added my own tags into my
web.xml
Ex :
servlet
servlet-nameDefault/servlet-name
: [tomcat4.1.12] How to manage my own default Servlet
servlet
servlet-nameDefault/servlet-name
servlet-classutil.MyDefaultServlet/servlet-class
/servlet
java.lang.IllegalArgumentException: addChild: Child name
'default' is not unique
--
To unsubscribe, e-mail
Ok thanks ...
-Original Message-
From: Ralph Einfeldt [mailto:ralph.einfeldt;uptime-isc.de]
Sent: jeudi 31 octobre 2002 16:04
To: Tomcat Users List
Subject: RE: [tomcat4.1.12] How to manage my own default Servlet
I think the error message is quite clear:
You have to provide
Ok maybe the most important is the mapping url/ and not the servlet name
...
I'have read into the Servlet 2.3 spec
A string containing only the '/' character indicates the default servlet
of the
application. In this case the servlet path is the request URI minus the
context
path and the path info
Hello !
I have my own Default Servlet for my a web app !
But tomcat has his own default Servlet as well! (/Tomcat/conf)
And tomcat doesn't like that I override the default servlet in my Web.xml
Do you know how we override the tomcat Default Servlet ?
Thanks in advance
F.
Hello !
I have my own Default Servlet for my a web app !
But tomcat has his own default Servlet as well! (/Tomcat/conf)
And tomcat doesn't like that I override the default servlet in my Web.xml
Do you know how we override the tomcat Default Servlet ?
Thanks in advance
F.
--
To unsubscribe, e
On Thu, 24 Oct 2002, François Vallet wrote:
Date: Thu, 24 Oct 2002 14:30:31 +0200
From: François Vallet [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: [DEFAULT] Override the Default Servlet
Hello !
I have my own Default
Hello,
Is it possible to map the default servlet to a pattern other than / ?
or is it hard-coded in org.apache.catalina.servlets.DefaultServlet ?
Thanks,
Adi
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database
The 2.3 API says :
A string containing only the '/' character denotes the default servlet.
The servlet path is the request URI minus the context.
I cannot find any other mention of default servlet
I have many servlets. How do I make one of them the default for my application?
jonathan
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 19, 2002 2:07 PM
Subject: default servlet?
The 2.3 API says :
A string containing only the '/' character denotes the default servlet.
The servlet path is the request URI minus the context.
I cannot find any other mention of default
Hello Jonathan,
The container provides the default servlet for your webapp. In fact,
the default servlet is what is responsible for returning static files
such as .xml, .html, and .png files (to name just a few).
You would have to set up a servlet mapping of something like /* in
order to have
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
If you want some params common to all the servlets
in your web-app, use
context-param instead, outside your servlet
tags.
Somehow this isn't working for me. The
context-param tags are ignored and the init-param
is read instead:
***
On Wed, 10 Jul 2002, Manchan wrote:
Date: Wed, 10 Jul 2002 11:32:45 -0700 (PDT)
From: Manchan [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Default Servlet Parameters
--- Shapira, Yoav [EMAIL PROTECTED] wrote
, use
context-param instead, outside your servlet tags.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Manchan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 4:44 PM
To: [EMAIL PROTECTED]
Subject: Default Servlet Parameters
*** THE QUESTION ***
I'd like to load
an XML property file or can I use some of the tomcat libraries?
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, July 08, 2002 2:33 PM
Subject: RE: Default Servlet Parameters
Howdy,
You shouldn't be giving other parameters
-Original Message-
From: Mark O'Driscoll [mailto:[EMAIL PROTECTED]]
Sent: 08 July 2002 15:49
To: Tomcat Users List
Subject: Re: Default Servlet Parameters
I have a supplementary question to this.
Is there any accepted way to pass parameters to servlets/jsps that may be
edited?
I can see
the
file back out as a stream, or just keep the changes around for that
particular session.
John Turner
[EMAIL PROTECTED]
-Original Message-
From: Mark O'Driscoll [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 9:49 AM
To: Tomcat Users List
Subject: Re: Default Servlet Parameters
On Mon, 8 Jul 2002, Mark O'Driscoll wrote:
Date: Mon, 8 Jul 2002 14:48:49 +0100
From: Mark O'Driscoll [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Default Servlet Parameters
I have a supplementary question
*** THE QUESTION ***
I'd like to load global init parameters for my
servlets on Tomcat, in the manner which Jserv
accomplishes with its |zone.properties| file using the
line |servlets.default.initArgs=myParameter=myValue|.
*** MY GUESS TO QUESTION ***
I presume the Tomcat analogue to the above
Dear all
I have a web application under webapps of tomcat 4 , windows2000.
I want the visitors when access my site :
app.mysite.com
i want them to go to a default servlet as i have many servlets .
how i do that?
Thanks in advance
/servlet-mapping
When you access apps.mysite.com, you will be accessing myservlet.
-prabhakar
I have a web application under webapps of tomcat 4 , windows2000.
I want the visitors when access my site :
app.mysite.com
i want them to go to a default servlet as i have many servlets
I would like to map requests to http://server/context to go to a servlet,
say a servlet called Controller. If I put something like the following in
the web.xml file for the webapp, I can sort of get what I want:
servlet
servlet-nameController/servlet-name
,
definately not a default servlet.
What I've been trying to use is:
servlet
servlet-namedefault/servlet-name
servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
/init-param
init-param
Hi,
-Original Message-
From: Markus Bengts [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 16, 2002 3:11 PM
To: Tomcat Users List
Subject: RE: The default servlet
On Sat, 16 Feb 2002, Anton Brazhnyk wrote:
I bet you know you can turn of the
directory listing and I
you can disable the default servlet - therefore it won't serve anything that
you have not explicitly set up in web.xml. You can leave the jspservlet
active to serve jsp files.
you could also write a filter for better control. Here you can check the
RequestURL for the files/directories you want
(Subject Was: NewB/Default Servlet:Can't find .gif)
On second thoughts.. with regard to this (my previous post) it may have been smarter
to simply ask what is the best way to generate a welcome page for a domain using a
servlet...?
thanks/j-p.
NEWBIE: I want to generate the welcome page
Hi,
-Original Message-
From: Markus Bengts [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 16, 2002 12:32 AM
To: [EMAIL PROTECTED]
Subject: The default servlet
Is it possible to configure Tomcat 4 so that it serves index.jsp as the
default for a directory, but still does
On Sat, 16 Feb 2002, Anton Brazhnyk wrote:
You can disable default servlet in $CATALINA_HOME/conf/web.xml
and modify welcome-file-list either there or in your app's web.xml
I didn't try that, but there is no mentions about default servlet's serving
of welcome-file-list, so I hope it works
Hi Markus,
-Original Message-
From: Markus Bengts [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 16, 2002 11:22 AM
To: Tomcat Users List
Subject: RE: The default servlet
On Sat, 16 Feb 2002, Anton Brazhnyk wrote:
You can disable default servlet in $CATALINA_HOME/conf
On Sat, 16 Feb 2002, Anton Brazhnyk wrote:
I bet you know you can turn of the
directory listing and I think it's all you can do with configs.
But you still can write your own default servlet either global
or just for your application, right?
Somebody must have done it already
Is it possible to configure Tomcat 4 so that it serves index.jsp as the
default for a directory, but still does not serve any static content?
I do not want it to send any files or directory listings. I only want it
to serve jsp and servlets. And still I want it to serve index.jsp from the
Dear gurus.
I am running Apache+Tomcat4.
Please help me on the following:
1.How should I configure tomcat and apache to run on the same port 80.
2.If both in port 80, How should I configure apache that every request
like http://test.myserver.com will be redirected to only one servlet
]]
Envoyé : vendredi 8 février 2002 10:33
À : Tomcat Users List
Objet : Default Servlet
Dear gurus.
I am running Apache+Tomcat4.
Please help me on the following:
1.How should I configure tomcat and apache to run on the same port 80.
2.If both in port 80, How should I configure apache that every
Hi,
-Original Message-
From: Odo [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 11:33 AM
To: Tomcat Users List
Subject: Default Servlet
Dear gurus.
I am running Apache+Tomcat4.
Please help me on the following:
1.How should I configure tomcat and apache to run
with examples?
Anton Brazhnyk wrote:
Hi,
-Original Message-
From: Odo [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 11:33 AM
To: Tomcat Users List
Subject: Default Servlet
Dear gurus.
I am running Apache+Tomcat4.
Please help me on the following:
1.How should I configure
-Original Message-
From: Odo [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 12:27 PM
To: Tomcat Users List
Subject: Re: Default Servlet
Yes Anton,in my case as you said it's enough to have only Tomcat4.
But if I'll configure Tomcat4 running alone,listening port 80
How force Tomcat4 to call default page
from index.jsp to index.class(Servlet)?
Any settings in web.xml?If so how?
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
index.jsp redirect to your servlet
- Original Message -
From: "Odo" [EMAIL PROTECTED]
To: "Tomcat Users List" [EMAIL PROTECTED]
Sent: Thursday, February 07, 2002 10:06
Subject: Default servlet
How force Tomcat4 to call default page
from index.jsp to index.
]
To: "Tomcat Users List" [EMAIL PROTECTED]
Sent: Thursday, February 07, 2002 10:06
Subject: Default servlet
How force Tomcat4 to call default page
from index.jsp to index.class(Servlet)?
Any settings in web.xml?If so how?
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For addi
Hello,
I'm well aware how to globally enable or disable directory listings within
Tomcat (by modifying the listings parameter of the default servlet).
However, I don't know how to set this up correctly context-by-context.
Here's what I've tried:
- copying the servlet and servlet-mapping
Hi!
I seem unable to override the default servlet in tomcat 4.0.1.
Here's an example deployement :
/ --- some servlet
/hello/ --- other servlet
/static/* --- default servlet (for static content)
/*--- my overriden static content servlet
I tried to set
1 - 100 of 127 matches
Mail list logo