Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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() %>
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic