2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
In today's cooking class you'll add to your cookbo...
BLOG-N-PLAY.COM
Crackhead Goes Berserk after Fender-Bender.
CFDJ TOP LINKS YOU MUST CLICK ON !


Using JSP Custom Tags in CFMX
CFMX, the new release of ColdFusion, will allow us to use JSP custom tags within our ColdFusion programs. Some may say, 'So what?' In this article I hope to show you why it's definitely worth looking into this new possibility.
Reader Feedback: Page 1 of 1

In the article, I said you could find a libary of JSP custom tag at http://coldjava.hypermart.net/servlets/,that should have been http://coldjava.hypermart.net/jsp.htm.

Folks, I'm sad to have to report that I've now confirmed that the use of CFIMPORT to call JSP custom tags does NOT work in the Pro edition of CF. It will work in Enterprise, as well as the Trial (which is enterprise) and the Developer Edition (which the Trial becomes after 30 days, reverting to a single-user version).

Folks, here's another update of info I've learned since the article. First, you don't HAVE to place your jar file in the web-inf\lib directory as I (and the docs) had stated. I've found that you can indeed put them in the same directory as your CF template that's calling them, and then just say

CFIMPORT TAGLIB="yourtag.jar"...

That's useful if you work in an environment where you may find th web-inf directory locked down for any reason.

Also, in the preview release candidate, you can now refer to TLD files in the CFIMPORT, and again they can be located either in web-inf\ or in the same dir as your code.

Of course, when I say you can put these in the same dir as your code, I also mean you can put them in some other dir in the web root and use a relative reference to point to it.

/charlie

Folks, just wanted to add some info for you. If you try out these tags as I have offered in the article, you may find that you get the error:

The type for attribute xxx of tag yyy could not be determined.

where xxx is the attribute you're using and yyy is the tag whose attributes it's complaining about.

Though I didn't mention that error specifically, I did say that it was my experience that you needed to restart the server upon placing a new tag into the web-inf\lib directory.

This error is what you'll see if you don't.


FEATURED WHITE PAPERS
YOUR FEEDBACK
Java Web Development Company wrote: Hey, It's great post... Thanks.....
David Kinkead wrote: Good info, but I believe you are completely correct about textual data not being a threat. Let's say you coded in a file named test.cfm: SELECT * FROM sometable where field1 = '#preservesinglequotes(url.name)#' Then a user put in this url: http://y...
Peter Walters wrote: And, if I may, add TRUNCATE TABLE (or the equivalent for your DBMS)
kuzma wrote: Useless sheet. Bunch of text and 10 lines of code. i do not need novels , i need example all other things I'll find myself
Thomas Gorgolione wrote: You have to compile the code manually from the zip file (see post #5). I did that already, so if you want you can just download it here: www.tgorg.com/etc/GnuPG.jar
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS

SYS-CON FEATURED WHITEPAPERS

BREAKING NEWS FROM THE WIRES
Internet Broadcasting, the leading local Internet solution provider for broadcast publishers and adv...
Red Hat CTO Brian Stevens, Citrix CTO Simon Crosby, Egenera CTO Pete Manca, Allen Stewart, Group Man...
Mike Neil is general manager for virtualization strategy in the Windows Server Division at Microsoft...
Two of the biggest launches in Rich Internet Application history took place in 2007/2008 when Adobe ...
SQL Injection attacks are one of the easiest ways to hack into a website. One recent hack, using a s...
Recursion Software released a private beta version of their Voyager mobile platform, with powerful i...
2008 is going to be an important year for Rich Internet Applications. Most organizations are deliver...
CFDynamics, a ColdFusion web host, has renewed an agreement with SmarterTools that will allow them t...
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discu...
I might have skipped some of the new features of Flash Player 10, but you can always refer to the of...
Adobe has put out three free public betas: Dreamweaver, Fireworks and Soundbooth, all of which will ...
Google is opening up App Engine to one and all. The cloud-sharing gambit meant to entice developers ...
Red Hat is a trusted open source provider. Red Hat offers enterprise customers a long-term plan fo...
The popular code generator Clear Data Builder will become available free of charge. Originally, Clea...
Adobe has published their first plan of what should be included in Flex 4 that is scheduled to relea...
This is a checklist of items you need for an all-encompassing personal branding strategy. Personal b...
As CFML developers start to learn Java and move into the realm of Spring and Hibernate, it is very i...
In today's cooking class you'll add to your cookbook a delicious recipe. It's quick and won't cost ...
Ulitzer, Inc., which initially made the headlines with its 'job descriptions from the future,' annou...
My personal approach has become to to let ColdFusion do what it does best, and no more. No AJAX gene...
I am going to go ahead and contend that although a good number of ColdFusion developers can grasp an...
ADS BY GOOGLE