• Post Reply Bookmark Topic Watch Topic
  • New Topic

custom jsf component (.tld file)

 
Alex Belisle Turcot
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Bansilal Haudakari
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!