Weblogic does not render the JSF tags when .jspf is included in main.jsp

Hi,
I have a main.jsp page that has the following:
<div style="left: 0px; top: 0px; position: absolute">
<jsp:include page="header.jspf" />
</div>
the header.jspf did not get rendered. It displays my main.jsp without rendered the header.jspf when I deploy it to weblogic.
However, I used the following that works in the creator/SunApp
<div style="left: 0px; top: 0px; position: absolute">
<jsp:directive.include file="header.jspf" />
</div>
Weblogic gave the following errors:
Servlet failed with IOException
java.io.IOException: javax.servlet.jsp.JspException:
The taglib validator rejected the page: "org.xml.sax.SAXParseException: The markup in the documen
t following the root element must be well-formed., "
at weblogic.servlet.jsp.Jsp2Java.outputs([Ljava/lang/Object;)Ljava/util/Enumeration;(Jsp2Java.java:130)
at weblogic.utils.compiler.CodeGenerator.generate([Ljava/lang/Object;)[Ljava/lang/String;(CodeGenerator.java:258)
at weblogic.servlet.jsp.JspStub.compilePage(Lweblogic/servlet/internal/RequestCallback;)V(JspStub.java:396)
at weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic/servlet/internal/RequestCallback;Z)V(JspStub.java:246)
at weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic/servlet/internal/RequestCallback;)V(JspStub.java:196)
at weblogic.servlet.internal.ServletStubImpl.getServlet(Lweblogic/servlet/internal/RequestCallback;)Ljavax/servlet/Servlet;(ServletStubImpl.ja
va:598)
My header.jspf :
<div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://www.sun.com/web/ui">
<f:subview id="headernew" rendered="#{headernew != null}">
<ui:label binding="#{headernew.label1}" id="label1" style="left: 216px; top: 48px; position: absolute" text="Logged In:"/>
<ui:label binding="#{headernew.label2}" id="label2" style="left: 216px; top: 24px; position: absolute" text="Today's Date:"/>
<ui:image binding="#{headernew.cccLogo1}" id="cccLogo1" style="left: 0px; top: 0px; position: absolute" url="/resources/ccc_card.gif"/>
<ui:staticText binding="#{headernew.staticText1}" id="staticText1" style="left: 312px; top: 48px; position: absolute" text="test"/>
<ui:staticText binding="#{headernew.staticText2}" converter="#{_header.dateTimeConverter1}" id="staticText2"
style="left: 312px; top: 24px; position: absolute" text="#{SessionBean1.currentDate}"/>
</f:subview>
</div>
please let me know how to dynamically include jspf file to main.jsp and make it work in weblogic.
Thanks.

Try the following:
* Revert the include directive in the main.jsp page to how it was originally.
* Export the war file for J2EE 1.3 and deploy that to Weblogic.
The problem is that Weblogic can't handle our xml formated page fragments:-( (Weblogic problem:-()
In the J2EE 1.3 we try to do a static include of the page fragments into the main pages at build time. So the container never sees the fragments.
I hope this helps.
Thanks,
-- Marco

Similar Messages

  • GRC: Negative ack; PI: End tag 'enviNFe' does not match the start tag 'NFe'

    Bom dia SAP Boosters!
    Como muita gente estou aqui brigando com o GRC NFe. Esse forum tem resolvido meus problemas, até agora. Por isso inicio um novo tópico pois estou tendo o seguite problema que nao encontrei resposta:
    O grc e o pi estao em servidores separados. Do lado do grc, na sxmb_moni mostra para a interface BATCH_nfeRecepcaoLote_OB erro no acknowledgement status. abrindo o item error do ack msg id aparece:
    <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">NEGATIVE_ACKNOWLEDGEMENT</SAP:Code>
      <SAP:P1></SAP:P1>
      <SAP:P2></SAP:P2>
      <SAP:P3></SAP:P3>
      <SAP:P4></SAP:P4>
      <SAP:AdditionalText></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace=""></SAP:ApplicationFaultMessage>
      <SAP:Stack>Negative acknowledgment triggered by a process</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    No lado do PI, ao consultar esta interface e abrir o payload do item Request Message Mapping, aparece a mensagem de erro: End tag 'n0:enviNFe' does not match the start tag 'NFe'. e todo o xml fica em uma linha só.
    Voltei entao no xml do sender e de fato encontrei a tag NFe, onde deveria constar os dados das notas fiscais, sendo aberta mas nao sendo fechada, e sem dados, desse jeito.
    <?xml version="1.0" encoding="utf-8" ?>
    - <n0:nfeRecepcaoLote2 xmlns:n0="http://sap.com/xi/NFE/006">
      <n0:cUF>35</n0:cUF>
      <n0:tpEmis>1</n0:tpEmis>
      <n0:tpAmb>2</n0:tpAmb>
    - <n0:nfeDadosMsg>
    - <n0:enviNFe versao="2.00" xmlns:n0="http://www.portalfiscal.inf.br/nfe">
      <n0:idLote>000000000000025</n0:idLote>
      <n0:NFe asx:root="" xmlns:asx="http://www.sap.com/abapxml"></n0:NFe>
      </n0:enviNFe>
      </n0:nfeDadosMsg>
      </n0:nfeRecepcaoLote2>
    Alguém já viu esse bug? estou com grc 10 e SP 08 e das notas que sairam depois nenhuma fala disso.
    Obrigado.

    Fiz um teste que parou de dar erro de acknowledgement e chegou a enviar o lote para a sefaz, que retornou erro de schema porque o xml continua vazio:
    Na interface determination gerada quando criei o cenário NFE_BATCH_WebAS_Outbound_Batch, a que contém a interface BATCH_nfeRecepcaoLote_OB, tirei o operation mapping BATCH_nfeRecepcaoLote2_TO_nfeRecepcaoLote2. Embora não seja mais retornada a mensagem de erro na tag, o payload continua no mesmo formato postado acima. Entao coloquei de volta.
    Bem, pesquisando vi que a função que gera o xml é a  /XNFE/006_SIGN_NFE_OUT. As notas aparecem como assinadas no monitor do grc, mas vou ter que ver entao como esta ocorrendo a geraçao do xml por esta funçao, certo?

  • When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card

    When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card. I have tested with both 1.0.3 and 1.0.5 clients with RabbitMQ 3.1.5.
    I was wondering if the community was aware of this problem and if there are any workarounds? If not what is the proper channel to file a bug report. An example code snippet is below. The test fails because the TextMessageMatcher expects the destination passed in on construction (second parameter) to equal the desination on the message received (aquired from getJMSDestination).
            Mockery context = new Mockery();
            final MessageListener messageListener = context.mock(MessageListener.class);
            final Latch latch = new LatchImpl();
            final String prefix = "test" + System.currentTimeMillis();
            context.checking(new Expectations() {
                    oneOf(messageListener).onMessage(with(new TextMessageMatcher("MSG1", prefix + ".1234")));
                    will(new CustomAction("release latch") {
                        @Override
                        public Object invoke(Invocation invocation) throws Throwable {
                            latch.unlatch();
                            return null;
            final Connection connection = createConnection(null, null);
            Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
            connection.start();
            Topic wildcardTopic = (Topic) getInitialContext().lookup(prefix + "." + "#");
            Topic destination = (Topic) getInitialContext().lookup(prefix + ".1234");
            final MessageConsumer consumer = session.createConsumer(wildcardTopic);
            consumer.setMessageListener(messageListener);
            MessageProducer producer = session.createProducer(null);
            producer.send(destination, session.createTextMessage("MSG1"));
            latch.await(5000);
            connection.close();
            Thread.sleep(5);
            context.assertIsSatisfied();

    Check where your MDB sends the [response] messages to.

  • I imported a video and when I play it back, the audio does not match the video. When I view the tape in my camera it looks fine. I've tried imported twice and each time it doesn't match. What can I do to fix this?

    I imported a video and when I play it back, the audio does not match the video. When I view the tape in my camera it looks fine. I've tried imported twice and each time it doesn't match. What can I do to fix this?

    The default settings mostly likely use an audio sample rate of 32k. This doesn't work probably in FCP. You're probably better off capturing the tape in iMovie.

  • Can I migrate from mavericks to mavericks server. Have tried using a hard drive but the but the sever does not find the migration backup when it's searches. Any help out there?

    Can I migrate from mavericks to mavericks server. Have tried using a hard drive but the but the sever does not find the migration backup when it's searches. Any help out there?

    Is the HDD in the 2009 15" MBP dead?  (The original source of your data)  If not, you might want ot take it out and put it in an enclosure.
    You might try spotlight on know files to see if that gives you any clues where your data is located.
    You might down load from the Internet OmniDiskSweeper (free) and open it.  It should show you all of the files you have on your MBP and enable to locate them.
    Ciao.

  • Control panel does not show the home page when Newsstand app is open - could this be a bug?

    When Newsstand is open and I press the home button twice to access the control panel, the home screen is replaced by the Newsstand app. Is anyone else having this issue? Is there a fix?

    Zephuros2000 wrote:
    I press the home button twice to access the control panel ...
    Pressing the home button twice does not access the control panel ... at any time.
    To access the control panel, press the home button once to get to the home screen.  Then swipe up from down near the home button to view the control panel.
    Pressing the home button twice generally shows you the apps that are running.

  • My homepage does not show the latest page when I open Firefox

    I have set MSN as my homepage but when I open Firefox it does not show the latest MSN page.

    '''''Has the site worked normally in Firefox before?'''''
    When you have a new problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    This will open a window listing the site's cookies, which you can remove individually.
    Then try reloading the page and logging back in. Does that help?

  • My iphone4s does not lock the screen automatically when playing music and charging

    My iphone4s (iso5.1) does not lock the screen automatically with the condition in charging and playing music.
    System has been set to lock the screen in 1 mins.
    Everything goes fine when not in charging, the system can lock well even playing music.
    System can lock as well when all the music playing apps are closed, even when charging.
    I don't think that's my apps' problem, all my music playing apps have the same problem.
    My ipod has the exact same problem described above, I believe that's an iso system bug.

    It's not something i'm familar with but i will forward it internally for investigation. Could you please send me a PM with the IMEI of your phone and the build number? You can find these under Settings -> About phone and Settings -> About phone -> Status.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Installed Digital Edition on the computer but it does not recognize the Nook HD when I plug it in and open Adobe....how can I transfer a book from computer to Nook if it doesn't recognize it....?

    I have just installed Adobe Digital Edition on my computer.  I closed it and then plugged in the new Nook HD and opened the Digital Edition back up - it does NOT list the Nook in the left side so I cannot move the book to the NOok....how do I get this recognized so it works. ?

    Please have a look at the similar thread, Authorizing my nook. Hope the solution mentioned in this thread solves your problem.

  • HT201250 what do I do if my passport for mac does not delete the old files when the disc is full

    What do I do  if the time machine does not delete the oldest files on my passport for mac. I get the message backup failed not enough disc space available

    See Pondini's TM FAQs, for starters.

  • Weblogic does not recognize the classes

    I have the following problem.
              I have an application running in weblogic 8.1, this works correctly. When I copy the folder of the application and I paste in another different server weblogic 8.1 (in another PC) this does not recognize any of the classes even though the application is a faithful copy of the application that at the moment this executing itself in another server Weblogic 8.1.
              I deployed of aplication in the new server but nothing works!!
              the error is the following one:
              Compilation of 'C:\bea\WEBLOG~1\samples\domains\workshop\.\cgServer\.wlnotdelete\extract\cgServer_gar_prueba2_gar_prueba2\jsp_servlet\__login_45_proc.java' failed:
              C:\bea\WEBLOG~1\samples\domains\workshop\.\cgServer\.wlnotdelete\extract\cgServer_gar_prueba2_gar_prueba2\jsp_servlet\__login_45_proc.java:229: cannot resolve symbol
              probably occurred due to an error in /login-proc.jsp line 43:
              user.changePassw(loginchg,passw,passw1)){
              C:\bea\WEBLOG~1\samples\domains\workshop\.\cgServer\.wlnotdelete\extract\cgServer_gar_prueba2_gar_prueba2\jsp_servlet\__login_45_proc.java:308: cannot resolve symbol
              probably occurred due to an error in /login-proc.jsp line 78:
              boolean entrada = user.setUser(login, passwd, loginBD, passwdBD);

    Can you show me what the error looks like. Also are you deploying the war to the other server? If the war worked on one server it should work on the other server too.
              -- Nagesh

  • When posting to a forum the new version of Firefox does not show the post. When I start up IE and go to the forum there is the post. However Firefox 4 will not show the post. How can I fix this issue?

    Recently I upgraded to Firefox 4. I frequent various forums where I post advise on various subjects. I am finding that version 4 is showing the threads in the forums, allowing me to log in and to post. However the posts as sent in are not coming up at all, even if I get out and return, the page is not "refreshed."

    this is a follow up from the profane post earlier....
    i have done this twice in two other posts..
    here is my problem.. i started off trying to update itunes, it failed twice and said i needed to install manually via tools.
    the only place to get to tools is the pop up box that appears when you click check for updates.. if there is an available update then the pop up shows up with the quick time and itunes files to download. so i finally figured that out. i clicked on tools and manual update, four files were saved to a file. Apple mobile device support, another one similar, itunes, and another one i cant remember. I only downloaded the itunes file seeing as though thats all i needed to accomplish in the first place.
    so then i restarted my computer bc you need to reboot and then reopen itunes for update to take effect. once i have itunes back open i plugged in my new 5s which i am trying to sync to my computer to get all my stuff back bc i lost my previous phone over the weekend.. once i plugged the phone in an error stating i needed to unistall the apple mobile device support and itunes and then reinstall. well i dont know where those files were originally stored on my computer AND since my itunes was updated, just not the other 3 associated files, when i click check for updates it says its up to date and then pop up containing the quick time and itunes does not pop up thus i cant get back to the tools tab to manually save the 4 files again.
    so i was just going to uninstall itunes all together and then i thought well what happens if it erases all my photos apps songs etc... which would defeat the whole purpose in the first place of me trying to sync my new phone to get all my stuff back.
    so i literally have no idea what to do at this point.. if you have read this you are probably just as confused as me...

  • Firefox STILL does not open the home page when a new tab is selected

    I have just 'upgraded' to FF4 and expected that the irritating 'new tab homepage load situation' would have been resolved by now: sadly, it looks to STILL be around.
    MS IE has been loading the homepage DIRECTLY when a new tab is selected for about FOUR YEARS now, so I'm staggered that such a simple but very useful feature is not available in Firefox.
    The obvious question is WHY??
    In IE, you don't have to keep hitting the home page button to carry out a search in google when a new tab is selected, and IE does NOT need an 'add-on' to incorporate this functionality; it really is quite irritating that the function is still not built-in to FF, and the coding requiret to incorporate the function ain't rocked science Mozilla people - WHY has this not been put into effect by now?

    Some people prefer a blank tab because it takes no time to load. Some people prefer their home page. Some people prefer a list of most frequently used sites. It would be convenient if all of these options were built in, but obviously no one stepped up and made it a priority.
    By the way, another way to search in a new tab is: Using the search box (on the toolbar), after typing your query, either press Alt+Enter or Ctrl+click the magnifying glass. This opens the search in a new tab and saves that step.

  • My macbook pro does not remember the dates of when I saved files

    I have had my macbook pro since late may of 2010, but I recently noticed it has not been remembering the day I saved files. It claims that every file was saved, or last opened on 5/1/2010. How can I make it so my computer remembers the dates of when everything was saved?

    Is the clock showing the correct time. Check in System preferences > Date & Time to see how you have this set up. It may be that you are connecting (or trying to connect) to an online time server that is not right. Do you have to reset the time?  Also, are you having any problems with the battery?  I am not sure if this MacBook Pro has a separate battery for the clock, but  if that were defective that may cause symptoms like this.

  • ITunes does not refresh the CD device when insterting a new CD for importin

    After importing a CD I eject the CD, with either the iTunes eject button or my CD drive, upon placing a new CD in the drive iTunes does not recognize it..showing the old CD name and files...
    I then have to close iTunes and reload it... it now sees the new CD and I can import it...
    HELP...

    i have the exact same problem.
    sometimes it will recoginize that theres a cd
    but most of the time it wont
    and i've tried it with a lot of different cd's.
    help in this matter would be incredibly appreciated

Maybe you are looking for