Tag base in HTML page from web repository

We are using EP 6.0 SP10 with KMC SP10 on host http://ep60:55000/. We want to configure web repository for http://example.com.
We have created HTTP system "ExampleSite" in KM system landscape for web site "http://example.com", created web site "Example" in KM landscape and configured web repository manager "WebSystems" with prefix "/websys" for created web site "Example" with property "External Server URI Handling"="rewrite".
We were create URL-iView on link http://ep60:55000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/websys/Example.
The problem is following:
There is no tag <base> in page content when we opening http://example.com directly in browser.
When we preview created URL-iView page it is opened but tag <base href=http://example.com> is present in HTML page content.
Thefore all relative links point to http://example.com but not to http://ep60:55000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/websys/Example as we need.
What settings (in web repository, HTTP System or anywhere) disables addition tag <base> to page content?

Hi, All. Sorry for tardy reply.
Now i'm attempting to use "HTML Filter" (from repository filters in Content Managenment Configurator) for reset base tag.
Unlike "HTML Stylesheet Filter" working fine (LINK tag is appearing in content of HTML repository documents),
"HTML Filter" doesn'n work (browser display "500 internal error"). This error possess when we use "HTML Filter" for native CM repository (for example: documents).
I find following error in knowledgemanagement.0.log file:
#1.5#C000AC140312000500000002000012240003F737312F4F50#1116241350578#com.sapportals.wcm.protocol.webdav.server.WDGetHandler#irj#com.sapportals.wcm.protocol.webdav.server.WDGetHandler#System#0#####Client_Thread_7##0#0#Error##Plain###Exception while applying filters: null - com.sapportals.wcm.repository.ResourceException: Exception while applying filters: null
Displaying pages from repository without "HTML Filter" works fine.
My filter has following properties:
  Base Tag      = http://test.base.tag/
  Extensions    = htm
  MIME Types    = text/html
  Paths         = /**
  Active        = checked
  Priority      = 99
  Repositories  = documents
I'm not use properties "Base URL", "URL Handler Class"
What is a reasone of the error?
Did anybody find a solution to remove/reset base tag?

Similar Messages

  • Referencing static html pages from jsps...

              Hi,
              This is probably a very simple thing to solve, but I'm having problems with referencing
              html pages from jsps under Weblogic.
              I get Error 404 - not found, whenever I try something like this in a JSP...
              <frame name="title" src="title.html" scrolling=no>
              The title.html file has definitely been copied into my ear file, and yet it isn't
              found. I can solve the problem by turning title.html into a jsp and registering
              it in web.xml. But this seems like serious overkill with static content!!
              Am I missing something really simple here?
              

              I've worked it out - directory mistake...
              Thanks,
              Chris
              "Matt Krevs" <[email protected]> wrote:
              >it sounds like a relative pathing problem
              >
              >is title.html reachable if you enter its address in the browser?
              >
              >is title.html in the same directory as your jsp?
              >
              >perhaps you could post your web.xml file?
              >
              >"Chris Sceats" <[email protected]> wrote in message
              >news:3d9c41b5$[email protected]..
              >>
              >> Hi,
              >>
              >> This is probably a very simple thing to solve, but I'm having problems
              >with referencing
              >> html pages from jsps under Weblogic.
              >> I get Error 404 - not found, whenever I try something like this in
              >a
              >JSP...
              >>
              >> <frame name="title" src="title.html" scrolling=no>
              >>
              >> The title.html file has definitely been copied into my ear file, and
              >yet
              >it isn't
              >> found. I can solve the problem by turning title.html into a jsp and
              >registering
              >> it in web.xml. But this seems like serious overkill with static content!!
              >>
              >> Am I missing something really simple here?
              >
              >
              

  • Exclude HTML page from Webcache with ESI

    Hi.
    I would like to exclude a html page from cache using ESI.
    Somebody can show me the tags that I need to use?
    Thanks in advanced.

    It is possible to dynamically exclude pages from caching through Surrogate-Control . I couldn't get what you are trying to achieve by using ESI...

  • Publish no static html page with Web services

    Hello All,
    I would like to publish no static html page using Web services. I can't attach this html page as static because I need to change it dynamically from another vi. So, client can read this page by browser with refresh 2 sec.
    Thanks,
    Yustas

    Hi,
    I think It is not possible to create a dynamic HTML page, at  the most you could edit your page HTML and publish it again with the same URL
    I hope to be helpful.
    Sabrina

  • How to cache a content item like a Static HTML Page from UCM to Coherence/C

    Hi All,
    How to cache a content item like a Static HTML Page from UCM to Coherence/Coherence Web?
    Thanks

    Hi,
    Could you explain your use case in more detail?
    It does not look like proper use of coherence to cache static content - it more suited for dynamic content like user session etc.
    Adam

  • How to extract HTML page from the internet

    i am new to java, i wish to know how to extract Html page from the internet and also how to identify the differences between the images and text information?

    You can create a java.net.URL that points to the file you want to "extract" and read the HTML code (or what ever that file contains) from there using the inputstream given by URL.openStream().
    The difference between images and text... well, images are embedded in html using the img-tag. example: <IMG src="http://forum.java.sun.com/images/reply.gif" alt="Reply">. Attributes width, height, alt are sometimes left out and there may or may not be quotes around the values and everything is case insensitive... you'll be having hard time trying to parse the input so I'd suggest using existing parsers.
    What are you trying to do anyway? You can load a URL directly to a JTextEditorPane with the setPage(URL page) method...

  • Open HTML page from the stage

    How can I open a HTML page by pressing a button on the stage?
    I've created a rollover button and I'm trying to make it open
    an existing html page from the local disk (not an internet URL).
    But I can't make it open with Lingo or behaviour.
    Please help.
    Thanks a lot.
    Gideon.

    goToNetPage "
    http://somewhere.html" is the
    typical form for a page on
    the web, director must use the address format the system's
    browser uses
    for local files, this is somewhat platform dependant, a
    practical
    aproach is to open the file in question from within your
    browser then
    copy and paste the displayed address into your lingo code.
    Some report the goToNetPage counterpart provided by the
    buddyAPI xtra
    works more reliably, the xtra can be used for free if limited
    to a
    couple of functions.
    An alternate approach buddyAPI can use is to have the browser
    directly
    access the html file as if it were double clicked in the file
    manager
    using the same form commonly used to open PDF files with
    acrobat.
    (sorry I don't have example code handy)

  • Creating a HTML page from the J2ME application

    Hi,
    I am developingan application in J2ME. Can anyone of you out there, help me whether there is any way I can generate a HTML page from the application.
    I have the data but I don't know ho to create a HTML page from a J2ME application.
    Any document or any code will prove handy.
    Thanking in anticipation.
    Ashish

    When you say that "you have the data" you mean that you have HTML code data(<html><body>Hello World</body></html>)? If yes you should create an algorithm that "read" html tag and display text in the appropriate layout/font/size/color...
    A solution could be simplify your HTML code (server side), so you can easly "decode" and display text.
    Giovanni
    Italy

  • Get parameters from html page from java application standalone ...

    Hi all,
    I work in one solution that i have values in Html Page and i want get the parameters values from html and cath they in java application standalone.
    The Html page is in same host than de java application.
    I want know if this is possible. I wnat know if without HttpServlet i can get the parameters from Html Page pure.
    Thanks in Advance for the ideas,
    Antonio.

    Hi Abdul,
    The problem is my client want one solution where i have one page simple page Html and one application java standalone. This application runs in one machine, but we don't have web server. So the question is: Is possible without web server i can get the parameters values that is inside the html page from java application. I remember you that the application java is one .jar that run's with one command line from crontab "java -jar teste.jar".

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • Report HTML page from XSL

    Hi All,
    I need help with generation HTML page from
    such XML by using XSL transformation.
    XML is generated from db table.
    <ITEM level=0 name="Page row 1" type="PR"/>
    <ITEM level=1 name="Page row 2" type="PR"/>
    <ITEM level=2 name="Table 1" type="T">
         <Captions>
              <Name>Caption 1</Name>
              <Name>Caption 2</Name>
              <Name>Caption 3</Name>
              <Name>Caption 4</Name>
         </Captions>
    </ITEM>
    <ITEM level=3 name="Table row 1" type="TR">
         <Values>
              <Value>Row 1 value 1</Value>
              <Value>Row 1 value 2</Value>
              <Value>Row 1 value 3</Value>
              <Value>Row 1 value 4</Value>
         </Values>
    </ITEM>
    <ITEM level=3 name="Table row 2" type="TR">
         <Values>
              <Value>Row 2 value 1</Value>
              <Value>Row 2 value 2</Value>
              <Value>Row 2 value 3</Value>
              <Value>Row 2 value 4</Value>
         </Values>
    </ITEM>
    <ITEM level=3 name="Table row 3" type="TR">
         <Values>
              <Value>Row 3 value 1</Value>
              <Value>Row 3 value 2</Value>
              <Value>Row 3 value 3</Value>
              <Value>Row 3 value 4</Value>
         </Values>
    </ITEM>
    <ITEM level=0 name="Page row 3" type="PR"/>
    <ITEM level=1 name="Table 2" type="T">
         <Captions>
              <Name>Caption 1</Name>
              <Name>Caption 2</Name>
         </Captions>
    </ITEM>
    <ITEM level=2 name="Table row 4" type="TR">
         <Values>
              <Value>Row 1 value 1</Value>
              <Value>Row 1 value 2</Value>
         </Values>
    </ITEM>
    HTML should looks like:
    Page row 1
         Page row 2
              |Caption 1 |Caption 2 |Caption 3 |Caption 4 |
              | Row 1 value 1|Row 1 value 1|Row 1 value 1|Row 1 value 1|               
              | Row 2 value 1|Row 2 value 1|Row 2 value 1|Row 2 value 1|                         
              | Row 3 value 1|Row 3 value 1|Row 3 value 1|Row 3 value 1|               
              | Row 4 value 1|Row 4 value 1|Row 4 value 1|Row 4 value 1|               
    Page row 3
         |Caption 1 |Caption 2 |
         | Row 1 value 1|Row 1 value 1|
         | Row 2 value 1|Row 2 value 1|
    There can be many levels but always table item is leaf,
    Thanks in advance,
    Regards Peter

    Hi
    You are probably better posting in the flash forum, as without seeing the code, (and if it is not standard flash html publish) they can probably better advise on a solution.
    PZ

  • How to get safecontrol tag section to a collection from web.config in c#

    how to  get safecontrol tag section to a collection from web.config in c#
    Below is my config file. I need to read the safecontrol tagsection and get all those in to a collection.please help me on this.
    <?xml
    version="1.0"
    encoding="UTF-8"
    standalone="yes"?>
    <configuration>
    <SafeControls>
    <SafeControl
    Assembly="System.Web,
    Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI.WebControls"
    TypeName="*"
    Safe="True"
    AllowRemoteDesigner="True"
    SafeAgainstScript="False"
    />
    <SafeControl
    Assembly="System.Web,
    Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI.HtmlControls"
    TypeName="*"
    Safe="True"
    AllowRemoteDesigner="True"
    SafeAgainstScript="False"
    />
    </
    SafeControls>
    </configuration>
    adityadugyala

    Here is the way to read and write custom sections programtically in web.config.
    http://msdn.microsoft.com/en-us/library/2tw134k3.aspx
    Or use the traditional way of reading XML with XMLDocument.
    Bala

  • May by anyway view Local Network files[e-book] or videos or html pages, from the main PC

    In ipad 3 upgraded to 4 ios, may by anyway view Local Network files[e-book] or videos or html pages, from the main PC if, this main has local host[php/mysql] or, from the local network itself: eg //user/downloads/pdf/ebook1.pdf?

    In ipad 3 upgraded to 4 ios, may by anyway view Local Network files[e-book] or videos or html pages, from the main PC if, this main has local host[php/mysql] or, from the local network itself: eg //user/downloads/pdf/ebook1.pdf?

  • How to Create HTML page from portal

    Hi
    I have a requirement to create html pages from portal.
    There will be an author who can choose document type as HTML
    and then he will write html codes on saving it should be saved as HTML doc in UCM.
    and publisher should be able to display it on portal(may be using content presenter).
    please help me in this. I know there is rich text editor task flow which can save a doc as doc file.
    and in spaces we have option of creating HTLM file but i don't know how to do it for my portal.
    Thanks

    A better way would be to create the page using approach in this blog:
    https://blogs.oracle.com/ATEAM_WEBCENTER/entry/content_presenter_cmis_complete
    That way the page can be edited inline and the html author need not upload html to ucm everytime.

  • How to call an HTML page from a JSP

    Hi,
    I am getting problem in calling an html page from a jsp
    The Sample code is
    int rowsAffected = stm.executeQuery("Select * From Table");
    if (rowsAffected == 1)
    {   %>
    <jsp:forward page="xyz.html" />
    <%

    See the other forum where you asked the same question http://forums.java.sun.com/thread.jsp?forum=45&thread=158981
    Please refrain from cross posting.

Maybe you are looking for