• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

custom jsf component (.tld file)

 
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I want to create a tld xml file to create my own jsf component.
How can I do that within Sun Studio Creator ?

I don't want to just copy it manually to the WEB-INF directory because its a tmp directory in Sun Studio Creator and I would have to copy it every time.

I would rather want this tld file to be part of my project and be deployed every time.

Anyone know how to do this ?

Thanks,
Alex
 
Alex Belisle Turcot
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok I think I found it.

I switched my Project view to show file system view.
I added the tld file under ..\src\web\WEB-INF\lib

I can now work on my tld from Creator and it will probably be deploy to automaticaly now.

regards,
Alex
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Alex
As described in your article http://today.java.net/pub/a/today/2004/07/16/jsfcustom.html i implemented simple application

I am getting the following error

OracleJSP: oracle.jsp.parse.JspParseException: /Simple.jsp: Line # 3, <%@ taglib prefix="cc" uri="http://bill.dudney.net/cc/component" %>
Error: "http://bill.dudney.net/cc/component" is not a registered TLD namespace

I am deploying it to Oracle 10g v 10.1.3 application server
Regards
Bansi
 
reply
    Bookmark Topic Watch Topic
  • New Topic