Hi all,

just solved a strange problem and would like to share with you if you have some 
suggestions :

My app needs to support IE 5.0 :(
 We use CSS and I had designed my baseLayout.jsp like this :

    <style type="text/css">
    <!--
    @import url("<html:rewrite page="/style/main.css" />");
    -->
    </style>

It works fine with IE5.5, IE6 & Mozilla/Firefox
On first request, tomcat adds a ;jsessionid=XXXX to the css URI. IE5.0 doesn't accept 
such an URI in the @import CSS
directive.
I changed baseLayout.jsp to :

    <link rel="stylesheet" type="text/css" href="<html:rewrite page="/style/main.css" 
/>"/>

Now it works on every tested browser. I prefered the CSS @import to avoid nesting JSP 
tags into HTML tags. I'd like my
JSP source to look XML compliant as possible XML for beeing lisible and good example 
for new JSP developers.

Do you have any suggestion for such case ?

Hope it may help if anyone has such troubles with old IE.

Nico.



Our name has changed.  Please update your address book to the following format: 
"[EMAIL PROTECTED]".

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to