--

The Beans are there to allow the variable to have different contexts.  For
example
a bean can survive beyond the life of a page.  It can live through a
request, a session, or "forever" (the applications life).  This information
comes from the 1.0 spec and doesn't work with JServ yet (requires 2.1) :).
If you visit javasoft (www.javasoft.com) they have a link to the full spec.
The full spec is not meant to be a tutorial but seems to be fine.  I hope my
ramblings have helped.

Chris Heinemann

-----Original Message-----
From: Gary Lawrence Murphy [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 26, 1999 8:42 PM
To: Java Apache Users
Subject: JSP, Beans and things


--


I'm experimenting with the old Sun JSP system under Apache (and hoping
Jakarta will be *much* better --- fully qualified class names??? yuch)

I'm not quite getting this useBeans stuff.  For example, why would I
use the jsp:useBean tag instead of just declaring and instancing a
variable inside <%! %> tags?  I'd always thought of Beans as some sort
of mini-application, but the examples use the Date class as a bean.
There is something I am not getting here.

Is there a good tutorial site on JSP or some reasonably complex
sample code I can read?  The Sun docs tell me how to write the syntax,
but they are a little short on the why of it.

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]>  TeleDynamics Communications Inc
Business Telecom Services : Internet Consulting : http://www.teledyn.com
Linux/GNU Education Group: http://www.egroups.com/group/linux-education/
"Computers are useless.  They can only give you answers."(Pablo Picasso)



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to