Found tag library, no jsp-tag-lib manifest entry
I get the following error when trying to reference my iPlanet tag libraries:
<Mar 16, 2001 7:05:00 AM MST> <Error> <HTTP>
<[WebAppServletContext(203409,java)
] Servlet failed with Exception
weblogic.servlet.jsp.JspException: (line -1): Found tag library, no
jsp-tag-lib
manifest entry
Any ideas? I've attached my taglib jar file.
Thanks,
Matt
[iplanet-tags.jar]
Yes sorry, you're correct. The uri I mentioned is just 1.0.
Do you have the "Oracle WebLogic Web App Extension" Facet for your web project? If not, try adding that and making sure that there is a weblogic.xml file created in the WEB-INF dir. The weblogic.xml file allows you to deploy usig a shared lib for JSTL. It should contain a library-ref element something like the following, with a version of 1.1.
<wls:library-ref>
<wls:library-name>jstl</wls:library-name>
<wls:specification-version>1.1</wls:specification-version>
<wls:exact-match>true</wls:exact-match>
</wls:library-ref>
Similar Messages
-
Upgrade from tomcat to OC4J 10.1.3 jsp parser exception in tag lib
i have problem in oc4j jsp parser
but it work ok on tomcat as tomcat using jasper-compiler.jar
when run on oc4j it give me the exception
OracleJSP: oracle.jsp.parse.JspParseException: /jsp/layouts/elec/pageheading.jsp: Line # 3, <aa:h1 wrapped="true" labelKey="${heading1BundleKey}"/>
Error: Errors parsing tag :h1 oracle.jsp.parse.JspParseException: /jsp/layouts/elec/pageheading.jsp: Line # 3, <aa:h1 wrapped="true" labelKey="${heading1BundleKey}"/>
Error: oracle.jsp.provider.JspCompileException: <H3>Errors compiling:E:\oc4j\j2ee\home\application-deployments\default\sc40\persistence\_tagfiles\_oracle\_jsp\_tag\_aacom\_h1_2e_tag.java</H3><TABLE BORDER=1 WIDTH=100%><TR><TH ALIGN=CENTER>Line #</TH><TH ALIGN=CENTER>Error</TH></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>191</TD><TD> non-static variable _jspFragWriter cannot be referenced from a static context
_jspFragWriter = null;
-------------------------------------------------------->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
and i have problem in web.xml
as i using jsp servlet in jasper-compiler.jar in tomcat package
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
------------------------------------>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
i try to use this package in oc4j but i can not
i put this servlet in global-web-application.xml instead of
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
------------------>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
to make oc4j depend on tomcat parser it give me
classnotfound mean that (oc4j can not found package) this printed in global-application.log
i make
<library path="E:/oc4j/j2ee/home/applib/jasper-compiler.jar"/>
and still have problem
any 1 have idea using tomcat parser in oc4j
or have idea solve this problem
thanx
Message was edited by:
[email protected]
Message was edited by:
[email protected]
Message was edited by:
[email protected]
Message was edited by:
[email protected]OC4J 10.1.3 does support JSP 2.0, as well as custom tag libraries (including JSTL 1.1).
There are two approaches to configuring a custom tag library for use in JSPs served by OC4J:
1) Package the JSTL or custom tag library with your application:
i. include the necessary JAR file in your web app's /WEB-INF/lib folder
ii. include the relevant Tag Library Descriptor (TLD) file(s) in your web app's /WEB-INF folder
iii. for each TLD, add a <tag-lib> element to web.xml referencing the TLD file's location and taglib URI
2) Place the JSTL or custom tag library in an Application Server instance-level directory ($ORACLE_HOME/j2ee/home/jsp/lib/taglib) to make them available to multiple applications (in all OC4Js installed in the Oracle Home)
For example, if you'd like to use the JSTL 1.1 Core and Internationalization Tag Libraries, do one of the following:
1) Package the JSTL or custom tag library with your application:
i. Obtain an implementation of JSTL (e.g. Jakarta Taglibs) and include the standard.jar and jstl.jar files in your web module's /WEB-INF/lib directory
ii. From the JSTL implementation you're using, also copy the c.tld and fmt.tld Tag Library Descriptors to your web module's /WEB-INF/lib directory
iii. Add the following elements to your web module's web.xml file:
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
</jsp-config>
OR
2) Copy the standard.jar and jstl.jar libraries from the JSTL implementation you're using to $ORACLE_HOME/j2ee/home/jsp/lib/taglib -
How to use JSP custom tag lib in PAR file?
Hi All,
I am trying to customize mastheaderpar file. For that I have downloaded relevant par file and making the changes accordingly.
As part of the changes I would require to use JSP custom tag library in my par file.
I have the TLD file and relevant classes in the jar file. I would like to know where and what kind of modifications have to be done to use the jsp custom tag library.
I tried modifying some things in portalapp.xml but was not successful.
Please help me on how to proceed with this? It would be great if you can provide the xml entry to use this tag library
Thanks
SanthoshHi Johny,
Thanks for the reply. Actually I am able to change colors etc. with out any problem.
My requirement is to use XMLTaglib in mastheader par file. This tag lib is from apache tomcat. I have the relevant TLD and class files. I copied TLD file into taglib dir of portal-inf and class file in src api.
And I have added the following line in portalapp.xml under component-profile section of default
<property name="tlxtag" value="/SERVICE/Newmastheader/taglib/taglibs-xtags.tld">
Is this the right way to use tag lib? Actually before adding this line I used to get the error saying "Error parsing taglib", but now the error does not occur and I am getting new error. This is an exception in one of the taglib classes.
Could any one provide me some inputs on how to check this error?
Thanks
Santhosh -
How to use custome tag lib in the JSP page?
How to use custome tag lib in the JSP page?...with JDeveloper
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtTopicFile.working_with_jsp_pages%7Cjsp_ptagsregistering~html/
-
I can't use JSP tags lib in IWS6
I was trying to use JSP tags lib but the web server doesn't find the *.tld file. Some messages are shown:
25/Jun/2002:19:40:28] info ( 5604): JSP: JSP1x compiler threw exception
org.apache.jasper.compiler.CompileException: /local/iplanet/docs/menu_principal.jsp(1,0) Unable to open taglibrary http://apache.org/taglibs/dbtags : Could not locate TLD http://apache.org/taglibs/dbtags
at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:707)
at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:110)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:218)
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
[25/Jun/2002:19:40:28] warning ( 5604): Internal error: Failed to get GenericServlet. (uri=/menu_principal.jsp,SCRIPT_NAME=/menu_principal.jsp)
I have some doubts about how to work with JSP Tags in iws6. What should I do to get this work?
The tag lib is gotten from jakarta project and I'd like to know which steps i have to follow.
Thank you very muchHi,
What you have to do is this:
- Include the jar file in the WEB-INF/lib
- Include the tld file in a directory under WEB-INF, for example tlds
- Create a mapping in the deployment descriptor (web.xml), to make the taglib available, something like this:
<taglib>
<taglib-uri>http://jakarta.apache.org/taglibs/io</taglib-uri>
<taglib-location>/WEB-INF/tlds/io.tld</taglib-location>
</taglib>
Then in the jsp, you have to invoke it like this:
<%@ taglib uri="http://jakarta.apache.org/taglibs/io" prefix="io" %>
<io:http url="http://mustang:4004/NASApp/fortune/fortune" action="GET"/>
Hope this helps
Juan -
JSP Tag libs with struts Urgent
Hi
Has anyone implemanted jsp tag libs with the help of struts-bean.tld,struts-html.tld etc,
I need to use these , but I am not clear with how the page retrives the key values
example:
table width="400" cellpadding="10" cellspacing="0" border="0" bgcolor="#cccccc">
<tr>
<td valign="top" colspan="2">
<bean:message key="logon.welcome"/>
<html:errors/>
</td>
</tr>
<tr>
<bean:message key="logon.welcome"/>----?
I don't no how the"message bean" gets its key value dynamically? how it retrieves from its Application resource file? any idea?
Also has anyone implemanted jsp templates if so kindly guide me thru these
thanks!Hi..
I am myself involved in implementing custom taglibs extending struts functionality. This can be done by extending the struts base classes and tag handlers. If you're still working on this topic, please let me know and we might share experiences.
Best regards,.
- Bj�rn Syse, [email protected]
Hi
Has anyone implemanted jsp tag libs with the help of
struts-bean.tld,struts-html.tld etc,
I need to use these , but I am not clear with how the
page retrives the key values
example:
table width="400" cellpadding="10" cellspacing="0"
border="0" bgcolor="#cccccc">
<tr>
<td valign="top" colspan="2">
<bean:message key="logon.welcome"/>
<html:errors/>
</td>
</tr>
<tr>
<bean:message key="logon.welcome"/>----?
I don't no how the"message bean" gets its key value
dynamically? how it retrieves from its Application
resource file? any idea?
Also has anyone implemanted jsp templates if so
kindly guide me thru these
thanks! -
what is tag lib
A Tag Library Descriptor (TLD) file is an XML document that
describes a tag library, which contains one or more tag extensions. The JSP taglib
directive must be used to import the tag library's tags in each JSP that wishes to use any of
them.
For more on this refer http://developer.java.sun.com/developer/Books/projsp/Chap12.pdf -
Problem in using JSTL tag libs
Hi there,
I am trying to use JSTL tag libs in my web app, but i get the following error message:
org.apache.jasper.JasperException: /index.jsp(22,0) According to TLD or attribute directive in tag file, attribute test does not accept any expressions
as it might be clear i am using Tomcat and line 22 of the code for index.jsp is:
<c:if test="${user.role > 0 }">
Please help my identify whats wrong in there. I suspect that it is because of my web.xml file, but i am not sure.
thanx in advance,
Capitan Haddocktry to use gt instead of >
-
Where tag libs related to JavaHelp can be downloaded?
Where the JSP tag libs related to JavaHelp can be downloaded? .It was not available as part of JH2.0 downloadable.
Thanks Ingo! I realized (while following your link) that my access profile was not containing enough roles to download the packages from the Marketplace. So, I have downloaded the installation package and installed the BusinessObjects SAP Integration Kit XI3.1. However, during the installation process I received the following error message (sorry if it is alredy the n-th time it is mentioned in this forum): "Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CrystalExtension.dll failed to register. HRESULT -2147024769. Contact your support personnlel." And the buttons - Abort, Retry, Ignore. I have chosen Ignore and the installation has finished "successfully".
But when I start Crystal Reports now, and I am trying to use the Open command on the SAP menu, Crystal Reports shuts down (and Windows starts looking for a "solution of the problem" - without any result, of course).
Could this Crystal Reports shutdown be the result of that .dll registration error during the installation, or it is other known issue of the Integration Kit? Thanks a lot for any idea. -
I am new to Plumtree development. found this link to the tag libs..
http://edocs.bea.com/alui/devdoc/docs60/References/API_Libraries/TagDocs/index.html
I just started developing few examples.. would be great if there are any out there that i can look at...
ThanksI have a few examples up on my [url http://dev2dev.bea.com/blog/bucchere/archive/2006/08/a_slick_alterna_1.html]blog.
Chris Bucchere | bdg | [email protected] | http://www.thebdgway.com -
JPS thread issues and Tag Libs
I was curious as to the thread issues with using Tag Libs inside of JPS'.
I realize that many threads can access an individual JSP and that a JSP (at least in tomcat) uses the same instance of its tag over and over again.
But I have the following questions:
Are there thread race issues with using tags?
If there are thread race issues wouldn't it be a bad idea to use the setter methods on a tag or have any instance level variables in a tag?
Is the access to the tag synchronized in the creation of the JSP/Servlet?
Thanks for your time,
NateI actually decompiled the JSP that was created by tomcat and it (the complied JSP) is actually using a factory to get an instance of a tag. When the complied JSP is done with the Tag instance it calls the release() method on the Tag and then the factory is allowed to reuse that Tag.
So, basically when Tags are used like they are supposed to be, there are no threading/race issues.
I have downloaded the Tag specs, but haven't been able to read them yet. After I do get the chance to read them, I will try and post my findings. -
Dynamic Attribute Class in Tag Lib TEI?
Hi All
I have had pretty good luck implementing a few tag libs.. my only question is..
Can you dynamically assign the class type of an attribute in the TEI of a Tag? Is there a way to get at the TEI of a tag at runtime?
As an example of what i'm asking to do, i would like to be able to return the variable "item" in a proper type so as to not have to cast it from a java.lang.object in the jsp script. (see the below code)
public class myTEI extends TagExtraInfo {
public VariableInfo[] getVariableInfo(TagData data) {
return new VariableInfo[] {
new VariableInfo("index", "java.lang.Integer", true, VariableInfo.NESTED),
new VariableInfo("item", "java.lang.Object", true, VariableInfo.NESTED)
Thanks for the help,
RickI propose you to pass object type as your tag attribute:
<your:tag ... type="your.type.YourType" />
And TEI class looks like:
new VariableInfo("item", data.getAttributeString("type"), true, VariableInfo.NESTED) -
AutoCapitalized in dsp tag lib
Hi,
I have a requirement, to make a text field auto capitalization to be disabled using the dsp tag lib, in normal html input type we have autocapitalize attribute. How to do this using dsp tag lib.
Thanks,I think you may check with allcaps="true|false" or autocaps="true|false" in the dsp input tag. Both of these are supported attributes for dsp input and textarea tags. You can find the list of all supported attributes of any dsp tag in dspjspTaglib1_0.tld
Hope it helps. Thanks. -
WML help for Struts-wml tag lib
I tried using the tag lib of struts but I didn't find wml:card tag..........
thank you Shay Shmeltzer
i added the tld to my jdev.
but now the property inspector of any component of this tag lib is empty.
i can see all components in the component palette.
another thing can you help me to use struts-layout libraries?
i see in the code
<layout:form action="/login" styleClass="FORM" key="form1.title" reqCode="login" focus="login">
i can't find were are styleClass (css)?
i looked for in all the project and in libraries?
thank you very much..
Talel...; -
Hi Experts,
I am trying to migrate a web appication from tomcat to SAP WAS 7.1 . I am facing some problems as follows:
1. When I create a tld file by right clicking on web.xml an entry is made to web.xml as
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd ">
<display-name>AprilfoolTest</display-name>
<jsp-config>
<jsp:taglib>
<jsp:taglib-uri>/WEB-INF/My.tld</jsp:taglib-uri>
<jsp:taglib-location>/WEB-INF/My.tld</jsp:taglib-location>
</jsp:taglib>
</jsp-config>
</web-app>
But I get error at <jsp:taglib> tab :
cvc-complex-type.2.4.a: Invalid content was found starting with element 'jsp:taglib'. One of '{"http://java.sun.com/xml/ns/javaee":taglib, "http://java.sun.com/xml/ns/javaee":jsp-property-group}' is expected.
When I replace <jsp:taglib> with only <taglib> build time error goes away.
2. Are there any changes that have occurred in WAS with respect to taglibs from version 6.4/7.0 to 7.1. Any document which quotes these changes.
Please help me, don't worry about the points I will give it to right answer.
cheers
jayant
Am I addressing this query to wrong forum. If anybody is aware of any solution to my question then plz replyAm I addressing this question to wrong forum. Please reply if anybody knows the solution.
Maybe you are looking for
-
How can i transfer some fields from one table to another using a trigger
hi, i have two tables;sales and accounts.i want in my accounts form to enter salesid which is then validated and if it exists in the sales table, some fields are copied to the accounts table automatically.how do i go about this.thanx
-
Interactive Reporting is not opening in Hyperion workspace
Hi, I have installed Hyperion Foundation Services 11.1.1.1.0 and IR 11.1.1.1.0 I am trying to access IR through Workspace I could see the procedure like File-> New-> Document_> interactive reporting document. Then i have selected a .oce file to make
-
About the difference between the AWT components and the swing components
As we know that an AWT component has a peer, but dose a lightweight component(e.g: a swing component) has also a peer? And could somebody tell me that who and how creates the CLICKED_EVENT when I click a JButton(a swing component), and where the CLIC
-
Where to find the performance counter information?
Code: class Program static void Main(string[] args) if(CreatePerformanceCounters()) Console.WriteLine("Created performance counters"); Console.WriteLine("Please restart application"); Console.ReadKey(); return; var totalOperationsCounter = new Perfor
-
Need help regarding the few clarification in writing cmod
Hi All, I need to write a cmod by creating a new project for that. The main purpose is to define variables in it which will be used in reporting(restrictions). Now I need to enhance that structure with RSR00001 code since it dealys with declaring