Hi,expert:

    When I code the following source with the key words"Return", it doesn't work.
Could you please give me a hand to find out how to  use "return " in jsp?


<%           .......
 if (!TransportStatus.equals("EX")&&!TransportStatus.equals("EX"))
               {
%>
               <body BGCOLOR=#6699CC><center>
               <br>
                <center>
                 <table ><tr><td>
                             <TABLE BORDER=1 cellspacing=2 cellpadding=2>
                                <tr><td><%=notExpDoc %></td></tr>
                             </table>
                             <form><center>
                                <table>
                                   <tr><td align=center height=25><input type=button 
size=60 value="<%=btBack%>" onClick=window.location="<%= URL_Back %>">
                                       </td>
                                   </tr>
                                </table></center>
                             </form>
                             </td>
                          </tr>
                  </table>
               </center>
              </body>
              </html>
<%
              return;
              }
%>

...



Thanks in advance

            Mengyuan Yuan
            [EMAIL PROTECTED]

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to