• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

run custom tag

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
joe here

i have weblogic 8.1. To run custom tag. i have standard.jar and jstl.jar and pasted in lib/ , set the classpath for both this jar files.

it shows the error as

Could not parse deployment descriptor: java.io.IOException: cannot resolve 'http://java.sun.com/jsp/jstl/core' into a valid tag library
probably occurred due to an error in /mainmenu.jsp line 1:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
for a quick resolution, what exactly is there in web.xml for the taglib-uri element? Is it the same as you gave in the .jsp file?
 
joseph prabhu
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Raghavan Muthu:
for a quick resolution, what exactly is there in web.xml for the taglib-uri element? Is it the same as you gave in the .jsp file?




Hello joe here

my web.xml contains tags like this any have it is giving the same error

<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>;
</taglib>
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Remove any such declaration from web.xml. It's extraneous and will just get in the way. See the JSP FAQ to make sure that you are using the right versions of the JSTL. Is Weblogic 8.1 a JSP 2.0 container?
 
joseph prabhu
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bear Bibeault:
Remove any such declaration from web.xml. It's extraneous and will just get in the way. See the JSP FAQ to make sure that you are using the right versions of the JSTL. Is Weblogic 8.1 a JSP 2.0 container?



weblogic 8.1 will now support jsp 2.0.

for that only i have included standard.jar and jstl.jar in the lib folder. will it now work or i have to go for higher version.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
With JSP 1.2 you would use JSTL 1.0. With JSP 2.x you would use JSTL 1.1.
reply
    Bookmark Topic Watch Topic
  • New Topic