• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

taglib and jspuseBean???

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi everybody,
I am working on JSP for the past two weeks and
i am not able to understand the concept of
1)taglib and
2)<jsp:useBean> tag
Can somebody help on these two.
Also can somebody direct me to some sites where i can
download some material which has examples on the above topics.

Thankx in advance,
Michelle
 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSP 1.1 introduced the ability to create and use custom tags in JSP pages. Various Vender created tag library which you can use in your jsp pages.
See the following link for explanation of taglib. http://www.weblogic.com/docs51/classdocs/API_taglib.html
Here is the tag library tutorial from Sun's Web Site: http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html
Have not really use the bean part, so I can not give you any suggestions.
 
Michelle Jordan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi cynthia,
Thanks for the reply.
I found the sites very helpful.
I really wish you or anybody can help me with
<jsp:useBean> tag.
I would be really grateful.
Thanks in advance.
Michelle
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use the useBean tag to create a javabean object (or retrieve an existing one from the request or session or application associcated with the jsp page) ... you can then execute methods on the bean you retrieve by including java code in your jsp, eg:
<%= mybean.getValue() %>
reply
    Bookmark Topic Watch Topic
  • New Topic