Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Implementing Taglibs from JavaBeans

Posted on 2004-10-03
5
191 Views
Last Modified: 2013-11-24
Hi,

I'm not too familar with JSP and TagLibs. I am familar with j2se and Velocity.

I tried to skim through a few taglib tutorials but I'm just even more confused now.

I've got a bunch of javabeans. I want to expose them as taglibs. Exposing them in Velocity is easy. From my shaky understanding, it seems like JSP 2.0 or something supports Velocity style access but that earlier versions do not? What I mean by velocity style access is just access to public properties and methods of the javabean.

I get the feeling that in JSP 1.x I would have to write special code for each method I want to publicize? I just want to make all my public methods and properties of each component available as a tag.

Obviously this is a very common situation but I couldn't really find a good article to read about this. Someone please explain to me what I need to do.

- Is it ok to code for JSP 2.0? Seems to me like this a relatively new technology so many app servers might not support it yet, right?
0
Comment
Question by:ycomp
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
siliconeagle earned 500 total points
ID: 12349766
you just need JSTL which is standard in the JSP 2.0 spec, here are a couple of links that will get you started:-
http://www-106.ibm.com/developerworks/java/library/j-jstl0211.html

http://www-106.ibm.com/developerworks/java/library/j-jstl0318/

if you need some help setting it up then send mea email x1@robmunro.net
0
 
LVL 2

Expert Comment

by:siliconeagle
ID: 12481720
did this help? havent heard anything on this thread for a while.
0
 

Author Comment

by:ycomp
ID: 12484479
I'll get back to this in a while. thanks.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exception after setting jdbc session management 2 72
print map entry 34 72
Java string replace 11 54
hashmap order 17 36
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question