Taglib JDeveloper10g

Hello, I'm a JDeveloper 10g's beginner.
I use JDeveloper 10g with Struts.
I would like to know how to do add taglib declaration in the web.xml file. I'm studing one book and I have read that I do that using Struts Logic Component Palette and the result is a new string in web.config
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
Help me!
Thanks

The Struts taglibs are added to the web.xml with:
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>

Similar Messages

  • I am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    hi TimoHahn,
    i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
    Root cause of ServletException.
    java.lang.NullPointerException
    at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
    at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
    at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

  • Taglib: class not found in jar-file

    I've got the following problem:
    I whant to deploy a taglib to tomcat 5.0.25.
    If I point to the jsp which uses the taglib I got the following error:
    org.apache.jasper.JasperException: Unable to read TLD "META-INF/taglib.tld" from JAR file "file:/C:/Programme/Apache Software Foundation/Tomcat 5.0/webapps/taglibtest/WEB-INF/lib/gsa_prod3_db_taglib.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI
    If I copy the taglib.tld out of the jar-file into WEB-INF and do the mapping in web.xml, I get this error:
    org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI
    root cause
    java.lang.ClassNotFoundException: ch.gsa.prodass3.taglib.TagAddAttributeTEI
    It seems like none of the files in the jar-file could be loaded.
    Has anybody an idea?
    Help would be very appreceated!
    Greetings, Jonas

    1 - double check the class is in the jar file, in that path, and is spelt correctly
    2 - restart Tomcat
    3 - check the contents of the tld file - particularly the extra-info tag and class name for it.

  • Taglib directive does not exist error

    hi frieds ,
    i got an error when running jsf application.I used tomcat 5.0.
    My applicatoin tree is
    newjsf
    /java resources
    /mypackage
    /PersonBean.java (java bean)
    /mypackage.messages.properties (properties file)
    /WebConten
    /pages
    /inputname.jsp
    /greeting.jsp
    /WEB-INF
    /faces-config.xml
    /web.xml
    The above is project tree in eclipse.i added necessary jar files in lib and added jsf support.
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:loadBundle basename="mypackage.bundle.messages" var="msg"/>
    inputname.jsp file
    ====================
    <html>
    <head>
    <title>enter your name page</title>
    </head>
    <body>
    <f:view> //got error here
    <h1>
    <h:outputText value="#{msg.inputname_header}"/> //got error
    </h1>
    <h:form id="helloForm">
    <h:outputText value="#{msg.prompt}"/> //error
    <h:inputText value="#{personBean.personName}" /> //got error
    <h:commandButton action="greeting" value="#{msg.button_text}" />
    </h:form>
    </f:view>
    </body>
    </html>
    greeting.jsp
    ======================
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:loadBundle basename="mypackage.bundle.messages" var="msg"/>
    <html>
    <head>
    <title>greeting page</title>
    </head>
    <body>
    <f:view> //got error
         <h3>
         <h:outputText value="#{msg.greeting_text}" />,
         <h:outputText value="#{personBean.personName}" />
    <h:outputText value="#{msg.sign}" />
         </h3>
    </f:view>
    </body>     
    </html>
    Error is TLD is not found.
    This is my faces-config.xml
    ========================
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
    <navigation-rule>
    <from-view-id>/pages/inputname.jsp</from-view-id>
    <navigation-case>
    <from-outcome>greeting</from-outcome>
    <to-view-id>/pages/greeting.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>personBean</managed-bean-name>
    <managed-bean-class>mypackage.PersonBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    </faces-config>
    This is my web.xml
    ====================
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
         <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    </web-app>
    im using tomcat 5.0. I added all jar files...plz help me...

    Did you "Enable AppXRay" on the project?
    In order to work with Workshop the project needs to be marked as web application.
    If your project is already in workspace, then right click and select "Enable AppXRay" FYI: Workshop identifies web resources inside web-root of an application. A web-root of an application is the folder containing WEB-INF directory.
    Ex:
    - C:\MyProject\WEB-INF\web.xml - in this case MyProject itself will be web-root
    - C:\MyProject\site\WEB-INF\web.xml - in this case site can be web-root
    Once the project is enabled with AppXRay, you open JSP/XML files in Workshop Editor (with Design/Source, Design & Source tabs).
    NOTE: Switch to Workshop perspective (Window > Open Perspective > other > Workshop)to see the default views. The jsp/xml files from AppXplorer view are by default opened in Workshop Editor.
    As I mentioned earlier the following settings should be checked for live "AppXRay" synchronization:
    - Window > Preferences > General > Workspace – make sure “Build automatically” is checked
    - Project > Properties > Builders – make sure “Workshop AppXRay Builder” is present and should be checked

  • Convert HTML ASCII codes with JSTL and Apache Taglibs?

    I am building a web application using JSTL and some of the Apache Taglibs, so these are the taglibs I have at my disposal currently. What I am looking for is the ability to handle the &#039; that appears in submitted search strings which contain the ' character. SQL seems to be able to handle other special characters (such as &, [, ", etc) but I can't get it to get along with the &#039;.  I have tried using a <string:replace replace="&#039;" with="\&#039;"> to escape the &#039;, but this doesn't seem to work either.  Any suggestions?  Let me know if you need more information to be able to fully understand the situation.
    --Ioeth                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    By the way, the search string that a user enters is getting Tokenized using " " as the token and then fed directly into multiple SQL LIKE comparisons based on how many tokens were found.

  • JDeveloper 10.1.3.2 pdk-struts taglib doesn't work

    Hi all,
    I just installed new jDev version (10.1.3.2) and I migrated all projects and setting from 10.1.3.1, but I still got a little/big problem with PDK-Struts taglib.
    In the previous jDev version portlet add-in wasn't include and to use pdk-struts integrate in the IDE I managed it as a JSP TagLib and everythings works fine.
    In new version the taglib in native and ready (it doesn't required to be registered!) to use but when I'm building the project I found and exception
    Error: java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/FormTag
    mind!!!
    - the same project in version 10.1.3.1 has no problem to build
    - I checked and seleted all the libraries required
    Anyone knows why the new jDev version doesn't work??
    please someone helpMe!!!!
    Regards
    spig@

    Yea, I had those "is not a registered namespace in TLD" errors too, but regarding Struts HTML... I had to go to the Project properties and add the library.. (It went missing during conversion)
    Its frustrating and I know how you feel. Try this, try that and still doesnt work. My advice is to remove taglibs. Close Jdev. Open Jdev add them again. It have to work. Also it might help to delete class directories. Also be aware that some libraries are kept in "\WEB-INF\lib" and during conversion they remained (those libraries were from old Jdev you have to replace them with new version)
    So, all in all keep tryng, it have to work :)
    Good luck...

  • Error in using taglib uri in jsp

    When i write the following code in my jsp to use the tags, i got the error -
    JSP Parsing Error:The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application     
    And when i used the tld (html_basic.tld & jsf_core.tld), it gave me the error
    JSP Parsing Error:Failed to load or instantiate TagLibraryValidator class: com.sun.faces.taglib.html_basic.HtmlBasicValidator

    you can use
    <taglib>
    <taglib-uri>/WEB-INF/html-basic.tld</taglib-uri>
    <taglib-location>
    /WEB-INF/html-basic.tld
    </taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/jsf-core.tld</taglib-uri>
    <taglib-location>
    /WEB-INF/jsf-core.tld
    </taglib-location>
    </taglib>
    in your web.xml

  • Jdev 10.1.3.0.4 jsp 2.0 taglib support

    hi,
    i am trying to use ZK jsp tag library(zkoss.org) for a project. ZK taglib needs jsp2.0 support. i have create a web project with jsp2.0 and servlet2.4.
    then i install taglib to the project and put required libraries under web-inf/lib.
    here is a simple jsp: (just imports taglib)
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@ page contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="http://www.zkoss.org/dsp/web/core" prefix="zkjsp-functions"%>
    <%@ taglib uri="http://www.zkoss.org/jsp/zul" prefix="zuljsp"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Hello ZK World</title>
    </head>
    <body></body>
    </html>
    when i rebuild the project i get:
    Error(4): Invalid body-content value in TLD: SCRİPTLESS.
    Error(5): Invalid body-content value in TLD: SCRİPTLESS.
    Error(5): "http://www.zkoss.org/jsp/zul" is not a registered TLD namespace
    am i missing something?
    does jdeveloper 10g really supports jsp2.0 taglibs?
    regards, Engin.

    hi,
    jsp tag library definitions exist both at global jsp tag libs and project tag libs.
    my pc regional setting are turkish. i have changed then to english. then the error changed to:
    Error(4): Invalid body-content value in TLD: NONE.
    Error(5): Invalid body-content value in TLD: NONE.
    i guess the taglib file contains none value while its schema definition does not allow this? could it be the reason for last error? i found some none values at tld file.
    regards, engin.

  • Error while deloying webservice on Weblogic92 using Jdeveloper10g

    I am new to Jdeveloper10g.
    I have created a small webservice using oracle Jdeveloper 10.1.3.3. This WS is up and running while it is being deployed on default OC4J application server.
    Now I am trying to deploy the same on Weblogic9.2. For that I have created the weblogic.xml. Updated the webservice.deploy file and changed the platform to weblogic9x.
    This is the following error what I am getting when I try to deploy the service -
    java.lang.IllegalStateException: could not find schema type named {{http}//www.abc.com/ebs/logistics/v1}>QueryLogisticsOrderResponseEBM
         at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder$GlobalTypeNode.getSchemaType(AnonymousTypeFinder.java:182)
         at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder.getTypeNamed(AnonymousTypeFinder.java:87)
         at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.createBindingTypeFrom(Deploytime109MappingHelper.java:1045)
         at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.processTypeMappings(Deploytime109MappingHelper.java:476)
         at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initBindingFileFrom109dd(Deploytime109MappingHelper.java:249)
         at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:161)
         at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.createRuntimeBindings(RuntimeBindingsBuilderImpl.java:86)
         at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:379)
         at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:135)
         at weblogic.wsee.ws.WsFactory.createServerService(WsFactory.java:55)
         at weblogic.wsee.server.servlet.WebappWSServlet.initRuntime(WebappWSServlet.java:67)
         at weblogic.wsee.server.servlet.WebappWSServlet.initImpl(WebappWSServlet.java:32)
         at weblogic.wsee.server.servlet.BaseWSServlet.init(BaseWSServlet.java:61)
         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:274)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    I am clueless what needs to be done. Could you please help me solving this?
    Thanks in advance.
    Aditya

    You mentioned you checked that the webservice is configured under correct application pool. you can find the user under which the application pool is configured (open iis- > select application pools -> find out the "Identity column" to
    know the user for your application pool.
    -The user under which application pool is running have the read/write permission on the %temp% folder.-Dont Know how to check
    Go to run -> type "%temp%" -> Go one step back -> Right click to the folder -> Properties -> Security -> check the application pool user is present under "Group or user names"
    -In IIS,Check the identity of the application pool on which Web service is running and make sure that the user is the member of both “IIS_WPG” and “BizTalk Isolated host users”.
    -DONT Know how to check
    Refer How to Add Service Account to the IIS_WPG Group to add your application pool user under IIS_WPG. Also similar activity to add your service account to "BizTalk Isolated
    host users" if it is local groups. Or Ask your network support team if "BizTalk Isolated host users" is domain group.
    Please Help me in guiding me in the last two points
    and if there are any other solutions for this..
    Thanks,
    Sarva.
    Your event viewer might have more information pointing exactly what is causing "Internal SOAP processing failure". 
    Also refer this
    which might be helpful for you.
    If this answers your question please mark it as Answer and if this post is helpful, please vote as helpful. Thanks !

  • Org.xml.sax.SAXParseException: Document root element "taglib", must match D

    hi
    using tomcat 4
    and jdf1.5
    i am getting bellow error
    org.xml.sax.SAXParseException: Document root element "taglib", must match DOCTYPE root "null".

    Check your web.xml once again.

  • Working with taglibs in jdev 10.1.3.4 (to be used for facelets)

    Short question:
    How do I get the jdeveloper to accept this declaration: <em>&lt;%@taglib uri="http://java.sun.com/jsf/facelets" prefix="ui"%&gt;</em> and its elements, such as <em>&lt;ui:include&gt;</em> ?
    Full story:
    I've been trying to get facelets to work in a project I'm working on. A part of this project, which I have no control over, is automatic javascript insertion via xslt, which makes it impossible for me to use xml style documents. (due to '&lt;'&gt;' being used for comparison, rather than tag opening/closing. Having said that, here's my problem:
    I want to use jsf / facelets to create a template page, that will be used in about 30 other pages. If I was able to use an xml-style jsp docuement, I could add an xmlns:ui, and faces support would work. However, since the above is true, I have to define the taglib in jsp style, to be able to use facelets. This would look something like:
    <blockquote>
    <em>&lt;%@taglib uri="http://java.sun.com/jsf/facelets" prefix="ui"%&gt;</em>
    </blockquote>
    Upon doing this, jdeveloper tells me that
    <blockquote>
    <em>Error(7): "http://java.sun.com/jsf/facelets" is not a registered TLD namespace</em>
    </blockquote>
    and for any uses thereof:
    <blockquote>
    <em>Error(33): ui:include is not a registered tag in that namespace.</em>
    </blockquote>
    After I add the jsf-facelets.jar library (tried versions 1.0.1.14, 1.1.11, 1.1.14), nothing changes.
    I understand that Jdeveloper wants to validate the taglibs I define, but there is no tld in the jsf distribution and there also should be no need for this (in xml-style syntax, it works fine without validation).
    If there's any way I can skip this validation or make jdeveloper believe the library is valid, I'm done. However, I have not been able to find such a function.
    Some guy from exadel has uploaded a tld for facelets to the facelets project (it's under contrib, here ). This tld has been referenced in most threads that deal with the problem (jsf in jdeveloper). The tld can't however provide a structural solution, since it's not complete. The &lt;tag-class&gt; and &lt;tei-class&gt; tags within the tld are empty. Reason enough for jdeveloper to halt on it.
    Adding the library to jdeveloper would be done thus: go to tools, go to 'manage libraries', go to 'tag libraries' click 'user' and select 'new'. Browse your way trough your filesystem and locate the tld file. Add a reference to the jsf-facelets and a reference to the el-api and el-impl jars and click ok. Then go to project properties and under tag lib libraries, add this library.
    Jdeveloper responds to this with the following error:
    <blockquote>
    <em>Error(33): Unable to instantiate tag: ui:include (class: null) Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.</em>
    </blockquote>
    Right. To be able to instantiate the tag, jdeveloper seems to not only need the description of the tag, but also the connection to the real thing. I've been exploring the jsf-facelets jar and came to the conclusion that the tags in the tld correspond to the classes in the 'com.sun.facelets.tag.ui.' package, so for ui:include, that would be 'com.sun.facelets.tag.ui.IncludeHandler'.This class, described here here, seems indeed to have the same attributes as our ui:include tag. Tag tei-tag (tag extra information), is, afaik, not mandatory, so I'll leave it empty. Rebuild in developer gave me lots of errors when I did it the first time (which I solved by filling in the other tag-classes), but when recreating it for this topic, I had no problems of that sort. The error I'm stuck with is:
    <blockquote>
    <em>Error(33): src is not a property of com.sun.facelets.tag.ui.IncludeHandler</em>
    </blockquote>
    I'm baffled by this statement. The tld says this property exists, the ui:include documentation agrees with me and the file I'm linking to has a src TagAttribute (for which I'm having trouble finding the setter, but it worked in the xml-style version). Using this tld Jdeveloper grants content assistance, which suggests to me that I should use the src tag. It is mandatory.
    I tried to fill in the &lt;tei-class&gt;'es, but the facelets jar contains no class (that extends from) tagExtraInfo, as far as I could see. Using the one from jsf (facelets are, in a manner, jsf tags, being just a viewHandler for jsf), didn't change anything.
    At this point, I'm stumped. I hope there is either
    - a way to disable the tld resolution feature
    - a way to make a change in the tld I have now and make jdeveloper parse this tld
    - a way to create some dummy tld that jdeveloper will accept
    <blockquote>
    <em>Error(33): src is not a property of com.sun.facelets.tag.ui.IncludeHandler</em>
    </blockquote>
    How can I get rid of this error? Thanks for any suggestions!
    edit: fixed some typos and messed-up links on 04-Nov-2008 04:35
    Edited by: user2103934 on 04-Nov-2008 06:07

    Opon further expirimentation, I've discovered that the facelets view handler can not handle the <%@ taglib > declaration, returning me an
    com.sun.facelets.FaceletException: Error Parsing /mapviewer.jsp: Error Traced[line: 3] <Line 3, Column 2>: XML-20201: (Fatal Error) Expected name intead of %.
    With the facelets handler off, the non-xml facelet declaration is handled fine, but is no help.
    Which means I'm bound to use the xml style for facelets, which means I'm going to have to catch the inserted javascript in some manner.
    In any case, the original question in this topic is not the problem anymore, so I closed it here and awarded 5 points for a helpful answer.
    Edited by: rjonkman on 05-Nov-2008 07:17

  • Jsp taglibs in include files not detected, throws errors, no code insight

    I have a jsp which is included in all the other jsp. it looks something like this
    taglibs.jsp
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
    test.jsp
    <%@ include file="/jsp/menu/taglibs.jsp"%>
    <html>
         <head>
              <title>Tours</title>
         </head>
         <body>
    <form:form commandName="testCommand">
                   <form:hidden path="tour.firstname" id="tour.firstname" />
    and so on.
    I am having 2 problems
    1. the jsp editor show errors all over the place saying
    element path not expected
    element commandName not expected etc.
    2. no code insights.
    but if i include the taglib def in test.jsp it dosn't show any error and also provides code insights. but seldom do people include all taglibs in all jsps.
    is there a way for Jdeveloper to show code insights in jsp pages which includes a jsp or like xml schemas could be added at some place(tools-pref-xml schemas) and when used anywhere, would provide code insights.

    am not sure, try with this
    <jsp:include   .../>

  • In xml file taglib tag can't read in myEclipse

    My source code of web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
      <!-- Action servlet configuration -->
      <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <init-param>
          <param-name>config</param-name>
          <param-value>/WEB-INF/struts-config.xml</param-value>
        </init-param>
        <init-param>
          <param-name>debug</param-name>
          <param-value>3</param-value>
        </init-param>
        <init-param>
          <param-name>detail</param-name>
          <param-value>3</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <!-- Action servlet mapping -->
      <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.do</url-pattern>
      </servlet-mapping>
      <!--  Welcome file list -->
        <welcome-file-list>
        <welcome-file>indexMini.jsp</welcome-file>
      </welcome-file-list>
      <!-- Struts tag library descriptor -->
      <taglib>
           <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
           <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
       </taglib>
        <taglib>
           <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
           <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
       </taglib>
    <taglib>
           <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
           <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
       </taglib>  
    </web-app>Here under the <!-- Struts tag library descriptor -->
    the first tag
    <taglib> can't read myEclipse.
    Can you please help me?

    Hello,
    I have tried my best cleaning up the wiring, but it's still pretty messy. I attach the complete program.
    My problem (still not solved) is that since EA needs to be measured at very high rate, I want to write it as binary data. But I cannot make it show me the correct data afterwards, with a different program, that doesn't matter.
    I would also like to know how to convert this saved data to MatLab... any suggestions? (should I post this in a new thread?)
    Regards,
    Usuario
    Attachments:
    program_00.vi ‏297 KB

  • Error using IO taglib in BEA 8.1

              Hello,
              I am integrating a web application into BEA 8.1 and everything seems to be getting
              worked out except for 1 thing. In one of my JSP pages I use the Jakarta io taglib
              to send a SOAP message. When I try to run this JSP page I get the following error:
              WARNING: ERROR: Caughtjava.io.FileNotFoundException: Response: '500: Internal
              Se
              rver Error' for url: 'http://[the ip]:8080/axis/services/vkb-resourcemgmt'
              java.io.FileNotFoundException: Response: '500: Internal Server Error' for url:
              http://[the ip]:8080/axis/services/vkb-resourcemgmt'
              at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
              java:394)
              at org.apache.taglibs.io.URLTag.getURLInputStream(URLTag.java:274)
              at org.apache.taglibs.io.URLTag.getURLReader(URLTag.java:259)
              at org.apache.taglibs.io.URLTag.readURL(URLTag.java:327)
              at org.apache.taglibs.io.URLTag.doEndTag(URLTag.java:181)
              at jsp_servlet._jsp.__registerproduct._jspService(registerProduct.jsp:31
              The problem is not with the URL being a bad one but there is some internal conflict
              between BEA and the taglib itself. I don't have problems when my web application
              runs outside of BEA (just in Tomcat).
              Thoughts??
              Thanks - Peter
              6)
              

              "Peter Len" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hello,
              >
              > I am integrating a web application into BEA 8.1 and everything seems to be
              getting
              > worked out except for 1 thing. In one of my JSP pages I use the Jakarta
              io taglib
              > to send a SOAP message. When I try to run this JSP page I get the
              following error:
              >
              > WARNING: ERROR: Caughtjava.io.FileNotFoundException: Response: '500:
              Internal
              > Se
              > rver Error' for url: 'http://[the ip]:8080/axis/services/vkb-resourcemgmt'
              > java.io.FileNotFoundException: Response: '500: Internal Server Error' for
              url:
              > '
              > http://[the ip]:8080/axis/services/vkb-resourcemgmt'
              > at
              weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
              > java:394)
              > at org.apache.taglibs.io.URLTag.getURLInputStream(URLTag.java:274)
              > at org.apache.taglibs.io.URLTag.getURLReader(URLTag.java:259)
              > at org.apache.taglibs.io.URLTag.readURL(URLTag.java:327)
              > at org.apache.taglibs.io.URLTag.doEndTag(URLTag.java:181)
              > at
              jsp_servlet._jsp.__registerproduct._jspService(registerProduct.jsp:31
              > ...................................................
              >
              > The problem is not with the URL being a bad one but there is some internal
              conflict
              > between BEA and the taglib itself. I don't have problems when my web
              application
              > runs outside of BEA (just in Tomcat).
              >
              > Thoughts??
              >
              > Thanks - Peter
              > 6)
              Looks like the URL is returning a 500 Internal Server Error which implies an
              exception on the server side. Does the other URL also reside on WebLogic? If
              so you might want to look at the server log and see if there is something
              going on
              

  • Jsp taglib problems in J2ee server  of j2sdkee1.3

    Fresh from solving the problems with usebean in jsp, I again got a problem with the custom tags of JSP
    I am using Jdk1.3 and j2sdkee1.3, windows98
    The class file is stored in a package called my in the c:\j2sdkee1.3\lib\classes\my folder
    and the tld and jsp file stored in c:\j2sdkee1.3\public_html folder
    when I access the atm.jsp page, I got this error message
    A Servlet Exception Has Occurred
    org.apache.jasper.compiler.ParseException: End of content reached while more parsing required: tag nesting error?
    Here is the ATMJsp.tld code
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
         <tlibversion>1.0</tlibversion>
         <jspversion>1.1</jspversion>
         <shortname>ATMJsp</shortname>
         <info>a tag library for the atm details</info>
         <tag>
              <name>ATM</name>
              <tagclass>my.atmtag</tagclass>
              <bodycontent>JSP</bodycontent>
              <info>Outputs of the ATM Counter</info>
         </tag>
    </taglib>
    I try:
    When I put the <bodycontent> tags below the <info> tags, I got the error message that the tag doesn't allow "bodycontent" here
    I don't know what caused the problem ... is there some mistake in the above code?
    Include other file to make it more clear---* atm.jsp and atmtag.java
    atm.jsp
    <%@ page import="my.atmtag" %>
    <%@ taglib uri="ATMJsp.tld" prefix="atmjsp" %>
    <%@ page errorPage="errorpage.jsp" %>
    <!DocType HTML Public "-//W3C//DTD// HTML 4.0 Translational//EN">
    <html>
    <head></head>
    <body>
    <h3 align=center>ATM counters that need cash</h3>
    <table><tr>
    <td></td>
    <td><atmjsp:ATM></td>
    </tr>
    </body>
    </html>
    atmtag.java
    package my;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.*;
    import java.sql.*;
    import java.math.*;
    import java.util.*;
    //tag handler
    public class atmtag extends TagSupport
         Connection connect=null;
         Statement state=null;
         ResultSet result=null;
         public atmtag() throws ClassNotFoundException
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         public int doStartTag() throws JspTagException
              return EVAL_BODY_INCLUDE;
         public int doEndTag() throws JspTagException
              try
                   JspWriter out=pageContext.getOut();
                   connect=DriverManager.getConnection("jdbc:odbc:EarnestBank","","");
                   String strquery="select cCounter_id, cAddress, mCashBalance from Counter where mCashBalance<=10000";
                   state=connect.createStatement();
                   ResultSet result=state.executeQuery(strquery);
                   String sid=null;
                   String saddress=null;
                   String sbalance=null;
                   Vector v=new Vector();
                   while(result.next())
                        sid=result.getString(1);
                        saddress=result.getString(2);
                        sbalance=result.getString(3);
                        v.add(sid);
                        v.add(saddress);
                        v.add(sbalance);
                   for (int i=0; i<v.size();i++)
                        String str=(String)v.elementAt(i);
                        pageContext.getOut().write(str);
              catch(Exception ex)
              return EVAL_PAGE;
    Pls help me to get through this hurdle
    Thanks

    1) To handle <bodycontent> you should inherit from BodyTagSupport
    class
    2) You should use your bean like: <td><atmjsp:ATM/></td>
    with closing slash - it's bodyless tag - this mistake
    causes JSP compiler to report error
    Enjoy!
    Paul

Maybe you are looking for

  • OS 10.8.5 update failed, now can't get past recovery disk

    I ran the latest OS10.8.5 update on an old iMac (circa 2009) and left the computer while it was running. When I returned there was a message saying the update could not be installed, and a prompt to restart the iMac.  On restart it went straight to r

  • [Resolved]Outlook 2013 with Office 365: Unable to log in to: SharePoint. Click here to log in.

    This is posted so that it may be of assistance to others. I am using Outlook 2013 (Office 2013 Pro Plus) with Office 365 (E3 Subscription). Active Directory is federated with Office 365. I recently had to change my AD account password. On my home com

  • Why CanPutXMP Fail

    i wrote this code, when i try this code with jpg file, it works, but when i try it with gif file, the CanPutXMP return false, can you help? thank you very much open file using SXMPFiles myFile the file is opened. then i tried to add a new name-value

  • Row and column heading in cross tab report

    Hi Gurus, Is it possible to leave column headings and row headings in a crosstab report blank? Pooja

  • IPv6 for home use

    I would like to know if that if I buy an IPv6 enabled router I will be able to connect to the internet via BT Broadband using an IPv6 address. Is this possible because it is some time since the talk of IPv6 began and although it states on the bt webs