You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anders Rundgren <an...@telia.com> on 2002/03/08 11:27:12 UTC

IE 5 on Mac is incompatible with TC 4?

Hi,
I have a Tomcat app using sessions based on cookies (i.e. std way) that
works with a huge set of browsers and OSes.

But on Mac using IE 5 it does not.  The culprit seems to be that session
cookies are not compatible in some way as they are not visible in
TC.

Is this a known problem?

BTW, the configuration is Apache on Linux, using ajp1.3 and TC 4.0.2

cheers,
Anders R


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Running servlet from folder within WEB-INF?

Posted by Leon Vermaak <lv...@rogers.com>.
Sorry but I don't know how best to fraze the question I have I will try to
better explain myself.
I am new to Tomcat I am on Windows 2000 Professional platform. I compiled
the simplest of servlets!
I created the following a folder
%CATALINA_HOME%/webapps/project/WEB-INF/classes/SERVLET_NAME
I started tomcat and called the servlet with
http://ip:8080/project/servlet/SERVLET_NAME
when I call the servlet, the word SERVLET does not form part of the path?
how does this wrok?
If this list does not anwer these type of questions would anyone please be
so kind as to tell me where I can find answer for beginners of any on-line
documentation that explains things in a bit more detail than the Tomcat
documentation, which is a bit vague.
Thanks



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Keep-Alive. Was: IE 5 on Mac is incompatible with TC 4?

Posted by Rob Cartier <rc...@snet.net>.
I am trying to use encodeURL for all my href's and login page
but I get:

Apache Tomcat/4.0.2 - HTTP Status 400 - Invalid direct reference to form
login page

----------------------------------------------------------------------------
----

type Status report

message Invalid direct reference to form login page

description The request sent by the client was syntactically incorrect
(Invalid direct reference to form login page).

If session cookies are off. Any ideas how to fix this mess ?


============
loginpage.jsp
============
<html>
<body>

<table border="0" cell="" padding="0" size="480" width="640">
<tbody>
	<tr>
		<td nowrap="" width="150"><p align="Center"><img src="../marslogo.gif"
height="150" width="150"></p></td>
		<td nowrap="" width="420"><h2 align="Left"><font face="Trebuchet
MS">Southern New England Army Mars</font><br>
       		<font face="Trebuchet MS">Secure Site</font></h2>
			</td>
	</tr>
</tbody>
</table>
<%
 System.out.println("JSP======> " + request.getRemoteUser() + "|" +
request.getRequestURI()  + "|" + request.getRemoteAddr() + "|" + new
java.util.Date().toString() + "|" + request.getHeader("User-Agent") );
%>

<%
String url = "j_security_check;jsessionid=" + session.getId();
%>

<h2>Login page </h2>
<form method="POST" action='<%= response.encodeURL(url) %>'>
<table border="0" cell padding="0" width=480>
 <tr>
    <td  nowrap><font face="Fixedsys">Username:</font></td>
    <td ><input type="text" name="j_username"></td>
 </tr>
 <tr>
    <td nowrap><font face="Fixedsys">Password:</font></td>
    <td ><input type="password" name="j_password"></td>
 <tr>
 <tr>
 	<td > </td>
	<td><input type="submit" value="Login"></td>
 </tr>
<br>
</table>
</form>
</body>
</html>

-----Original Message-----
From: Anders Rundgren [mailto:anders.rundgren@telia.com]
Sent: Sunday, March 10, 2002 11:22 AM
To: Tomcat Users List
Subject: Keep-Alive. Was: IE 5 on Mac is incompatible with TC 4?


Rob,
I'm not sure I understand what you want, but regarding session cookies,
IE5/Mac and SSL, I think that the problem is that TC 4 does not seem to
automatically support persistant TCP-connections which both gives bad
performance, and confuses at least one browser to the extent that it
stops sending cookie data.

Anders

----- Original Message -----
From: "Rob Cartier" <rc...@snet.net>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Sunday, March 10, 2002 13:14
Subject: RE: IE 5 on Mac is incompatible with TC 4?


How would you do that if you are using Form authentication
and the web.xml file directs them to a loginpage before they
access the index.jsp

Have the same problem and found that If they accept session cookies
then all is ok

Your help would be greatly appreciated.



-----Original Message-----
From: Anders Rundgren [mailto:anders.rundgren@telia.com]
Sent: Friday, March 08, 2002 7:04 AM
To: Tomcat Users List
Subject: SSL: IE 5 on Mac is incompatible with TC 4?


Now i have digged a little bit further in this.
The IE 5 Mac missing session cookie problem only occurs when using SSL.
Too bad our app needs SSL.

Anders

----- Original Message -----
From: "Anders Rundgren" <an...@telia.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, March 08, 2002 11:27
Subject: IE 5 on Mac is incompatible with TC 4?


Hi,
I have a Tomcat app using sessions based on cookies (i.e. std way) that
works with a huge set of browsers and OSes.

But on Mac using IE 5 it does not.  The culprit seems to be that session
cookies are not compatible in some way as they are not visible in
TC.

Is this a known problem?

BTW, the configuration is Apache on Linux, using ajp1.3 and TC 4.0.2

cheers,
Anders R


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Keep-Alive. Was: IE 5 on Mac is incompatible with TC 4?

Posted by Anders Rundgren <an...@telia.com>.
Rob,
I'm not sure I understand what you want, but regarding session cookies,
IE5/Mac and SSL, I think that the problem is that TC 4 does not seem to
automatically support persistant TCP-connections which both gives bad
performance, and confuses at least one browser to the extent that it
stops sending cookie data.

Anders

----- Original Message ----- 
From: "Rob Cartier" <rc...@snet.net>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Sunday, March 10, 2002 13:14
Subject: RE: IE 5 on Mac is incompatible with TC 4?


How would you do that if you are using Form authentication
and the web.xml file directs them to a loginpage before they
access the index.jsp

Have the same problem and found that If they accept session cookies
then all is ok

Your help would be greatly appreciated.



-----Original Message-----
From: Anders Rundgren [mailto:anders.rundgren@telia.com]
Sent: Friday, March 08, 2002 7:04 AM
To: Tomcat Users List
Subject: SSL: IE 5 on Mac is incompatible with TC 4?


Now i have digged a little bit further in this.
The IE 5 Mac missing session cookie problem only occurs when using SSL.
Too bad our app needs SSL.

Anders

----- Original Message ----- 
From: "Anders Rundgren" <an...@telia.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, March 08, 2002 11:27
Subject: IE 5 on Mac is incompatible with TC 4?


Hi,
I have a Tomcat app using sessions based on cookies (i.e. std way) that
works with a huge set of browsers and OSes.

But on Mac using IE 5 it does not.  The culprit seems to be that session
cookies are not compatible in some way as they are not visible in
TC.

Is this a known problem?

BTW, the configuration is Apache on Linux, using ajp1.3 and TC 4.0.2

cheers,
Anders R


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


How do you achieve persistant Tomcat connections?

Posted by Anders Rundgren <an...@telia.com>.
Dear all,
I have no success in getting my TC 4.0.2 under apache and ajp1.3
returning persistant TCP connections in spite of using up-to-date
(HTTP 1.1) browsers.   Any clues to this (except for reprogramming
the application) would be *very* appeciated.

/anders


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: IE 5 on Mac is incompatible with TC 4?

Posted by Rob Cartier <rc...@snet.net>.
How would you do that if you are using Form authentication
and the web.xml file directs them to a loginpage before they
access the index.jsp

Have the same problem and found that If they accept session cookies
then all is ok

Your help would be greatly appreciated.



-----Original Message-----
From: Anders Rundgren [mailto:anders.rundgren@telia.com]
Sent: Friday, March 08, 2002 7:04 AM
To: Tomcat Users List
Subject: SSL: IE 5 on Mac is incompatible with TC 4?


Now i have digged a little bit further in this.
The IE 5 Mac missing session cookie problem only occurs when using SSL.
Too bad our app needs SSL.

Anders

----- Original Message ----- 
From: "Anders Rundgren" <an...@telia.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, March 08, 2002 11:27
Subject: IE 5 on Mac is incompatible with TC 4?


Hi,
I have a Tomcat app using sessions based on cookies (i.e. std way) that
works with a huge set of browsers and OSes.

But on Mac using IE 5 it does not.  The culprit seems to be that session
cookies are not compatible in some way as they are not visible in
TC.

Is this a known problem?

BTW, the configuration is Apache on Linux, using ajp1.3 and TC 4.0.2

cheers,
Anders R


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


SSL: IE 5 on Mac is incompatible with TC 4?

Posted by Anders Rundgren <an...@telia.com>.
Now i have digged a little bit further in this.
The IE 5 Mac missing session cookie problem only occurs when using SSL.
Too bad our app needs SSL.

Anders

----- Original Message ----- 
From: "Anders Rundgren" <an...@telia.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, March 08, 2002 11:27
Subject: IE 5 on Mac is incompatible with TC 4?


Hi,
I have a Tomcat app using sessions based on cookies (i.e. std way) that
works with a huge set of browsers and OSes.

But on Mac using IE 5 it does not.  The culprit seems to be that session
cookies are not compatible in some way as they are not visible in
TC.

Is this a known problem?

BTW, the configuration is Apache on Linux, using ajp1.3 and TC 4.0.2

cheers,
Anders R


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>