aspose file tools*
The moose likes JSP and the fly likes jsp:useBean tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:useBean tag" Watch "jsp:useBean tag" New topic
Author

jsp:useBean tag

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
<jsp:useBean id="name" scope="page|request|session|application" typeSpec />
typeSpec ::= class=”className” |
class=”className” type=”typeName” |
type=”typeName” class=”className” |
beanName=”beanName” type=”typeName” |
type=”typeName” beanName=”beanName” |
type=”typeName”

if I have a bean as HelloWorld.java in package general

<jsp:useBean id = hello scope =request class = general.HelloWorld type = general.HelloWorld beanName =??/>

what will be my beanName???
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

Here's an excellent reference that should answer all of your questions:
JSP Syntax Reference
Enjoy!
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am still not clear... with the explanation.
can anyone explain me with an example
 
wood burning stoves
 
subject: jsp:useBean tag