aspose file tools*
The moose likes JSP and the fly likes run custom tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "run custom tag" Watch "run custom tag" New topic
Author

run custom tag

joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
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

Joined: Apr 20, 2006
Posts: 3355

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?


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
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

Joined: Jan 10, 2002
Posts: 61772
    
  67

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?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
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

Joined: Jan 10, 2002
Posts: 61772
    
  67

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
 
subject: run custom tag