I encountered a puzzled JSP question.I have a HTML file,I have a link in this HTML,for 
example:

<a href="http://192.168.39.143:8080/EPG/input.jsp"; style="color:#00FA9A" >Input 
System</font></a>

I use Apache Tomcat4.0 to deploy input.jsp. When I click above href, a puzzled 
phenomena raised! My input.jsp shows only a part.When I click fresh button of IE6,my 
input.jsp shows fully! Why?

My input.jsp is follows:

<%@page contentType="text/html;charset=GB2312"%>

<html>
<head>
   <title>System</title>
</head>
<body background="http://192.168.39.143:8080/EPG/images/EPG.jpg"; text="FF0000" 
ONLOAD=show5()>
 <form name=input action="http://192.168.39.143:8080/EPG/servlet/programme_input"; 
method="POST">
   <B><font size=5 color=red>Input System</B>
   <IMG src="http://192.168.39.143:8080/EPG/images/bird.gif"; height="50" width="100" 
alt="Electronic Programme Guide">
   
   <font size=2 color=blue>
   <td valign=right></TD>
   <span id=liveclock style=position:absolute;left:730px;top:30px;; width: 109px; 
height: 15px>
   </span> 
   
   <SCRIPT language=javascript src="http://192.168.39.143:8080/EPG/timer.js";>
   </SCRIPT>
   
   <SCRIPT language="JavaScript" src="http://192.168.39.143:8080/EPG/subtype.js";>
   </SCRIPT>
 
   <hr>
   <center>
      <table align="center" width="100%" cellspacing="1" cellpadding="1" border=1>
    <tr>
     <td align="right">channels:</TD>
     <td>
     <select name="channel">
         <option value=0>SKY TV1
         <option value=1>SKY TV2
         <option value=2>SKY TV3
         <option value=3>SKY TV4
         <option value=4>SKY TV5
         <option value=5>SKY TV6
     </select>
     </TD>
  </tr>
  <tr>
     <td align="right">names:</TD>
     <td><input type="Text" name="programme" align="left" size="30">
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     ��Ŀ����:
     <select name="type" onChange="myFunc()">
         <option value=0>news
         <option value=1>sport      
     </select>
     
     <select name="subtype" STYLE="width:80">
         <option value=0>important
         <option value=1>general
     </TD>
  </tr>
  <tr>
     <td align="right">dates:</TD>
     <td><input type="Text" name="date" align="left" size="10" maxlength="10"></TD>
  <tr>
     <td align="right" valign="top"> begintime:</td>
     <td style="valign:top"><input type="Text" name="start" align="left" size="5" 
maxlength="5">
     
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     stoptime:
     <input type="Text" name="stop" align="right" size="5" maxlength="5"></TD>
 </tr>
     
      </table>
      <hr>
      <br>
      <input type="Submit" name="okbutton" 
style="font-size:20;color:#FF0000;background:#7FFD4" value="submit">
      <input type="reset" name="cancelbutton" 
style="font-size:20;color:#FF0000;background:#7FFD4" value="canel">
  </center>
 </form>
</body>   
</html>    


When the file "input.jsp" shows not fully in my computer's screen,I click right button 
of mouse,I got it's source code at that time,I found JSP not fully,it follows:

<%@page contentType="text/html;charset=GB2312"%>

<html>
<head>
   <title>System</title>
</head>
<body background="http://192.168.39.143:8080/EPG/images/EPG.jpg"; text="FF0000" 
ONLOAD=show5()>
 <form name=input action="http://192.168.39.143:8080/EPG/servlet/programme_input"; 
method="POST">
   <B><font size=5 color=red>Input System</B>
   <IMG src="http://192.168.39.143:8080/EPG/images/bird.gif"; height="50" width="100" 
alt="Electronic Programme Guide">
   
   <font size=2 color=blue>
   <td valign=right></TD>
   <span id=liveclock style=position:absolute;left:730px;top:30px;; width: 109px; 
height: 15px>
   </span> 
   
   <SCRIPT language=javascript src="http://192.168.39.143:8080/EPG/timer.js";>
   </SCRIPT>
   
   <SCRIPT language="JavaScript" src="http://192.168.39.143:8080/EPG/subtype.js";>
   </SCRIPT>
 
   <hr>
   <center>
      <table align="center" width="100%" cellspacing="1" cellpadding="1" border=1>
    <tr>
     <td align="right">channels:</TD>
     <td>
     <select name="channel">
         <option value=0>SKY TV1
         <option value=1>SKY TV2
         <option value=2>SKY TV3
         <option value=3>SKY TV4
         <option value=4>SKY TV5
         <option value=5>SKY TV6
     </select>
     </TD>
  </tr>
  <tr>
     <td align="right">names:</TD>
     <td><input type="Text" name="programme" align="left" size="30">
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     ��Ŀ����:
     <select name="type" onChange="myFunc()">
         <option value=0>news
         <option value=1>sport      
     </select>
     
     <select name="subtype" STYLE="width:80">
         <option value=0>important
         <option value=1>general
     </TD>
  </tr>
  <tr>
     <td align="right">dates:</TD>
     <td><input type="Text" name="date" align="left" size="10" maxlength="10"></TD>
  <tr>
     <td align="right" valign="top"> begintime:</td>
     <td style="valign:top"><input 

Why JSP can't parse itself in fully?  I have asked so many people of my colleagues,but 
none of them can solve my question!
Please help!!!

Thanks in advance!
Best Regards,
Edward King
N�����r��zf���%��lz��j���w(�����Ƞ���%#�51$Ţ�b��-�����b����ڽ�.��&�+an�r��IH�
LDDI0�D�J����^���,�rR?����^��������j�m���j�!�����ڲ�ܢo㲘���޲�m�Xm�����ڲ�ܢo鮇nr�?��}���ia���
0z�^�������?㲟㲗ڪ;)��i��0�8.��(��ګ��u�c��m����#����'^��&


Reply via email to