Re: MyServlet as default servlet in tomcat 5.0.27

2005-10-02 Thread Parsons Technical Services
, 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

MyServlet as default servlet in tomcat 5.0.27

2005-09-30 Thread Partheeban Boopathy
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.

RE: Problem making my servlet the default servlet (instead of ROOT)

2005-09-15 Thread Allistair Crossley
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

RE: Problem making my servlet the default servlet (instead of ROOT)

2005-09-14 Thread David Thielen
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

Problem making my servlet the default servlet (instead of ROOT)

2005-09-13 Thread David Thielen
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

Re: Problem making my servlet the default servlet (instead of ROOT)

2005-09-13 Thread Parsons Technical Services
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

Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Rob Hunt
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

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Ben Souther
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

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Ben Souther
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

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Rob Hunt
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

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Luis Torres
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

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Ben Souther
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

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread 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).

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Tim Funk
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

Prevent the Default Servlet from piggybacking data

2005-05-25 Thread Alan Chiang
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

Default servlet unavailable

2005-03-23 Thread Stanislav Bauer
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

Delegating to default Servlet

2004-10-05 Thread Steffen Heil
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

Re: Delegating to default Servlet

2004-10-05 Thread Tim Funk
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

RE: Overriding the default servlet

2004-06-29 Thread Ken Coward
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

Overriding the default servlet

2004-06-28 Thread Ken Coward
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

Re: Overriding the default servlet

2004-06-28 Thread Bill Barker
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

Configuring a Default Servlet

2004-02-09 Thread Stefan Görling
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

Re: Configuring a Default Servlet

2004-02-09 Thread Tim Funk
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

Re: Configuring a Default Servlet

2004-02-09 Thread Stefan Grling
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

Re: Configuring a Default Servlet

2004-02-09 Thread Tim Funk
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

Stealing the Writer (Was: Re: Configuring a Default Servlet)

2004-02-09 Thread Stefan Grling
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)

RE: Stealing the Writer (Was: Re: Configuring a Default Servlet)

2004-02-09 Thread Shapira, Yoav
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

RE: Stealing the Writer (Was: Re: Configuring a Default Servlet)

2004-02-09 Thread Mike Curwen
-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

Re: Stealing the Writer (Was: Re: Configuring a Default Servlet)

2004-02-09 Thread Tim Funk
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

Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Jonathan Eric Miller
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

RE: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Shapira, Yoav
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

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Ben Souther
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

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Jonathan Eric Miller
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

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Ben Souther
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

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Jonathan Eric Miller
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

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Ben Souther
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

RE: Apache + Tomcat, a default servlet, and static content

2003-09-17 Thread Mike Curwen
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

Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Mike Curwen
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:

Re: Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Tim Funk
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

Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Mike Curwen
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

Re: Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Bill Barker
:[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

Re: Problem with default servlet

2003-03-14 Thread Bill Barker
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

Re: Problem with default servlet

2003-03-14 Thread rf
--- 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

Re: Problem with default servlet

2003-03-14 Thread rf
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

Problem with default servlet

2003-03-13 Thread rf
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

setting the default servlet directory

2003-02-26 Thread Charles A Jordan
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

RE: setting the default servlet directory

2003-02-26 Thread Filip Hanik
: 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

Re: setting the default servlet directory

2003-02-26 Thread Steve Guo
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

Default servlet mapping

2003-02-07 Thread Lukasz Szelag
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

Re: How do I set a default servlet?

2003-01-10 Thread JStanczak
: | | Subject: Re: How do I set a default servlet

Re: How do I set a default servlet?

2003-01-10 Thread Bill Barker
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

How do I set a default servlet?

2003-01-09 Thread JStanczak
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

Re: How do I set a default servlet?

2003-01-09 Thread Bill Barker
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

default servlet path?

2002-12-24 Thread John . E . Gregg
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

RE: default servlet path?

2002-12-24 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
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

Default servlet

2002-12-13 Thread RAFA
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]

Re: Default servlet

2002-12-13 Thread Boris Folgmann
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

display default servlet

2002-11-19 Thread Anderson, M. Paul
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

Re: display default servlet

2002-11-19 Thread Becky Phaneuf
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

[tomcat4.1.12] How to manage my own default Servlet

2002-10-31 Thread François Vallet
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

RE: [tomcat4.1.12] How to manage my own default Servlet

2002-10-31 Thread Ralph Einfeldt
: [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

RE: [tomcat4.1.12] How to manage my own default Servlet

2002-10-31 Thread François Vallet
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

RE: [tomcat4.1.12] How to manage my own default Servlet

2002-10-31 Thread François Vallet
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

Override the Default Servlet

2002-10-24 Thread François Vallet
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.

[DEFAULT] Override the Default Servlet

2002-10-24 Thread François Vallet
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

Re: [DEFAULT] Override the Default Servlet

2002-10-24 Thread Craig R. McClanahan
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

default servlet mapping

2002-09-20 Thread adi
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

default servlet?

2002-09-19 Thread Jonathan Soons
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

Re: default servlet?

2002-09-19 Thread Jeff Wishnie
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

Re: default servlet?

2002-09-19 Thread Jacob Kjome
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

RE: Default Servlet Parameters

2002-07-10 Thread Manchan
--- 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: ***

RE: Default Servlet Parameters

2002-07-10 Thread Craig R. McClanahan
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

RE: Default Servlet Parameters

2002-07-08 Thread Shapira, Yoav
, 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

Re: Default Servlet Parameters

2002-07-08 Thread Mark O'Driscoll
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

RE: Default Servlet Parameters

2002-07-08 Thread andre . powroznik
-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

RE: Default Servlet Parameters

2002-07-08 Thread Turner, John
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

Re: Default Servlet Parameters

2002-07-08 Thread Craig R. McClanahan
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

Default Servlet Parameters

2002-07-02 Thread Manchan
*** 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

default servlet as an entry point

2002-05-30 Thread Mohammed Omar
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

Re: default servlet as an entry point

2002-05-30 Thread Prabhakar Chaganti
/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

Specifying default servlet for web app?

2002-04-04 Thread Arcadio Sincero
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

Default servlet - listings = 0 doesn't work?

2002-03-26 Thread scott . merritt
, 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

RE: The default servlet

2002-02-18 Thread Anton Brazhnyk
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

RE: The default servlet

2002-02-18 Thread Cox, Charlie
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

Re: NewB/Default Servlet:..rethink...

2002-02-18 Thread john-paul delaney
(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

RE: The default servlet

2002-02-16 Thread Anton Brazhnyk
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

RE: The default servlet

2002-02-16 Thread Markus Bengts
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

RE: The default servlet

2002-02-16 Thread Anton Brazhnyk
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

RE: The default servlet

2002-02-16 Thread Markus Bengts
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

The default servlet

2002-02-15 Thread Markus Bengts
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

Default Servlet

2002-02-08 Thread Odo
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

RE: Default Servlet

2002-02-08 Thread Loc Lefvre
]] 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

RE: Default Servlet

2002-02-08 Thread Anton Brazhnyk
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

Re: Default Servlet

2002-02-08 Thread Odo
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

RE: Default Servlet

2002-02-08 Thread Anton Brazhnyk
-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

Default servlet

2002-02-06 Thread Odo
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]

Re: Default servlet

2002-02-06 Thread Galbayar
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.

Re: Default servlet

2002-02-06 Thread Odo
] 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

Default servlet / directory listings: different settings per context

2002-01-24 Thread chris brown
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

default servlet mapping

2001-12-23 Thread Vincent-Olivier Arsenault
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   2   >