Solved

Implementing Taglibs from JavaBeans

Posted on 2004-10-03
5
187 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
wordsFront challenge 8 70
word0 challenge 3 58
firstChar challenge 13 85
groovy example issue 10 70
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 …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now