Solved

Implementing Taglibs from JavaBeans

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
squareUp  challenge 22 128
Which is the latest version of Apache Tomcatl 3 49
eclipse package explorer vs project explorer view 2 73
HSSFWorkbook cannot be resolved error 10 49
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 second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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.

932 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

13 Experts available now in Live!

Get 1:1 Help Now