Jordi:
I don't think the ans is correct, atleast I don't know how to write such a tag...
However, the closest example code I could get is enclosed here.
Files:
RandomNumExample.jsp: Put this in %Catalina_Home%\webapps\Root\jsp-introrandom-taglib.tld: Put this in %Catalina_Home%\webapps\Root\WEB-INFweb.xml: Put this in %Catalina_Home%\webapps\Root\WEB-INFRandomTag.java: Compile this file and put the RandomTag.class file in %Catalina_Home%\webapps\Root\WEB-INF\classes\madhav\tags Then you can access it through the URL:
http://localhost:8080/jsp-intro/RandomNumExample.jsp This is the closest example I could getto, with the explanation given.
- satya
ps:
As you can make out, this example is based on an example from More
Servlets and
JSP's book.
[ February 05, 2002: Message edited by: Madhav Lakkapragada ]
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81