*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jsp:useBean question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jsp:useBean question " Watch "jsp:useBean question " New topic
Author

jsp:useBean question

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
You want to use a bean that is stored in com/enthu/GUI.ser file. how to define the tag that accesses the bean?


SCJP<br />SCWCD<br />SCEA
Steve Guo
Greenhorn

Joined: Nov 08, 2001
Posts: 4
<jsp:useBean id="mybean" beanName="serialized file name">
(when I wrote the reply, the screen did not show the original, so I forgot the .ser name - sorry)
Maha Annadurai
Ranch Hand

Joined: Oct 27, 2002
Posts: 87
Here is a sample code I played with.
Note that beanName should be accompanied with 'type' attribute. It can't stand alone in a useBean action. Also 'beanName' can accept a request time attribute expression , but not 'class' attribute.
Regards,
Maha Anna

OR (using request time attribute expression)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:useBean question
 
Similar Threads
WA #1.....word association
Handleing multiple rows from an EJB
Bean's management methods...
Friday Find-a-word: Caribbean
Where does the ejbCreate definition come from