Well in my book the ! character is called a 'bang' or more commonly an
'exclaimation mark'.
any offers?
.b
> -----Original Message-----
> From: Rikard Elofsson [mailto:[EMAIL PROTECTED]]
> Sent: 31 December 1998 22:23
> To: [EMAIL PROTECTED]
> Subject: Re: Functions in JSP
>
>
> Liza J Alenchery wrote:
> >
> > Hi
> >
> > Can I write a function in a JSP file directly?
>
> yup with a !-sign in the jsp tag (whatever thatīs called in
> english;-), like
>
> <%!
> protected String urlEncode(String aString) {
> if (aString != null) {
> return java.net.URLEncoder.encode(aString.trim());
> }
> else {
> return null;
> }
> }
> %>
>
> //Rikard
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> 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".
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