Hello,
thanks for your class. I'm not usig it (and I guess its partially wrong,
because you can't simply append the welcome-file the the path-info), but
it inspired me to create a better way: Through a filter. I attached the
filter-class, you would integrate it in the web.xml
It took me a while to get welcome files working with the SpringMVC web
framework.
I created the attached servlet to get things working properly. It requires
servlet spec 2.4, and it works by mapping the welcome file to a servlet,
WelcomeFileServlet, rather than direct to a JSP. The
Create a dummy index.faces file.
I did it this wy with Struts and index.do so I assume it should work
with faces, too.
hth,
Christoph
Marten Lehmann wrote:
Hello,
I tried to put the following into web.xml:
index.faces
But obviously, this doesn't work, because there is no file index.f
Hello,
I tried to put the following into web.xml:
index.faces
But obviously, this doesn't work, because there is no file index.faces,
but index.jsp. However, if the index.jsp isn't called through
index.faces, the FacesContext isn't used. How can I achieve this as
expected? I don't
Hi
Question: Does it return a page if you request the index.jsf page
directly?
Yes. It renders the index.jsp JSF page successfuly on the screen.
- Behrang
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
was using Struts, my
ActionServlet's
mapping was something like *.do or /do/* and putting index.do in the
welcome file list
was working (I'm not sure, I've to check it once again...)
Thanks,
-
To unsubscribe,
n the
welcome file list
was working (I'm not sure, I've to check it once again...)
Thanks,
--
Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
Using Opera's revolutionary e-mail client
-
To unsubscribe, e-mail: [
Behrang Saeedzadeh wrote:
Hi
I've a simple JSF application. As long as I can remember, it was
possible to specify
a logical URI instead of as a physical file in the welcome file list
in the 2.4 spec.
I have specified the index.jsf page to be the welcome page, but I'm
presente
Hi
I've a simple JSF application. As long as I can remember, it was possible
to specify
a logical URI instead of as a physical file in the welcome file list in
the 2.4 spec.
I have specified the index.jsf page to be the welcome page, but I'm
presented with
the directory list
Hi, this is probably a basic question but I could really use a hand.
Is there a way to simply read/display www.mydomain.com without
redirecting to index.jsp?
I found out how to do the opposite in web.xml
index.jsp
index.html
index.htm
TIA
Steve
avior.
Balint
-Original Message-
From: Tim Diggins [mailto:[EMAIL PROTECTED]
Sent: 2005.május 26. 12:18
To: Tomcat Users List
Subject: Re: welcome file handling
Don't know about the difference, but a couple of potential workarounds:
1) could be to have your welcome page just be t
ttp://java.sun.com/jstl/core"; %>
).
Tim
Jureczky Bálint wrote:
Hello All,
We had problems with welcome-file handling after Tomcat upgrade. The welcome
file points to page like /dir1/dir2/index.jsp. The page is found despite the
fact that the servlet specification says leading / is not
Hello All,
We had problems with welcome-file handling after Tomcat upgrade. The welcome
file points to page like /dir1/dir2/index.jsp. The page is found despite the
fact that the servlet specification says leading / is not allowed, this is
valid in all Tomcat versions I know.
The exact
See bugzilla and search for welcome-files - I believe this was talked about a
few times.
-Tim
Andreas Schildbach wrote:
Hello everyone,
I'm using Tomcat 5.0 and Servlet Spec 2.4.
I have defined a servlet mapping all *.html and a standard welcome file,
as follows:
test
Hello everyone,
I'm using Tomcat 5.0 and Servlet Spec 2.4.
I have defined a servlet mapping all *.html and a standard welcome file,
as follows:
test
Test
test
*.html
index.html
Unfortunately, this does not work as expected. My servlet rec
Tomcat 5 hides index.jsp, tomcat 4 does not.
-Tim
Scott Purcell wrote:
Hello,
I have a web site that I want accessed using the dns name:
eg:
http://www.purcell.com
I have a welcome-file entry which says go to index.jsp.
Of course the page loads and the url looks like this:
http
Feb 2005 11:48:01 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a web site that I want accessed using the dns name:
> eg:
> http://www.purcell.com
>
> I have a welcome-file entry which says go to index.jsp.
>
> Of course the page loads an
Hello,
I have a web site that I want accessed using the dns name:
eg:
http://www.purcell.com
I have a welcome-file entry which says go to index.jsp.
Of course the page loads and the url looks like this:
http://www.purcell.com/index.jsp
Is there anyway to remove the index.jsp, but display
Hello:
I am interested in hiding the welcome file from my webapp.. Assume I am
connecting to http://www.mysite.com <http://www.mysite.com/> . Tomcat
4.1.29 and 5.0 will show that as http://www.mysite.com/index.jsp
<http://www.mysite.com/index.jsp> . How do I go about hiding t
Found out the problem. Changing the from */jsp/test.jsp*
to *jsp/test.jsp *solves the issue. The additional / causes some changes
in the url pattern and as a result the request was not considered to be
secured one. Thanks for your effort.
-Shan-
Tim Funk wrote:
Make your welcome file
Make your welcome file index.jsp. Then for that specific URL (/) - have it
redirect to jsp/test.jsp. That way the external redirect forces the security
constraint to be caught. For example:
index.jsp:
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%>
-T
8080/, the welcome-file is served directly,
without going through the security constraints. But if i invoke as.
http://localhost:8080//jsp/test.jsp, then the login.jsp page
is brought up.
The same setup works fine in tomcat 4.1.24
Am i missing something in the configuration or is it a to
file
* /jsp/test.jsp*
Secured Core Context
* /jsp/**
*
FORM
/login/login.jsp
/login/login.jsp
Now if i access my application as http://localhost:8080/,
the welcome-file is served directly, without going through
http://localhost:8080/, the welcome-file is served directly,
without going through the security constraints. But if i invoke as.
http://localhost:8080//jsp/test.jsp, then the login.jsp page is
brought up.
The same setup works fine in tomcat 4.1.24
Am i missing something in the configura
Uma,
I have set the web.xml welcome file to index.jsp and then in index.jsp(which the user
never sees) I do a
<%response.sendRedirect("https://myDomain.com:8443/sslIndex.jsp";);%>
For your needs you could just have the user logon on the http page.
On the html page set the https:
m,
It looks like your setup is correct, you just use the welcome file. But you
have to have tomcat listen on port 443 rather than 8443. It sounded in your
original post like Tomcat was just listening on 8443...
hth,
Adrian
- Original Message -
From: <[EMAIL PROTECTED]>
To: "T
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 16, 2004 10:16 PM
Subject: Re: web.xml Welcome -file and for SSL
>
>
>
>
> Hi Forte,
> I am also having similar type of problem. Whe
Hi Forte,
I am also having similar type of problem. When the user types
http://www.mysite.com it should first go to the default .html page (that is
using 80 port) that I have set in the welcome-file-list in web.xml file.
Its working fine. But once the user logs in from the home page, he should
Should do. This works for me with TC4 and the default welcome list.
Mark
> -Original Message-
> From: Forte, Graham [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 16, 2004 3:33 PM
> To: 'Tomcat Users List'
> Subject: RE: web.xml Welcome-file for SSL
>
>
Corrected subject, any takers.
Thanks!!
-Original Message-
From: Forte, Graham
Sent: Tuesday, March 16, 2004 7:20 AM
To: 'Tomcat Users List'
Subject: web.xml Welcome -file and for SSL
Hello,
I am wondering if it is possible to specify a Welcome-file for an
https req
Hello,
I am wondering if it is possible to specify a Welcome-file for an
https request. If I am using port 443 how can I configure Tomcat 4.1 so that
when the user types in https://myIPAddress or https://myDomainName they
will be directed to https://myIPAddress/myFirstPage.jsp.
Thanks
Howdy,
>> The knock on that is that users can't bookmark their exact
>> page. It may not be an issue for you but some users hate this ;)
>Actually Yoav, more like *visceral hatred and copious bilious rage*
> ;)
Ain't that the truth... ;) It's amazing how often basic things (from
the user's pe
Actually Yoav, more like *visceral hatred and copious bilious rage*
;)
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 20, 2004 10:24 AM
> To: Tomcat Users List
> Subject: RE: tomcat webapp welcome file
>
>
>
>
4 11:21 AM
>To: Tomcat Users List
>Subject: RE: tomcat webapp welcome file
>
>The easiest way to do this would probably be to use hidden html frames.
>This might help:
>
>http://insights.iwarp.com/advanced/hiddenframe.html
>
>That way no matter where a user goes in your
:[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 9:25 PM
To: [EMAIL PROTECTED]
Subject: tomcat webapp welcome file
Hi:
I created a webapp as ROOT under tomcat 4.1.27, and set the welcome
file as index.jsp for the webapp. And I start the tomcat server and open
my IE go to localhost. In the IE
It's possible with TC 3.3.x (with non-default config options), and with TC
5.0.x (with the default config options), but not with TC 4.1.x.
"Denis" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi:
> I created a webapp as ROOT under tomcat 4.1.27, an
Hi:
I created a webapp as ROOT under tomcat 4.1.27, and set the welcome
file as index.jsp for the webapp. And I start the tomcat server and open
my IE go to localhost. In the IE address bar, it changes to
http://localhost/index.jsp. Is there a way to config the tomcat to let
it not display
by an internal forwards so the browser sees as the URL
http://myserver.mydomain.com:8080/myapplication/
It is generally a bad idea to have a / in a welcome file.
-Tim
David Ramsey wrote:
In a webapp on which I work, we could specify a welcome file with the
following syntax
Howdy,
Welcome file behavior was changed because the spec was changed to allow
servlets as welcome files. There could be a bug in the code, or it
could be that your relative path to welcome file is no longer legal in
servlet specification 2.4 containers. I don't know which one is true,
In a webapp on which I work, we could specify a welcome file with the
following syntax:
jsp/myLogin.jsp
This worked in Tomcat 4.x without problems. I yesterday installed
Tomcat 5.0.16 and am unable to get this to work any longer. Reviewing
the 2.4 servlet
Hi
I found an solution to force tomcat 4.1.29 to use servlets as welcome files.
My applications web.xml:
Root
com.osiris4.servlets.Root
Root
/root
root
The problem on this was that tomcat checks for the very existence of the
file "root", before ac
let "myPackage.Root", but I do not want
> to change the mapping of ordinary files.
> Just as a welcome file would, but welcome-file does not apply to servlets,
> right?
>
> My solutions so far is to map "/" to my servlet an map any other folder
> with distinc
Servlet 2.4 (implemented by Tomcat 5) allows you to use a servlet as a welcome file.
If you're using Servlet 2.3, here is a trick:
- Create a JSP page that forwards to the servlet.
- Specify the JSP page as the welcome-file.
budi.
---Original Message---
> From: SH S
edit the $CATALINA_HOME/ROOT/WEB-INF/web.xml if you want the "root"
application to show an custom welcome-file
and put
myFile.jsp
to the tag.
This works on my tomcat 5.0
Rainer
--
--
Software Fa
Hello.
I'm using tomcat 4.1.29 on debian and I have the following problem:
I need to get "/" handled by my Servlet "myPackage.Root", but I do not want
to change the mapping of ordinary files.
Just as a welcome file would, but welcome-file does not apply to servlets,
right
As part of the servlet 2.2/2.3 spec, you are not allowed to use a
servlet/action as a welcome-file - only .html or .jsp (I think). This is
changing in the servlet 2.4 spec.
Matt
-Original Message-
From: Jeroen Breedveld [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 8:28 AM
To
Hi all,
I tried to get a page from my Struts application as default page in the
welcome file list (see below) but it doesn't work, it keeps going to
index.html. Am I doing something wrong or is it simply not possible?
I did this:
start.do
index.html
I also tried just
Hello,
I'm using apache tomcat 4.1 + mod_jk + Apache 1.3.27.
My webapp has the welcome file set to index.jsp.
As far as i know, the requests to /fooapp/ are redirected to
/fooapp/index.jsp.
Is there any apache HTTPD workaround to do instead of redirect some kind of
forward ?
Catalin Const
what can you tell me about option 3)
i have apache 1.3.27, tomcat4 and mod_jk !
what should i DO to make it not Redirect !
Catalin
- Original Message -
From: Bill Barker
To: [EMAIL PROTECTED]
Sent: Friday, January 10, 2003 8:32 AM
Subject: Re: tomcat welcome-file
1) Use Tomcat 3.3.2
/welcome.html
i want to skip the redirect step and to load
the welcome file or a default file (tomcat conf specified or some)
on request.
Catalin
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
How can i configure tomcat not to send 302 Moved Temporarily
when i access the ROOT of my webapp ?
Eg:
http://localhot:8080/testapp/
it gets redirected to
http://localhot:8080/testapp/welcome.html
i want to skip the redirect step and to load
the welcome file or a default file (tomcat conf
Hi!
when i specify a , and hit the root of a webapp, i'm automatically
redirected to the
welcome file- ie, i see in the browser address bar "http://www.domain.com/index.jsp";
does anyone know how to make it so that tomcat will forward to the welcome-file, so in
the browser
ad
Hi,
when i specify a , and hit the root of a webapp, i'm automatically
redirected to the
welcome file- ie, i see in the browser address bar "http://www.domain.com/index.jsp";.
Does anyone know how to make it so that tomcat will forward to the welcome-file, so in
the browser
ad
garrett smith wrote:
> Still having troubles?
>
> On Mac OS, the OS will add an extra extension based on file type. This is done
> to make the computer more user-friendly, although it is exactly the opposite:
> it is counter-intuitive.
>
> I had to check "Show Info" on right-click menu and rem
e reason even
> though we have in the web.xml(in both the conf directory and in the
WEB_INF
> of out application) the definition of the "welcome-file-list", we cannot
get
> the index.html when we type "http://myhost:8080"; in the browser, we have
to
> explicitly typ
.
I don't know if your OS does this, but you may want to check it out.
Also, consider waiting for five seconds between startup and shutdown. I get
mixed results when I don't wait.
I changed my welcome-file-list in the web.xml file below and successfully
navigated to the url below. I c
index.html, index.htm, index.jsp, welcome.do,
If welcome-file-list really does work, then it is not necessary to name your
file index.htm from index.html.
welcome-file-list really does work, so it is not necessary to name your file
index.htm from index.html.
I don't have a solution, t
try using index.htm
Filip Lou
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 11:41 PM
Subject: Index.html/default welcome file
>
We are running tomcat/catalina as a thread/embedded. For some reason even
though we have in the web.xml(in both the conf directory and in the WEB_INF
of out application) the definition of the "welcome-file-list", we cannot get
the index.html when we type "http://myhost:8080"
Hi, I have a problem with apache --> mod_webapp -->tomcat:
http://myhost/jsp --> (apache) don´t work. don´t display welcome file .
tomcat display error status code 302 Moved Temporarily
http://myhost:8008/jsp --> (tomcat standalone) ok display the welcome file.
http:/myhost/js
Hi there,
I am using tomcat4 and want to setup a servlet as
"welcome file". How can I do this? Using "/" as
servlet-mapping would not work (IMHO:). If I then
try to access http://myhost/something.html then my
servlet would be invoked with "something.html" as
; <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc:
Subject: RE: Apache + Tomcat : Welcome-file
hello RS,
Thanks for your help.
Like you said, the path : http://localhost/alveoledev/ works.
On the other hand, changing D:/ by D:\ doesn't change a
nt http://localhost/alveoledev (without /), I must create the
directory alveoledev in the DocumentRoot.
Best regards,
Elisabeth
Toulouse - France
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoye : lundi 11 mars 2002 16:45
A : Tomcat Users List
Objet : Re: Apach
calhost:8008
WebAppDeploy D:\AlveoleDev conn /alveoledev/
...
RS
"Elisabeth Julg" <[EMAIL PROTECTED]> on 03/11/2002 04:34:58 AM
Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat-User" <[EMAIL PROTECTED]>
cc:
Subj
web.xml
jsp/Appli/hdi_index.jsp
In the Navigator,
http://localhost/alveoledev => Doesn't work
but
http://localhost/alveoledev/jsp/Appli/hdi_index.jsp => Works.
Have you an idea for the url http://localhost/alveoledev uses the
"welcome-file" ?
Thanks,
-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
-Original Message-
From: Dom [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 2:15 PM
To: [EMAIL PROTECTED]; Tomcat Developer List
Subject: tomcat 4 & apache & mod_webapp welcome-file-list
Tomcat 4 + Apache + mod_webapp.so :
It looks like welco
4.0.1 or whatever the current stable release is
-Original Message-
From: Joel Rees [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 12:44 AM
To: Tomcat Users List
Subject: Re: Servlet as default file (welcome-file)
I think this varies from version to version. I figured
.)
> -Ursprüngliche Nachricht-
> Von: Guy McArthur [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 6. Februar 2002 09:29
> An: Tomcat Users List
> Betreff: welcome-file behavior
> Tomcat [4.0b2] does a HTTP 302 (temporary redirect) to the
> welcome-file
> So, is it
My web-app is set with a welcome-file-list, index.xml is the first
welcome-file entry.
Tomcat [4.0b2] does a HTTP 302 (temporary redirect) to the welcome-file
for requests that do not specify a file. This is contrary to the behavior
of almost every web server, ever. E.g. Apache et al will
The same situation was for me,but I overcame it using default index.jsp
redirecting to Servlet File.In index.jsp I wrote :
But I know this trick is not I really wanted
Does somebody have other solutions?
Clay Mitchell wrote:
> How do I set up a servlet as the file tomcat returns when
I think this varies from version to version. I figured out 3.3, but my
manager tells me we have to go back to 3.2, and it looks different.
Discussion of v. 4 sounds like yet another one.
Which version?
- Original Message -
> How do I set up a servlet as the file tomcat returns when as t
How do I set up a servlet as the file tomcat returns when as the default
index file?
Can specifty a jsp just fine, but no idea how to do servlet.
Oh yeah, one other thing - is it possible to let tomcat serve up
servlets out of the / webapp directory, as opposed to the /servlet/
directory?
Thank
My webapp recognizes only index.jsp as the welcome file. How can I get
it to use either index.jsp or index.html?
Right now, if I go to the docs directory within my webapp (javadocs are
all html) I get a directory listing instead of index.html.
I tried adding a welcome-file-list element to the
http://localhost:8080/
and the welcome-file for the default webapp is set to index.html, tomcat
does not redirect to:
https://localhost:8443/index.html as i would expect, the client just hangs
until the connection times out.
following are the welcome-file and security-constraint entries in my
$CATALINA
hi,
i am using tomcat 3.2.3 and apache 1.3.20 on windows 2000 with mod_jk
i have setup the welcome file in the web.xml of my web application as
follows:
index.jsp
login.html
this does not seem to be working and only a directory listing is supplied
I want a virtual host to forward to a different welcome file.
For example, i have a tomcat server running at http://www.foo.com
I want http://www.foobar.com to go to
http://www.foo.com/friends/foobar.html.
What would be the most straight forward way for me to implement this?
Thanks,
Patrick
quot; <[EMAIL PROTECTED]> on 08/21/2001
>04:40:41 PM
>
>To: [EMAIL PROTECTED]
>cc: "David_Hay/Lex/Lexmark.LEXMARK"@sweeper.lex.lexmark.com (bcc: David
> Hay/Lex/Lexmark)
>Subject: RE: welcome file in web.xml with pre-compiled jsp's?
>
>
&
"Saritha Pula" <[EMAIL PROTECTED]> on 08/21/2001
04:40:41 PM
To: [EMAIL PROTECTED]
cc: "David_Hay/Lex/Lexmark.LEXMARK"@sweeper.lex.lexmark.com (bcc: David
Hay/Lex/Lexmark)
Subject: RE: welcome file in web.xml with pre-compiled jsp's?
Hi dhay
You have
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 12:00 PM
To: [EMAIL PROTECTED]
Subject: welcome file in web.xml with pre-compiled jsp's?
Hi everyone,
I am pre-compiling my jsp's in my struts web app, and everything works
fine,
except
Hi everyone,
I am pre-compiling my jsp's in my struts web app, and everything works fine,
except specifying the welcome file in the web.xml.
If I do not pre-compile everything, having index.jsp as the first page works
great. However, when I pre-compile index.jsp it doesn't work.
thanks for your help
i´didnt know that the order of the tags plays an important role
ciao
curt
- Original Message -
From: "Pernica, Jan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 2:02 PM
Subject: RE: Problems with XML parsing: "
That is easy. Look into conf/web.dtd.
welcome-file-list need not preceede the servlet.
Regards
Jan
On Monday, May 28, 2001 1:57 PM, christian kuehrt
[SMTP:[EMAIL PROTECTED]] wrote:
> everytime i try to deploy my application i get the following message:
>
> PARSE error at line 18
everytime i try to deploy my application i get the
following message:
PARSE error at line 18 column
-1org.xml.sax.SAXParseException: org.apache.crimson.parser/V-036 web-app
servletStarting service Tomcat-ApacheApache Tomcat/4.0-b3
and the reason for this are in the
web.xml:
Hi All,
Hope all is well!
I've noticed in the TC321 source base that the 'welcome file' specified
in the web.xml actually checks to see if this file exists before using
it.
See StaticInterceptor.java, lines 270, and 297
270:
Hello,
I noticed during development that Tomcat only serves *.html files in the
welcome-file-list. It tried to put index.jsp to the list - no reaction, the
file wasn't be served. I changed the name to index.html - every okay. Is
this a bug or a feature?
Regards
Thomas
ilto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 11:26 AM
> To: [EMAIL PROTECTED]
> Subject: Welcome-file
>
>
> Hello,
>
> I noticed during development that Tomcat only serves *.html
> files in the
> welcome-file-list. It tried to put index.jsp to the list - no
Hello,
I noticed during development that Tomcat only serves *.html files in the
welcome-file-list. It tried to put index.jsp to the list - no reaction, the
file wasn't be served. I changed the name to index.html - every okay. Is
this a bug or a feature?
Regards
Thomas
/index.jsp
Make sure it's in your aplication directory and not the one in the conf
Hades
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 12:42 AM
To: [EMAIL PROTECTED]
Subject: RE: Welcome File : inde
: [EMAIL PROTECTED]
cc:(bcc: Suha Yacoub/IL/ONE)
Subject: RE: Welcome File : index.jsp
Hello,
I looked at the web.xml which I copied from TOMCAT_HOME/conf and it complies
with the dtd that it refers to on the Sun site:
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
I'm still trying t
ss
3)
Should I define all the mime types within each context or is this unnecessary?
Can I remove these tags?
4)
My welcome-file-list tag is ok with only one child
index.jsp.
I apologize if there's documentation about this and I missed it.
Thanks,
suha.
The web.xml file also contains a
ECTED]]
Sent: Tuesday, April 10, 2001 3:03 PM
To: [EMAIL PROTECTED]
Subject: Re: Welcome File : index.html
Joar Vatnaland wrote:
>
> How did you change the welcome-file,
> did you just append an
>
> sample.html
>
> after the other entries? My guess is that it goes through the
On Tue, 10 Apr 2001 08:08:45 PDT you wrote:
>
> I have tried this by changing contents of tag of file web.xml
> still it didn't work..
>
IIRC(!?), conf/web.xml isn't used any more ...
only context-specific web.xml will be read,
server-wide config is in conf/server.xml
test: try to produce a s
> I'm having a similar problem. I'm running tomcat in-process
> within apache. Will
> I need to set the welcome file setting on apache? I tried
> setting index.jsp as
> my welcome file in web.xml but the browser/server ignores
> this setting. I
> restarted both
I'm having a similar problem. I'm running tomcat in-process within apache. Will
I need to set the welcome file setting on apache? I tried setting index.jsp as
my welcome file in web.xml but the browser/server ignores this setting. I
restarted both apache and tomcat.
thanks,
~ suha.
Joar Vatnaland wrote:
>
> How did you change the welcome-file,
> did you just append an
>
> sample.html
>
> after the other entries? My guess is that it goes through the list
> and starts with the first file it finds. So if an index.jsp or index.html
> still exi
How did you change the welcome-file,
did you just append an
sample.html
after the other entries? My guess is that it goes through the list
and starts with the first file it finds. So if an index.jsp or index.html
still exists in your directory, then that will still be the starting file
Hello can i change welcome file index.html to
my sample.html
I have tried this by changing contents of tag of file web.xml
still it didn't work..
please let me know the way...
Thanx in advance
regards
sunil
On Wed, 21 Mar 2001, Martin Mauri wrote:
> > On Tue, 20 Mar 2001, Martin Mauri wrote:
> >
> > > The URL is: http://myhost:myport/worksheet/
> > >
> > > and so worksheet is the context name, but the welcome page is
> > > worksheet.jsp and it's inside the directory worksheet.
> >
> > OK. That seem
> On Tue, 20 Mar 2001, Martin Mauri wrote:
>
> > > On Mon, 19 Mar 2001, Martin Mauri wrote:
> > >
> >
> > The URL is: http://myhost:myport/worksheet/
> >
> > and so worksheet is the context name, but the welcome page is
> > worksheet.jsp and it's inside the directory worksheet.
>
> OK. That seems
apache conf
> > > > file to tell apache to pass that URL to tomcat. Hence, apache is
> > > > handling that URL (and it's only tomcat knows about the welcome file).
> > > > If you're using mod_jserv, these are ApJservMount directives; if
> > >
1 - 100 of 124 matches
Mail list logo