Geeks Talk

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.

JSP directive in NetBeans

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 ...

Go Back   Geeks Talk > Software Development > Java
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Java Java related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-26-2009
Contributing Member
 
Join Date: Aug 2009
Location: Indore
Posts: 33
Thanks: 9
Thanked 5 Times in 5 Posts
Sarje is on a distinguished road
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.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-29-2009
Contributing Member
 
Join Date: Aug 2009
Location: bangalore
Posts: 30
Thanks: 11
Thanked 3 Times in 3 Posts
abhi981 is on a distinguished road
Wink Re: JSP directive in NetBeans

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
Reply With Quote
  #3 (permalink)  
Old 09-30-2009
Junior Member
 
Join Date: Sep 2009
Location: Bangalore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
praveen.jakkali is on a distinguished road
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.
Reply With Quote
Reply

  Geeks Talk > Software Development > Java

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -4. The time now is 05:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved