You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Craig Anderson <cr...@netstatresources.com> on 2000/09/22 04:51:49 UTC
Index file loading
Hello -
Well, I am almost done switching everything over from JServ to
tomcat. I am having a problem now with directory indexes. Specifically, if
the index file is an index.jsp then it will not load automatically when the
directory is hit. I have index.jsp specified as a directory index to apache
and it still does not load. I have tested index.php and index.html and those
seem to work fine, any ideas?
Craig Anderson
Director of Internet Services
http://www.netstatresources.com
Re: Index file loading
Posted by Anand Raman <ar...@india-today.com>.
Sorry for the the delayed response..
But if u plan to use it in conjuction with Apache maybe DirectoryIndex directive
for the directory can also help.
eg
<Directory /usr/local/web/contest/>
DirectoryIndex index.jsp
</DirectoryIndex>
HTH
Anand Raman
On Thu, Sep 21, 2000 at 08:58:14PM -0600, Peter Slade wrote:
>I have had the same problem and would be interested in any solution.
>For now I have placed a refresh header in an index.html page that redirects
>immediately to index.jsp
>
>Pete.
>
>-----Original Message-----
>From: Craig Anderson [mailto:craig@netstatresources.com]
>Sent: Thursday, September 21, 2000 8:52 PM
>To: Tomcat User Help (E-mail)
>Subject: Index file loading
>
>
>Hello -
>
> Well, I am almost done switching everything over from JServ to
>tomcat. I am having a problem now with directory indexes. Specifically, if
>the index file is an index.jsp then it will not load automatically when the
>directory is hit. I have index.jsp specified as a directory index to apache
>and it still does not load. I have tested index.php and index.html and those
>seem to work fine, any ideas?
>
>Craig Anderson
>Director of Internet Services
>http://www.netstatresources.com
RE: Index file loading
Posted by Peter Slade <ps...@netextraction.com>.
I have had the same problem and would be interested in any solution.
For now I have placed a refresh header in an index.html page that redirects
immediately to index.jsp
Pete.
-----Original Message-----
From: Craig Anderson [mailto:craig@netstatresources.com]
Sent: Thursday, September 21, 2000 8:52 PM
To: Tomcat User Help (E-mail)
Subject: Index file loading
Hello -
Well, I am almost done switching everything over from JServ to
tomcat. I am having a problem now with directory indexes. Specifically, if
the index file is an index.jsp then it will not load automatically when the
directory is hit. I have index.jsp specified as a directory index to apache
and it still does not load. I have tested index.php and index.html and those
seem to work fine, any ideas?
Craig Anderson
Director of Internet Services
http://www.netstatresources.com
Re: Index file loading
Posted by Daniel Barclay <Da...@digitalfocus.com>.
Peter Slade wrote:
>
> Hi,
>
> I am using Tomcat 3.1 and have a JSP application that maintains state
> through the session object.
>
> All of our code uses the encodeURL method to format the URL in case cookies
> are turned off on the clients browser.
>
> If cookies are turned on then everything works as I would expect. However if
> cookies are turned off on the client browser then the session id is not
> appended to the url string as I would expect.
>
> Running the same code on other servers such as JRun, encodeURL formats the
> string correctly.
...
Watch your subject lines.
Daniel
--
Daniel Barclay
Digital Focus
Daniel.Barclay@digitalfocus.com
Help with encodeURL problem
Posted by Peter Slade <ps...@netextraction.com>.
Hi,
I am using Tomcat 3.1 and have a JSP application that maintains state
through the session object.
All of our code uses the encodeURL method to format the URL in case cookies
are turned off on the clients browser.
If cookies are turned on then everything works as I would expect. However if
cookies are turned off on the client browser then the session id is not
appended to the url string as I would expect.
Running the same code on other servers such as JRun, encodeURL formats the
string correctly.
Is there something I need to configure in Tomcat to make this work correctly
or a location I could visit that could provide me with more information?
Any help would be greatly appreciated.
Pete.
RE: Index file loading
Posted by Peter Slade <ps...@netextraction.com>.
Hi,
I am using Tomcat 3.1 and have a JSP application that maintains state
through the session object.
All of our code uses the encodeURL method to format the URL in case cookies
are turned off on the clients browser.
If cookies are turned on then everything works as I would expect. However if
cookies are turned off on the client browser then the session id is not
appended to the url string as I would expect.
Running the same code on other servers such as JRun, encodeURL formats the
string correctly.
Is there something I need to configure in Tomcat to make this work correctly
or a location I could visit that could provide me with more information?
Any help would be greatly appreciated.
Pete.