-----Original Message-----
From: Daniel Tillin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 23, 1999 9:32 AM
To: 'Wen B. Sun'
Subject: RE: Functions in JSP
I would have thought you really want the scriplet code in a bean which you
can then
call from anywhere in a JSP, and make the HTML a style sheet perhaps? Or use
frames
or <@include>/<jsp:include > in bring in this reused HTML.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Wen B. Sun
Sent: Tuesday, November 23, 1999 6:23 AM
To: [EMAIL PROTECTED]
Subject: Functions in JSP
Hi,
In my JSP, I have a combination of scriptlet and html code that I want
to call in different places. I don't want to copy and paste the same
code all over the place to clutter my code. Is there a way to define a
function in JSP to contain this combination of scriptlet and html code?
That way, I can just call this function in my JSP and avoid this messy
copy and pasting.
Thanks in advance.
-Wen B. Sun
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html