|
-
Doubt regarding the <jsp:useBean> syntax
Hi friends,In the syntax of the jsp:useBean tag,
<jsp:useBean id="name" scope="scopename" {beandetails}>
where {beandetails} can be
class="classname" type="typename"
or
beanName="beanName" type="typename"
Will someone tell me the difference between these two? (As far as I know
the 'class'
itself can be called a bean(Both Bean & class can be used to create components),what
is the proper diff. betwen the two.
Also what does the 'beanName' imply?? in the above reference and what does
this type
mean..?
It would be great if you could explain using a small example of how to use
the beanname
attribute in the <jsp:usebean>.
Thanks in advance,
Prasanth V
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks