Jspf (jsp include file) not recognized

          It looks like weblogic doesn't recognize the jspf extension as belonging to "fragments
          of JSP code that will be incorporated using a static include" as recommended by
          the JSP 1.2 spec. That means that such included files are treated as static text,
          not compiled.
          Does anyone know how to teach wls about this extension?
          Ray
          

          Nothing in the JSP Specification indicates that jspf extensions should be used for
          static includes, it only address the naming convention. I think it's relevant to
          point out that a dynamiclly included jspf-ragment is not a top level page.
          In Tomcat 4.x this is achived by adding a servlet mapping from *.jspf to the jspservlet
          in the default web.xml file.
          Where can I add an extra mapping from *.jspf to whatever *.jsp is mapped to in Weblogic
          6.1sp1?
          Thanks // Torben
          Robert Patrick <[email protected]> wrote:
          >..jspf files are pieces of a jsp and are never inteneded to be translated
          >
          >into a JSP outside the context of another JSP file. Therefore, .jspf
          >files should only be included using static includes (like #include in
          >C/C++). A dynamic include means that the included page is compiled and
          >
          >executed as a stand-alone JSP and its output is included in the output
          >stream of the including JSP.
          >
          >Hope this helps,
          >Robert
          >
          >Ray Schnitzler wrote:
          >
          >> What about dynamic includes? Should I expect them to be treated as jsp?
          >>
          >> "Alex Worden" <[email protected]> wrote:
          >>
          >>>If you statically include any file into a top-level .jsp file, its contents
          >>>will be treated as JSP. That includes .jspf files. So, this is supported
          >>>since WLS5.1 !
          >>>
          >>>Why are you not seeing this behavior I wonder? Static includes are just
          >>>in-lined into the including page and compiled as JSP code....
          >>>
          >>>Can you send me an example that doesn't work for you?
          >>>
          >>>Thanks,
          >>>
          >>>Alex
          >>>
          >>>
          >>><[email protected]> wrote in message news:[email protected]...
          >>>
          >>>>WLS 6.x supports the JSP 1.1 spec. ( see below). For JSP 1.2 see WLS
          >>>>
          >>>7.x
          >>>see
          >>>
          >>>>below) . The JSP 1.2 final release is very new and I am sure keeping
          >>>>
          >>>up
          >>>with the
          >>>
          >>>>constantly evolving space is difficult for any product.
          >>>>--------------------
          >>>>
          >>>>http://e-docs.bea.com/wls/docs61/jsp/intro.html
          >>>>http://e-docs.bea.com/wls/docs70/jsp/intro.html#49347
          >>>>---------------------------
          >>>>"Ray Schnitzler" <[email protected]> wrote:
          >>>>
          >>>>>It looks like weblogic doesn't recognize the jspf extension as belonging
          >>>>>to "fragments
          >>>>>of JSP code that will be incorporated using a static include" as
          >>>>>
          >>>recommended
          >>>
          >>>>>by
          >>>>>the JSP 1.2 spec. That means that such included files are treated
          >>>>>
          >>>as
          >>>
          >>>>>static text,
          >>>>>not compiled.
          >>>>>
          >>>>>Does anyone know how to teach wls about this extension?
          >>>>>
          >>>>>Ray
          >>>>>
          >>>>>
          >>>
          >>
          >
          

Similar Messages

  • 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   .../>

  • Variables defined in JSP include files.

    hi..
    i was wondering how to access the variable defined in a JSP include file from the page where it is included.

    If you are thinking of scriptlets, then you would do it in the same manner that you would access variables local to your jsp. A word of caution - jsp pre-compilation may not work.
    A neater solution would be store it as an attribute in 'page' scope.
    cheers,
    ram.

  • JSP:  Include file paths

    Hi;
    I'm using Tomcat 3.2.
    I am trying to use the path "../common/copyright.html" for an include
    path. It isn't working.
    For some reason it seems you can't "go backwards" with a file path
    with Tomcat 3.2/JSP include file paths.
    Is there a way around this or does anyone know anything about it?
    ( I read the specs, they weren't of much help and I couldn't find
    much be searching google.)
    Thanks in advance
    Steve

    Try using the full (or absolute) path. If that does not work, then talk to Tomcat developers. If it does, then look at where the JSP pages lies in relation to the path you are trying to use the "../" method on.
    Example:
    JSP path: www.you.com/jsp/pages/hello.jsp
    Include path: ../jsp/pages/open.jsp
    This will cause an error becuase the path of the JSP page does not exist within the include path.

  • Error: Include file not found: /globalinclude.html

    Does anyone have any idea why I would be getting this error everytime I try to make or build my workspace, project or any jsp file within JDev? I have no reference to /globalinclude.html and have never even seen this file anywhere before.
    Error: Include file not found: /globalinclude.html
    Thanks.
    -Teri Kemple
    [email protected]

    Teri,
    The reference is made in ojsp-global-include.xml in your WEB-INF directory.
    globalinclude.html should be located in your html root (default .../public_html) and its content is:
    <% request.setCharacterEncoding("windows-1252");%>.
    with the correct encoding of course.
    Charles.

  • Install error during make of Pro*/C++ - file not recognized:

    Say, anyone seen this error during install? The file or directory "proc" is indeed missing... is this a known shortcoming of this release? Can these make errors be ignored?
    Thanks in advance
    Dennis
    Starting install Link Phase of component Oracle Internet Directory Client Common Files
    Starting install Link Phase of component Required Support Files
    Starting install Link Phase of component Oracle Code Editor
    Starting install Link Phase of component Oracle Database User Interface
    Starting install Link Phase of component Oracle Ultra Search Server Rdbms
    Starting install Link Phase of component Enterprise Manager Minimal Integration
    Starting install Link Phase of component Object Type Translator
    Starting install Link Phase of component Pro*C/C++
    Calling Action unixActions10.1.0.3.0 make
         installMakePath = /usr/bin/make
         installMakeFileName = /app/oracle/OraHome_1/precomp/lib/ins_precomp.mk
         installTarget = relink
         installArguments = ORACLE_HOME=/app/oracle/OraHome_1,EXENAME=proc,
         undoMakeFileName = null
         undoTarget = null
         undoArguments = null
         logFile = /app/oracle/OraHome_1/install/make.log
         progMsg = Linking proc
    The output of this make operation is also available at: '/app/oracle/OraHome_1/install/make.log'
    Start output from spawned process:
    Linking /app/oracle/OraHome_1/precomp/lib/proc
    /app/oracle/OraHome_1/lib/s0main.o: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    /bin/chmod: failed to get attributes of `/app/oracle/OraHome_1/precomp/lib/proc': No such file or directory
    make: *** [app/oracle/OraHome_1/precomp/lib/proc] Error 1
    End output from spawned process.
    Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target 'relink' of makefile '/app/oracle/OraHome_1/precomp/lib/ins_precomp.mk'. See '/app/oracle/oraInventory/logs/installActions2005-07-04_09-24-38AM.log' for details.
    Exception Severity: 1
    *** Cancel Dialog: ***
    User Selected: Stop installation of all products.
    Exception handling set to prompt user with options to Retry Ignore
    User Choice: User selected to stop installation of all components.
    Error in invoking target 'relink' of makefile '/app/oracle/OraHome_1/precomp/lib/ins_precomp.mk'. See '/app/oracle/oraInventory/logs/installActions2005-07-04_09-24-38AM.log' for details.
    Unable to read the list of homes from the inventory.

    If your library is in the standard layout of an iTunes folder containing an iTunes Media folder (and you've already copied over the media) then you can simply copy the iTunes library files and album artwork folder across to the new machine recreating the same layout. If the media folder has been split out from the main iTunes folder then see make a split library portable for a way to get the library into a portable form, after which you can copy over the library files.
    tt2

  • New Nikon Df camera RAW files not recognized in Bridge and Photoshop.

    New Nikon Df camera RAW files not recognized in Bridge and Photoshop.  Is there a fix?  Surely Adobe make a mistake and not keep up with Nikon.

    I looked at the current list http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html and did not see the Nikon DF listed.
    Would post in ACR forum and see if they know anything more.  http://forums.adobe.com/community/cameraraw

  • Libc.so: file not recognized: File format not recognized

    Hi,
    While running the "cd $ORACLE_HOME/procbuilder60/lib; make -f ins_procbuilder.mk install"
    i am getting the error.
    [appldev@datadev lib]$ cd $ORACLE_HOME/procbuilder60/lib; make -f ins_procbuilder.mk install
    rm -f de60desm /appldev/devora/iAS/6iserver/bin/de60desm
    - Linking de60desm executable...
    gcc -o de60desm -L/appldev/devora/iAS/6iserver/lib/ -L/appldev/devora/iAS/6iserver/lib/ -L/appldev/devora/iAS/6iserver/lib//stubs/ \
    /appldev/devora/iAS/6iserver/procbuilder60/lib/detk2.o /appldev/devora/iAS/6iserver/procbuilder60/lib/demsr.o /appldev/devora/iAS/6iserver/procbuilder60/lib/demcl.o \
    /appldev/devora/iAS/6iserver/procbuilder60/lib/ui10.o /appldev/devora/iAS/6iserver/procbuilder60/lib/uiicxd.o \
    /appldev/devora/iAS/6iserver/rdbms/lib/defopt.o -lde60 \
    -lca60 -lucol60 \
    -lnvu60 -lnvc60 -lnvs60 -luicc60 -lmmiw60 -lmmov60 -lmma60 -lmmos60 -lmmoi60 -lmmia60 -lmmft60 -lmmcm60 -luihx60 -luihx60 -luc60 -luipr60 -luimotif60 -lot60 -lrem60 -lree60 -lrec60 -luiimg60 -luimotif60 -luipr60 -luiimg60 -luc60 -lrem60 -luimotif60 -luia60 -ltknqap60 -luipr60 -luimotif60 -lutt60 -lix60 -lixd60 -lrod60 -lror60 -lros60 -lrod60 -lror60 -lros60 -lrod60 \
    -luat60 -lutc60 -lutl60 -lutsl60 -lplsf -lplsb -lextp /appldev/devora/iAS/6iserver/lib/libpsd.a -lplsf -lplsb -lextp \
    -lslax /appldev/devora/iAS/6iserver/lib/nautab.o /appldev/devora/iAS/6iserver/lib/naeet.o /appldev/devora/iAS/6iserver/lib/naect.o /appldev/devora/iAS/6iserver/lib/naedhs.o `cat /appldev/devora/iAS/6iserver/lib/naldflgs` -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lncr -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lncr -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lclient -lvsn -lcommon -lgeneric -lepc -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon -lgeneric -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 `cat /appldev/devora/iAS/6iserver/lib/sysliblist` -ldl -lpthread -lm -L/usr/lib -lm -L/usr/X11R6/lib -lXm -L/usr/X11R6/lib/ -L/usr/X11R6/lib/ -lXt -lX11 -lm -lix60 -lixd60 -lX11 -lnlsrtl3 -lXp -lXext
    /appldev/devora/iAS/6iserver/lib//stubs//libc.so: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    make: *** [de60desm] Error 1
    My OS version is RHEL 5.
    Please suggest.
    Thanks in advance.

    But We are facing another issue while running "cd $ORACLE_HOME/reports60/lib; make -f ins_reports60w.mk install"
    [appldev@datadev lib]$ export LD_LIBRARY_PATH=/appldev/devora/8.0.6/network/jre11/lib/i686/native_threads/
    [appldev@datadev lib]$ cd $ORACLE_HOME/reports60/lib; make -f ins_reports60w.mk install
    Last few lines Error:
    ld -shared -o rwows60.so -z text -G -export-dynamic -L/appldev/devora/8.0.6/lib/ -L/appldev/devora/8.0.6/network/jre11/lib/linux/native_threads -L/appldev/devora/8.0.6/network/jre11/lib/i686/native_threads /appldev/devora/8.0.6/reports60/lib/rxmawt.o /appldev/devora/8.0.6/reports60/lib/rwsows3.o /appldev/devora/8.0.6/reports60/lib/rwswif.o /appldev/devora/8.0.6/reports60/lib/rwswcj.o /appldev/devora/8.0.6/reports60/lib/rwswcs.o /appldev/devora/8.0.6/reports60/lib/rwswm.o /appldev/devora/8.0.6/reports60/lib/rwsws.o /appldev/devora/8.0.6/reports60/lib/rwswcm.o /appldev/devora/8.0.6/reports60/lib/rwswk.o /appldev/devora/8.0.6/reports60/lib/rwswu.o /appldev/devora/8.0.6/reports60/lib/rwswur.o /appldev/devora/8.0.6/reports60/lib/rwswx.o -lzrc60 -lca60 /appldev/devora/8.0.6/lib/nautab.o /appldev/devora/8.0.6/lib/naeet.o /appldev/devora/8.0.6/lib/naect.o /appldev/devora/8.0.6/lib/naedhs.o -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lncr -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lncr -lnetv2 -lnttcp -lnetwork_d -lnz -lnzr -lnsslb8 -lbcert -lclient -lvsn -lcommon -lgeneric -lepc -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon -lgeneric -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -ldl -lm -lpthread -ldl -lpthread -lm -L/usr/lib -lm -lc
    /usr/lib/libc.so: file not recognized: File format not recognized
    make: *** [rwows60.so] Error 1
    Kindly suggest..What is the document/step you are following?
    Thanks,
    Hussein

  • Camera RAW, file not recognized after import and migration, Aperture 2.1

    Hi,
    I have recently purchased a 1DMKIII and am constantly getting "file not recognized" after I import and even after migrating RAW files. My 1DS MK1 RAW files have no issues. The RAW files render just fine using CS4 bridge. Any ideas here on a fix? Other than ditching Aperture (not desireable)
    Thanks,
    Greg

    Hummmm..I have just 'manned-up' from a 2gb macbook running tiger+CS4 to a iMac 24" 8gb running leopard BUT!
    I shoot RAW and the iMac will not recognize the NEF RAW files! this is soo frustrating - tried to update Camera Raw but to no avail.
    please help! I've got 987 raw wedding photos to process!!
    I dont know what to do!

  • Jsp( %@ include file )

    suppose
    abc.jsp
    <% ! x=4 ; %>
    xyz.jsp
    <%@ include file = "abc.jsp" %>
    < % x=4; %>
    < % System.out.println ' x' =+x %>
    what will happen ?

    sorry zodak,
    i cant close my eyesWell, maybe you could turn off your monitor?
    Anyway, do people misspell my name as an insult? because they can't type? I don't understand. It is 5 letters. (I don't know why it intrigues me but they always switch the a and the o)

  • .RAF files not recognized in bridge but PS ok.  Patch 7.1 installed.

    .RAF files not recognized in bridge but PS ok.  Patch 7.1 installed.  Anyone know the fix?

    To me it seems related to your Adobe Camera Raw (ACR) converter. Clue inhere is you only miss the Raw files and have no problems in seeing other formats like jpeg and tiff.
    The screenshot you delivered is from the wrong library, however, this same library (the one on system level) also is the location where you should be able to view the correct version of your ACR plugin. The path: library (same as per your screenshot)/Application support/ Adobe/ Plug ins/ CS6/ File Formats. inhere should be only one version of Camera Raw (called: "Camera Raw.plugin") and this should show version 8.3 (141).
    I'm not sure about your bridge version number, Bridge 5 comes with PSCS6 but my most recent version of Bridge is 5.0.2.4.
    Anyway, if you have only one ACR (8.3) installed in the above mentioned path then you might want to try to delete the Bridge plist file and Bridge cache file manually.
    For this you have to Quit Bridge and find the user library (by default hidden, use menu Go in Finder and press option key to reveal).
    Inhere find the plist file (user(your user name) / library / Preferences  and inhere find and manually delete the file called: "com.adobe.bridge5.plist"
    The in same user library find Bridge Cache. User/Library/Caches/Adobe/Bridge CS6. Inhere are 2 files, the adobe Bridge plug in cache and the folder called Cache. delete (or move outside libray) both items.
    The restart Bridge (If needed also again hold option key to reset preferences) and this will create fresh files for the previous deleted items, leaving you with an almost out of the box factory set version of Bridge.

  • Mp3-file not recognized on my Samsung SGH-E720 mobile phone

    hey,
    i recently ripped my audiocd's in iTunes. some files can't be played back on my mobile phone: it says "file not recognized". others can be played. what am i doing wrong, or is it just the type of audiocd i ripped?
    grtz
    imac g5 17"   Mac OS X (10.4.8)   broken for the moment ...

    hey,
    i recently ripped my audiocd's in iTunes. some files can't be played back on my mobile phone: it says "file not recognized". others can be played. what am i doing wrong, or is it just the type of audiocd i ripped?
    grtz
    imac g5 17"   Mac OS X (10.4.8)   broken for the moment ...

  • Jsp:include does not work in 8.1 SP3?

    Hi all,
              I need to include a local file (external to the app) in jsp code. The external file includes an image map which changes very so often. So in order to avoid doing a build everytime, I thought about keeping the image map in a file which can be "included" in the jsp file, making it very dynamic to a change.
              So I have a servlet which will read this file and output the contents to response.getWriter(), which will be included in calling jsp code.
              But the jsp file does not seem to call the servlet at all.
              Here is the code in the jsp file:
              <%
              String sFileUrl = "/Prj/RenderReport?file=OrgChart.html";
              %>
              <jsp:include page="<%=sFileUrl%>" />
              What am I doing wrong? Is this not possible at all?
              Thank you all in advance.

    hi pjoshi,
              <jsp:include page="hello.jsp" /> tag is working fine in weblogic 8.1 sp3.
              I think it might be syntax error in your jsp page.
              This is the syntax to including dynamic files in jsp using <jsp:include page="" />tag as given below.
              <jsp:include page="{relativeURL | <%= expression %>}" flush="true" />
              go through the below link and you will find exact information how to include dynamic files in jsp using <jsp:include page=""/>
              http://java.sun.com/products/jsp/syntax/1.1/syntaxref1112.html
              --Anilkumar kari                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JSP include directive not working with Tomcat 5.0

    Hi.
    I'm developing a small JSF webapp under Tomcat 5.0. My idea was to use the include directive to display a navigation panel on every JSP page.
    I took the code straight from the Java Web Services Tutorial; the resulting page looks like this:
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
           version="2.0">
    <jsp:directive.page contentType="text/html;charset=iso-8859-1"/>
    <%@ include file="/jsp/panelpage_header.inc" %>
         <h:outputText value="Welcome!"/>
    <%@ include file="/jsp/panelpage_footer.inc" %>
    </jsp:root>However, when I try to load the page, a compilation error occurrs:
    org.apache.jasper.JasperException: /trias/welcome2.jsp(11,2) The content of elements must consist of well-formed character data or markup.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
    ...I checked the path to the included files, and it seems to be okay. The files themselves contain the JSF tags for the view, html-head, html-body etc. The compiler doesn't even care if the files exist or not because it aborts immediately when it reaches the first include-statement.
    Did anyone see this kind of error before?

    Ok, the solution with jsp:directive.include works,
    if header.inc and footer.inc themselves are well
    formed too. If I understood the concept right this is
    because header and footer are processed during
    request time and therefore interpreted as
    'standalone' pages.This isn't true. The include directive (<jsp:directive.include>) is run a Compile Time. The code is inserted directly into the surrounding JSP (unlike <jsp:include> which forwards the request at runtime). The finished JSP, after the include, is then processed and needs to be well-formed XML.
    >
    But: What can I do when these two files define a tag
    that should enclose my current page (for example,
    header opens a panelGrid-Tag, and footer closes it).
    For this case I thought the use of the
    @include-directive would be neccessary to combine the
    three pages during compilation. By this the resulting
    page would be well-formed although header and footer
    are not.It should be, as long as you are using <jsp:directive.include>, and the rest of the included pages are also well formed (no <% %> tags, nothing else out of place...).
    Honestly, I haven't done much work with JSP documents, so I haven't run into this problem. But I do believe everything I said is correct.
    What I would do is double check the correctness of the rest of the included pages and see if your error isn't something else.

  • Reloading a jsp include file

    Lets say I have a container,
    <div id="mindmapcontainer">and within this container, I have a jsp include
    <%@ include file="mindmap.jsp"%>and within the parent page there is a flash map. I have manipulated the css in such a way that this container (and its include file) will not show unless the user clicks on a country (using visibility hidden/visible). I understand that the external file loads on the server side when the parent page loads,despite it being hidden.
    Now the problem is, I'm missing some fancy effects that is shown only when the external jsp first loads. Is there any way I can make it reload onClick?
    I'm using ammap and js-mindmap btw.

    nope using window.location.reload() will reload the entire page.and i dont want that because it will get me back to my flash map screen and not the mindmap screen.thanks for your answer anyway.is there is a way to make it reload a div only or a jsp include?

Maybe you are looking for