Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on JSP directive in NetBeans within the Java forums, part of the Software Development category; Hi all, <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> When using above directive in the jsp an error is generated url can not be resolved Can anybody help or tell in which ...
|
|||||||
|
|||
|
JSP directive in NetBeans
Hi all,
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> When using above directive in the jsp an error is generated url can not be resolved Can anybody help or tell in which file jstl(jsp standard tag library) resides. I am using NetBeans6.0.1 Thanks Last edited by admin; 09-26-2009 at 10:47 AM. |
| Sponsored Links |
|
|||
![]() Hi Sirje,The taglib directive imports the custom tag into the current jsp page. Custom tag is user defined tag, which is used to perform repetative task in a jsp page. The format of this tag is <%@ taglib uri="TLD file" prefix="prefix" %> where uri attribute locates the TLD file of custom tag. The TLD file defines the functionality of the custom tag. The prefix attribute defines string to be used for distinguishing a custom tag instance. For example If I include the following statement in my jsp page. <%@ taglib uri="WelcomeTag.tld" prefix="do" %> Then I can use this tag im my jsp page like <do:WelcomeTag> This will insert the WelcomeTag in jsp page. In ur tag defined since the uri of TLD is not proper it is giving error. I hope it will be helpful to u. Thanks & Regards, Abhijit |
|
|||
|
Re: JSP directive in NetBeans
First let me know what you want to archive? if you are creating custom tab then you need to do some stuff like creating
1) tag library descriptor file 2) tag handlers. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|