Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

run custom tag

 
joseph prabhu
Ranch Hand
Posts: 162
  • 0
  • Mark post as helpful
  • send pies
  • 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" %>
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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>
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic