Pes ta re Kostadinidi ;-)

Manos





-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Panos Konstantinidis
Sent: Tuesday, December 05, 2000 11:51 AM
To: [EMAIL PROTECTED]
Subject: Re: How to use key words "Return" from Jsp??


  I am not sure, but I think that you hgave to return a value (for example
return 1, or return true - if your method is of type boolean).
  Now if you just want to exit the method (or a block of code) you can use
the break statement.
  Hope this helps.

   Panos


>From: Mengyuan Yuan <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: How to use key words "Return" from Jsp??
>Date: Tue, 5 Dec 2000 10:13:52 +0800
>
>  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

_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.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://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

===========================================================================
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