By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,715 Members | 1,815 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,715 IT Pros & Developers. It's quick & easy.

How to use JSTL core lib for my application

100+
P: 121
Hello everyone, I've done some searching on google but still cannot find the proper solution.


I want to use the JSTL core lib for my web application, say:

Expand|Select|Wrap|Line Numbers
  1. <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
Expand|Select|Wrap|Line Numbers
  1. <c:if test="${param.sayHello}">
  2.         <!-- Let's welcome the user ${param.name} -->
  3.         Hello ${param.name}!
  4.     </c:if>
Logically this would work fine, and it did in my NetBeans environment...
But when I move the application war file to the Linux webLogic environment, it says cannot locate the taglib from the uri...

Some said I should have put a "copy" of that taglib inside my web application and modify the web.xml to help the application server locate the uri,but I cannot find where to download it from the web:(

Thanks for any help in advance!





Sincerely yours,

Matt
Sep 15 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.