Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- in PARAM NAME causing problems
- Thomas Magma
August 11, 2005, 7:17 pm
rate this thread
I have an application that generates a HTML document that contains an
applet. It places raw data into the PARAM NAME tag. Well, once in a blue
moon it places the numeric character reference &# into the data. When my
Java applet imports this using the getParameter command, it reacts
differently between different version of IE. One solution is to not let my
original application generate the sequence &#, however, this does not fix
the HTML documents that have already been generated in the past. It would be
nice to just fix the Java applet so it can import this raw data without
having to recognize &# as a numeric character reference.
Is this possible?
Here is my HTML code:
<CENTER><APPLET CODE="graphics.class" ALIGN=RIGHT HEIGHT=420 WIDTH=220>
<PARAM NAME=Graphics VALUE="
Re: in PARAM NAME causing problems
Which is invalid.
Fix it so it represents the sequence &# as &#.
Get a text editor that can do a global search and replace, then run it only
on files from before you fixed the generator.
I suspect you'll find that the browser interprets &# and feeds the result to
the applet, the applet doesn't decode the raw markup.
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/
Home is where the ~/.bashrc is