Re: how to set index.faces as welcome-file

2005-07-27 Thread Marten Lehmann
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 as follows

how to set index.faces as welcome-file

2005-07-26 Thread Marten Lehmann
Hello, I tried to put the following into web.xml: welcome-file-list welcome-fileindex.faces/welcome-file /welcome-file-list 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

Re: how to set index.faces as welcome-file

2005-07-26 Thread Christoph Kutzinski
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: welcome-file-list welcome-fileindex.faces/welcome-file /welcome-file-list

Re: how to set index.faces as welcome-file

2005-07-26 Thread Martin Bromley
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

Welcome File

2005-07-10 Thread Behrang Saeedzadeh
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 listing when I

Re: Welcome File

2005-07-10 Thread tomcat
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 presented

Re: Welcome File

2005-07-10 Thread Behrang Saeedzadeh
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, -- Behrang Saeedzadeh http://www.jroller.com/page/behrangsa Using Opera's revolutionary e-mail client

Re: Welcome File

2005-07-10 Thread David Smith
-pattern /servlet-mapping I think this is not true. I remember when I 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

Re: Welcome File

2005-07-10 Thread Behrang Saeedzadeh
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

Welcome file list

2005-06-06 Thread Steve Forster
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 welcome-file-list welcome-fileindex.jsp/welcome-file welcome

welcome file handling

2005-05-26 Thread Jureczky Bálint
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

Re: welcome file handling

2005-05-26 Thread Tim Diggins
://java.sun.com/jstl/core; % c:url value=dir1/dir2/index.jsp/). 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

RE: welcome file handling

2005-05-26 Thread Jureczky Bálint
. 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 the default

Problem with Welcome File mapped to a Servlet

2005-03-04 Thread Andreas Schildbach
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: servlet servlet-nametest/servlet-name servlet-classTest/servlet-class /servlet servlet-mapping servlet-nametest/servlet-name

Re: Problem with Welcome File mapped to a Servlet

2005-03-04 Thread Tim Funk
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: servlet servlet-nametest

welcome-file-list

2005-02-03 Thread Scott Purcell
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

Re: welcome-file-list

2005-02-03 Thread Omar Adobati
If I have correctelly understand the problem, to solve it u just have to add in your web.xml a few lines like this: welcome-file-list welcome-file/index.jsp/welcome-file /welcome-file-list where u can change /index.jsp with any other page that you like

Re: welcome-file-list

2005-02-03 Thread Tim Funk
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

hiding the welcome file

2004-09-30 Thread khanaz
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 the index.jsp without

Re: WebSphere suuports servlets in /welcome-file does Tomcat?

2004-07-22 Thread Tim Funk
Your dtd is for the 2.3 spec, try using 2.4. -Tim R A wrote: Here is a copy of my web.xml. I am using struts 1.1 and using an action(index.do) in the welcome-file/. This should be ok, since every request goes through the ActionServlet. When I point to the web app via a browser, it displays

Re: WebSphere suuports servlets in /welcome-file does Tomcat?

2004-07-22 Thread R A
DTD http://java.sun.com/dtd/web-app_2_3.dtd does not exist at java.sun.com. Any ideas?? Tim Funk [EMAIL PROTECTED] wrote:Your dtd is for the 2.3 spec, try using 2.4. -Tim R A wrote: Here is a copy of my web.xml. I am using struts 1.1 and using an action(index.do) in the . This should be ok,

RE: WebSphere suuports servlets in /welcome-file does Tomcat?

2004-07-22 Thread Caldarale, Charles R
From: R A [mailto:[EMAIL PROTECTED] Subject: Re: WebSphere suuports servlets in /welcome-file does Tomcat? DTD http://java.sun.com/dtd/web-app_2_3.dtd does not exist at java.sun.com. Any ideas?? Assuming you meant 2_4, I think the new reference is: http://java.sun.com/xml/ns/j2ee

Re: WebSphere suuports servlets in /welcome-file does Tomcat?

2004-07-22 Thread R A
I mean web-app_2_4.dtd does not exist at http://java.sun.com R A [EMAIL PROTECTED] wrote: DTD http://java.sun.com/dtd/web-app_2_3.dtd does not exist at java.sun.com. Any ideas?? Tim Funk wrote:Your dtd is for the 2.3 spec, try using 2.4. -Tim R A wrote: Here is a copy of my web.xml. I am

Re: WebSphere suuports servlets in /welcome-file does Tomcat?

2004-07-22 Thread Tim Funk
Try: web-app 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://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 -Tim R A wrote: I mean web-app_2_4.dtd does not exist at

Re: WebSphere supports servlets in /welcome-file does Tomcat?

2004-07-22 Thread R A
-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping session-config session-timeout30/session-timeout /session-config !-- The Welcome File List -- welcome-file-list welcome-fileindex.do/welcome-file /welcome-file-list jsp-config

Re: WebSphere suuports servlets in /welcome-file does Tomcat?

2004-07-21 Thread R A
Here is a copy of my web.xml. I am using struts 1.1 and using an action(index.do) in the welcome-file/. This should be ok, since every request goes through the ActionServlet. When I point to the web app via a browser, it displays a directory listin; however, when I type index.do on the url

Re: Problem in Welcome-file-list and security

2004-03-25 Thread shanmugampl
. Is there any other way i can do this. -Shanmugam- Tim Funk wrote: Security constraints are in the incoming URL. [ Also welcome files *should*(but not required) be single files - not files buried under a directory. Good: welcome-filecowbell.jsp/welcome-file Bad: welcome-filemore/cowbell.jsp

Re: Problem in Welcome-file-list and security

2004-03-25 Thread shanmugampl
Found out the problem. Changing the welcome-file 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

Re: Problem in Welcome-file-list and security

2004-03-24 Thread Tim Funk
Security constraints are in the incoming URL. [ Also welcome files *should*(but not required) be single files - not files buried under a directory. Good: welcome-filecowbell.jsp/welcome-file Bad: welcome-filemore/cowbell.jsp/welcome-file ] -Tim shanmugampl wrote: Hi, I am using 5.0.19 I

Problem in Welcome-file-list and security

2004-03-23 Thread shanmugampl
Hi, I am using 5.0.19 I have the following definition in my web.xml file welcome-file-list * welcome-file/jsp/test.jsp/welcome-file* /welcome-file-list security-constraint web-resource-collection web-resource-nameSecured Core Context/web-resource-name * url-pattern

RE: web.xml Welcome -file and for SSL

2004-03-18 Thread Forte, Graham
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 form action=https

web.xml Welcome -file and for SSL

2004-03-16 Thread Forte, Graham
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

RE: web.xml Welcome-file for SSL

2004-03-16 Thread Forte, Graham
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 request. If I

RE: web.xml Welcome-file for SSL

2004-03-16 Thread Mark Thomas
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

Re: web.xml Welcome -file and for SSL

2004-03-16 Thread UmamaheswarKalluru
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

Re: web.xml Welcome -file and for SSL

2004-03-16 Thread Adrian Lanning
- 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. When the user types http://www.mysite.com it should

Re: web.xml Welcome -file and for SSL

2004-03-16 Thread Adrian Lanning
, 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: Tomcat Users List

RE: tomcat webapp welcome file

2004-01-20 Thread Hooper, Brian
:[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

RE: tomcat webapp welcome file

2004-01-20 Thread Shapira, Yoav
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 site, all they see in the address bar is http://localhost

RE: tomcat webapp welcome file

2004-01-20 Thread Mike Curwen
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 Howdy, The knock

RE: tomcat webapp welcome file

2004-01-20 Thread Shapira, Yoav
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

tomcat webapp welcome file

2004-01-19 Thread Denis
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

Re: tomcat webapp welcome file

2004-01-19 Thread Bill Barker
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, and set the welcome file as index.jsp

Welcome File Oddities in Tomcat 5.0.16

2003-12-19 Thread David Ramsey
In a webapp on which I work, we could specify a welcome file with the following syntax: welcome-file-list welcome-file jsp/myLogin.jsp /welcome-file /welcome-file-list This worked in Tomcat 4.x without problems. I yesterday installed Tomcat 5.0.16 and am

RE: Welcome File Oddities in Tomcat 5.0.16

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

Re: Welcome File Oddities in Tomcat 5.0.16

2003-12-19 Thread Tim Funk
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: welcome-file-list

AW: Servlet as Welcome File doesn't work

2003-12-02 Thread SH Solutions
/root/url-pattern /servlet-mapping welcome-file-list welcome-fileroot/welcome-file /welcome-file-list The problem on this was that tomcat checks for the very existence of the file root, before actually invoking the servlet. The trick is to simply have an empty file root in the applications

Servlet as Welcome File doesn't work

2003-12-01 Thread SH Solutions
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? My solutions so far

Re: Servlet as Welcome File doesn't work

2003-12-01 Thread Rainer Stransky
edit the $CATALINA_HOME/ROOT/WEB-INF/web.xml if you want the root application to show an custom welcome-file and put welcome-file-list welcome-filemyFile.jsp/welcome-file /welcome-file-list to the web-app tag. This works on my tomcat 5.0 Rainer

Re: Servlet as Welcome File doesn't work

2003-12-01 Thread Budi Kurniawan
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--- gt; From: SH Solutions lt

Re: Servlet as Welcome File doesn't work

2003-12-01 Thread bsouther
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 distinct context's, what surely is'nt what it was meant to be. I did search the web

Struts in welcome-file-list

2003-07-02 Thread Jeroen Breedveld
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: welcome-file-list welcome-filestart.do/welcome-file

RE: Struts in welcome-file-list

2003-07-02 Thread Raible, Matt
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

apache workaround for tomcat welcome file redirect

2003-02-18 Thread Catalin
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 Constantin

Re: tomcat welcome-file

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

tomcat welcome-file

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

Re: tomcat welcome-file

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

welcome-file-list

2002-11-18 Thread Anderson, M. Paul
Is it possible to have a servlet be the welcome-file parameter in a welcome-file-list? If so, how do I invoke the servlet? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: welcome-file-list

2002-11-18 Thread Andoni
Users List' [EMAIL PROTECTED] Sent: Monday, November 18, 2002 2:35 PM Subject: welcome-file-list Is it possible to have a servlet be the welcome-file parameter in a welcome-file-list? If so, how do I invoke the servlet? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: welcome-file-list

2002-11-18 Thread Shapira, Yoav
, will allow you to specify a servlet directly as the welcome file for your webapp. Yoav Shapira Millennium ChemInformatics -Original Message- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 9:35 AM To: 'Tomcat Users List' Subject: welcome-file-list

RE: welcome-file-list

2002-11-18 Thread Anderson, M. Paul
and it seemed logical. -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 9:45 AM To: Tomcat Users List Subject: Re: welcome-file-list Yes, it is, in as much as any .jsp file IS a servlet. Why don't you describe more about what you want to achieve

RE: welcome-file-list

2002-11-18 Thread Shapira, Yoav
-Original Message- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 10:10 AM To: 'Tomcat Users List' Subject: RE: welcome-file-list ok...essentially I have a url of the form www.whatever.org/MyServlet/ServletMappedName where the servlet is titled

RE: welcome-file-list

2002-11-18 Thread Anderson, M. Paul
the authenticator has authenticated the user? Does the authenticator and the monitor both recieve a request when a user types www.whatever.org? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 10:13 AM To: Tomcat Users List Subject: RE: welcome-file-list

Re: welcome-file-list

2002-11-18 Thread Andoni
PROTECTED] Sent: Monday, November 18, 2002 3:09 PM Subject: RE: welcome-file-list ok...essentially I have a url of the form www.whatever.org/MyServlet/ServletMappedName where the servlet is titled MyServlet and is mapped to ServletMappedName in the web.xml file so that I can avoid the servlet

RE: welcome-file-list

2002-11-18 Thread Anderson, M. Paul
? -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 10:26 AM To: Tomcat Users List Subject: Re: welcome-file-list Have you tried to create a host element in Tomcat around your context and thereby remove the need for anything after the www.whatever.org? Andoni

RE: welcome-file-list

2002-11-18 Thread Shapira, Yoav
Hi, ok...bear with my skill level here...you're suggesting the Authentication filter and monitor filter would be separate servlets? Then when the user No. I'm suggesting they be proper filters, per the servlet spec v2.3. Specifically, you'd have two things that implement javax.servlet.filter:

RE: welcome-file-list

2002-11-18 Thread Anderson, M. Paul
basic questions but I sincerely appreciate your help!! -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 10:36 AM To: Tomcat Users List Subject: RE: welcome-file-list Hi, ok...bear with my skill level here...you're suggesting

RE: welcome-file-list

2002-11-18 Thread Shapira, Yoav
Howdy, What do you think the learning curve is on using filters and would it be The learning curve for these types of filters (authenticators, loggers) is short and not steep. This is a good place to start: http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html worth the effort

RE: welcome-file-list

2002-11-18 Thread Anderson, M. Paul
PM To: Tomcat Users List Subject: RE: welcome-file-list Howdy, What do you think the learning curve is on using filters and would it be The learning curve for these types of filters (authenticators, loggers) is short and not steep. This is a good place to start: http://www.javaworld.com

Re: welcome-file-list

2002-11-18 Thread Jon Eaves
Andoni wrote: Yes, it is, in as much as any .jsp file IS a servlet. A servlet may not be specified as a welcome-file. I suppose you could re-write your servlet as a JSP and then use that, but that certainly wouldn't be my recommended course of action. There's a fairly simple way to solve

Forward vrs redirect to a welcome-file

2002-09-18 Thread Aviv Eliezer
Hi! when i specify a welcome file, 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 address

Forward vrs redirect to a welcome-file

2002-09-17 Thread Aviv Eliezer
Hi, when i specify a welcome file, 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 address

Re: Index.html/default welcome file - OT

2002-09-04 Thread Martin Jacobson
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 remove the

Re: Index.html/default welcome file

2002-09-01 Thread Bill Barker
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 type http://myhost:8080/index.html;. Does anybody has a solution to this

Re: Index.html/default welcome file

2002-08-31 Thread Filip Lou
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

Re: Index.html/default welcome file

2002-08-31 Thread garrett smith
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, though

Re: Index.html/default welcome file

2002-08-31 Thread garrett smith
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 changed server.xml to make

Index.html/default welcome file

2002-08-30 Thread carlos1 . rivera
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; in the browser, we have

no welcome file with Apache 2.0.35 + mod_webapp + tomcat 4.0.4

2002-08-20 Thread Alejandro Pastor Seva
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/jsp/index.html

using a servlet as welcome-file

2002-04-15 Thread Peter Romianowski
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 PathInfo, right? Please help! Thanks

Apache + Tomcat : Welcome-file

2002-03-11 Thread Elisabeth Julg
\AlveoleDev reloadable=false crossContext=true Parameter name=HD_Data value=D:\PastelData\AlveoleDev override=false / /Context /Host /Engine /Service In the Tomcat's file : web.xml welcome-file-list welcome-filejsp/Appli/hdi_index.jsp/welcome-file /welcome-file

Re: Apache + Tomcat : Welcome-file

2002-03-11 Thread rsequeira
:\AlveoleDev conn /alveoledev/ ... /snip 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: Subject: Apache + Tomcat : Welcome-file Hi, I would like integrate a Tomcat's

RE: tomcat 4 apache mod_webapp welcome-file-list

2002-02-24 Thread Kendal L. Montgomery
-mapping session-config session-timeout 30 /session-timeout /session-config welcome-file-list welcome-fileindex.html/welcome-file /welcome-file-list /web-app when I try to hit the page: http://localhost/multipart/ I get a page cannot be displayed error in IE 5.5, saying

welcome-file behavior

2002-02-06 Thread Guy McArthur
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

AW: welcome-file behavior

2002-02-06 Thread Ralph Einfeldt
.) -Ursprüngliche Nachricht- Von: Guy McArthur [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 6. Februar 2002 09:29 An: Tomcat Users List Betreff: welcome-file behavior snip/ Tomcat [4.0b2] does a HTTP 302 (temporary redirect) to the welcome-file snip/ So, is it possible to change

RE: Servlet as default file (welcome-file)

2002-02-06 Thread Clay Mitchell
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

Servlet as default file (welcome-file)

2002-02-05 Thread Clay Mitchell
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?

Re: Servlet as default file (welcome-file)

2002-02-05 Thread Joel Rees
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

Re: Servlet as default file (welcome-file)

2002-02-05 Thread Odo
The same situation was for me,but I overcame it using default index.jsp redirecting to Servlet File.In index.jsp I wrote : html head meta http-equiv=refresh content=0;url= your servlet... /head /html But I know this trick is not I really wanted Does somebody have other solutions? Clay

TC4: webapp not recognizing index.html as welcome file

2002-01-17 Thread August Detlefsen
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

https redirect with welcome file

2002-01-08 Thread Daniel C. Heidebrecht
://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_HOME

welcome file not loading...

2001-11-19 Thread Matt Egyhazy
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: welcome-file-list welcome-file index.jsp /welcome-file welcome-file login.html /welcome-file /welcome

virtual host / different welcome file...

2001-08-29 Thread Patrick May
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

RE: welcome file in web.xml with pre-compiled jsp's?

2001-08-24 Thread dhay
Hi Saritha, Yep, I understand how to set up my web.xml - if you look at the bottom of the mail I sent, you'll see it there... Works fine if I call index.jsp directly, BUT if I place it as my welcome page using welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list

RE: welcome file in web.xml with pre-compiled jsp's?

2001-08-24 Thread Thad Humphries
it there... Works fine if I call index.jsp directly, BUT if I place it as my welcome page using welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list it doesn't work! Any suggestions? Dave Saritha Pula [EMAIL PROTECTED] on 08/21/2001 04:40:41 PM To: [EMAIL

welcome file in web.xml with pre-compiled jsp's?

2001-08-21 Thread dhay
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. Putting

RE: welcome file in web.xml with pre-compiled jsp's?

2001-08-21 Thread Saritha Pula
/url-pattern /servlet-mapping When you refer to /index.jsp it calls pre-compiled JSP(i.e servlet)using mapping in web.xml --Saritha -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 12:00 PM To: [EMAIL PROTECTED] Subject: welcome file

Problems with XML parsing: welcome-file-list (web.xml)

2001-05-28 Thread christian kuehrt
welcome-file-list welcome-filetechSupp.html/welcome-file /welcome-file-list servlet --line 18 servlet-nametechSup... without the welcome-file-list tags the deploying - is no problem. but with it i get a the parse error. but i don´t know why. please help thx christian kuehrt

RE: Problems with XML parsing: welcome-file-list (web.xml)

2001-05-28 Thread Pernica, Jan
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 column -1

Re: Problems with XML parsing: welcome-file-list (web.xml)

2001-05-28 Thread christian kuehrt
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: welcome-file-list (web.xml

  1   2   >