What U have sent is the internal IP.. check out the lines properly U must
have missed ;

-----Original Message-----
From: Edward King [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 7:48 AM
To: [EMAIL PROTECTED]
Subject: code 0 error


I have a JSP, I create a Submit button,when click this button,it will
transport a variable to a Servlet. But when I click this button,IE6 raise a
error,like follows:

line:2
char:13
error: missing ';'
code:0
URL: http://192.168.39.143:8080/NEWEPG/servlet/program_send?choice=0

Why raise error? I am puzzled with it.Please help!

My JSP code is follows:
<%@page contentType="text/html;charset=GB2312"%>
<%@page language="java"%>
<%@page import="java.io.*" %>

<html>
<head>
   <meta http-equiv="Expires" value="May 31,2001 12:00:00">
   <title>Guide</title>
   function returntomenu()
   {
     window.location.href="http://192.168.39.143:8080/NEWEPG/EPG.html";;
   }
   </script>
</head>
<body background="http://192.168.39.143:8080/NEWEPG/images/EPG.jpg";
text="FF0000">
 <form name=input
action="http://192.168.39.143:8080/NEWEPG/servlet/program_send?choice=0";
method="POST">
   <B><font size=5 color=red>Send system</B>
   <IMG src="images/bird.gif" height="50" width="100" alt="Electronic
Programme Guide">

   <font size=2 color=blue>
   <td valign=right></td>

   <%
     String value[]=new String[2];
     String str;
     try
     {

         BufferedReader in=new BufferedReader(new FileReader("F:\\Apache
Tomcat 4.0\\webapps\\NEWEPG\\version.data"));
         str=in.readLine();
         in.close();
         value=str.split(":");
         System.out.println(str);
     }
     catch(IOException e)
     {
  System.out.println("read file error");
     }
   %>
   <BR>
   <BR>
   <BR>
   <BR>
   <BR>
   <center><B><font size=5 color="#00FA9A">Please
version(0-31)</font></B></center>
   <hr>
   <BR>
   <BR>
   <table align="center" width="100%" cellspacing="1" cellpadding="1"
border=1>
     <center>
        <td align="right">NIT version:</td>
    <td><input type="Text" name="nitversion" align="left" size="10"
maxlength="2" value='<%=value[0]%>'></td>
    <td align="right">BAT-SDT-EIT version:</td>
    <td><input type="Text" name="otherversion" align="left" size="10"
maxlength="2" value='<%=value[1]%>'></td>
     </center>
   </table>
   <BR>
   <BR>
   <hr>
   <BR>
   <BR>
   <center>
   <input type="Submit" name="sendkbutton"
style="font-size:20;color:#FF0000;background:#7FFD4;cursor:hand" value="
Send       ">
   <input type="button" name="returnbutton"
style="font-size:20;color:#FF0000;background:#7FFD4;cursor:hand" value="
Cancle       " onclick="returntomenu()">
   </center>
</body>
</html>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to