Andrew,
The reason this is happening, is that when JSPs are compiled, Orion
recreates them slightly to insert code for url-rewriting for
session-tracking. Obviously it is always recreating the tag with attributes
enclosed in "".
The short term solution to your problem is to switch around your '' with
your "". e.g.
from: onmouseout='csne_button.src="/images/lv1-off_04.gif"'
to : onmouseout="csne_button.src='/images/lv1-off_04.gif'"
The long term solution is to register a bug report with Orion (they do not
have time to read all messages on this list). You can do this by using the
bug-tracking system at <http://www.orionserver.com/bugzilla/>, or mailing
<[EMAIL PROTECTED]>.
-Joe Walnes
At 16:20 24/10/2000, you wrote:
>All,
>
>I have a fully functional webapp that runs perfectly under Tomcat (albeit
>a little slow). The main menu bar consists of rollovers that utilize the
>onmouseover and onmouseout routines of Javascript. For example, one of
>the tags looks like this:
>
><a href="/news/" onmouseout='csne_button.src="/images/lv1-off_04.gif"'
>onmouseover='csne_button.src="/images/lv1-on_04.gif"'>
> <img src="/images/lv1-off_04.gif" alt="" border=0 height=18
> name=csne_button width=117>
></a>
>
>which, of course basically changes the image when the mouse pointer
>crosses it. Anyway, any time I try to view the pages in any browser that
>are served by Orion, I get tons of javascript errors, complaining about
>various aspects of the onmouseout and onmouseover calls, most notably of
>which seems to be a replacement of the single quote delimiters (') with
>double quotes, such as
>
><a href="/news/" onmouseout="csne_button.src="/images/lv1-off_04.gif""
>onmouseover="csne_button.src="/images/lv1-on_04.gif"">
> <img src="/images/lv1-off_04.gif" alt="" border=0 height=18
> name=csne_button width=117>
></a>
>
>which is obviously wrong, and which was obtained by examining the source
>of the returned page. It looks like Orion is not keeping the single-quote
>delimiters properly. Is anyone else having this problem? Better yet, is
>there some solution?
>
>------
>Andrew Kidder
>L3 SW/Support Engineer, IBU
>Tivoli Systems
>
>512-436-4544
>[EMAIL PROTECTED]
>http://www.tivoli.com
>
>