Using structure tag in a catalog search

Hi there,
I would like to select numbers on docs that have been scanned and OCR, and search for these numbers via a catalog.
I tried to use the tag panel in the reading order panel, to create
1) a root tag,
2) then having selected the number, I try "define a tag from the selection" (or something like that, I have a french interface) to apply a Form tag to that number.
Then I build a catalog (a pdx file) and I try to add the structure tag : I have play with <Form>, Form, Formulaire, <Formulaire> .... it does not work. Despite the message that the index is well done, the numbers I have taged are not found when searching with the index file. Another way to go would be with metadata, but I would have to enter what's already in the pdf...
Thanks for any advice on this !
François

François,
Tagged search from Catalog works only on tagged document (the entire document should be tagged, not just one element).
Try this -
1. Tag your original document by using the option in Advanced>Accessibility.
2. Now add specific tags to the document which you are interested in.
3. Close the document and build a .pdx of out it (use exactly the same tag name that you specified in 2)
4. Load the index in Search, you should see your tag name in the drop down in advanced search and the search should work.

Similar Messages

  • Cross catalog search doesn't work for CCM 2.0

    Hi SRM gurus,
    We are using SRM 5.0 and CCM2.0.
    We created several CCM catalogs but cross catalog search doesn't work at all.
    In the call structure, option "cross catalog" is correctly customized.
    Are there additional check I have to do in order to see this cross catalog search working fine ?
    It's quite urgent...
    Thanks a lot,
    regards,
    Caroline

    Hi
    The TREX server (service) must started and be contactable by RFC - this can be checked by carrying out the actions listed above. (Refer OSS Note - 866547 Error when accessing TREX server for more details )
    <b>Please have a look at the following SAP OSS Note, which will help -></b>
    Note 851106 - Search in catalog from SRM leads to "Service not reachable"
    <u>Other related OSS Notes</u>
    Note 973594 Cross Catalog Search - Configuration
    Note 894717 Items from Cross Catalogs Result does not appears in step 2
    Note 803731 Cross-category search returns no result
    Note 847137 OCI, cross-catalog search: detail display
    Note 996885 Cross Catalog Search - Timeout while accessing MDM Catalog
    1023487 cross-catalog-serach in portal opens up a duplicate window
    1020025 Item detail display in Cross Catalog Search
    1027352 Item detail display in Cross Catalog Search
    Note 866547 - Error when accessing TREX server
    Note 988427 - Update to TREX 6.1 Rev 27
    Note 994623 - Hierarchy Buffer and BIA
    Note 1030056 - Improvement in the Search within Results feature of CSE
    Note 798988 CCM/CSE: Sorting sometimes returns no results
    Note 778688 TREX_INDEX_MANAGER unit test update_view(): incorrect search
    Note 808754 Display sequence of the characteristics is not changeable
    Note 794325 - Error in OCI transfer in the BAdI /CCM/OCI_SCALEPRI
    Note 745235 Search ability changes to cross-catalog characteristics
    Note 724097 - Search of the comp. in case of structured characteristics
    Note 743643 Search ability change in cross-catalog characteristics
    Note 847551 Displaying date, time, and timestamp in the CSE
    Note 750756 Program for the deletion/clean up of TREX indexes
    Do update me as well.
    Regards
    - Atul

  • SRM 7.0 cross catalog search transparent punch out and MDM

    Hi,
    I have problems with transparent punch out and OCI.
    We are using HTTP POST, but when we create a SC what should we recieve in SAP. I suppose we should use HTML (the vendor suppose submitted HTML), but as far as I see it, SAP expect to recieve HTMÆ, right? http://www.attsuppliers.com/downloads/OCI_40_EN20030611.pdf
    <form name="ociform" action=" https://eprocurement.site.com/RecieveOCI.jsp" method="post" enctype="application/x-www-form-urlencoded; charset=UTF-8">
    <input type="text" name="NEW_ITEM-DESCRIPTION[1]" value="Java developer"/>
    <input type="text" name="NEW_ITEM-QUANTITY[1]" value="1"/>
    <input type="text" name="NEW_ITEM-UNIT[1]" value="EA"/>
    <input type="text" name="NEW_ITEM-PRICE[1]" value="15000.00"/>
    <input type="text" name="NEW_ITEM-CURRENCY[1]" value="EUR"/>
    <input type="text" name="NEW_ITEM-LEADTIME[1]" value="1"/>
    <input type="text" name="NEW_ITEM-VENDOR[1]" value="8c7d1ea0-7823-1000-b356-c0a87c200001"/>
    <input type="text" name="NEW_ITEM-VENDORMAT[1]" value="112233"/>
    <input type="text" name="NEW_ITEM-MATGROUP[1]" value="8800000"/>
    <input type="text" name="NEW_ITEM-EXT_PRODUCT_ID[1]" value="448f129ad5ebd8903ae85708c1316dbb"/>
    <input type="text" name="NEW_ITEM-CUST_FIELD6[1]" value="20"/> <!-- VAT -->
    <input type="text" name="NEW_ITEM-CUST_FIELD7[1]" value="1"/> <!-- Open Market Place -->
    <input type="text" name="NEW_ITEM-CUST_FIELD8[1]" value="1"/> <!-- Request -->
    <input type="text" name="NEW_ITEM-CUST_FIELD9[1]" value="0"/> <!-- Search Engine -->
    <input type="text" name="NEW_ITEM-CUST_FIELD10[1]" value="0"/> <!-- Web Shop -->
    <input type="text" name="NEW_ITEM-ZZ_E_MAIL[1]" value="[email protected]"/> <!-- email address as entered by user in eRequest -->
    <input type="text" name="NEW_ITEM-LONGTEXT_1:132[]" value="Request: The description of0000004 v 1. Quote: quote-0000001. Description: Pet Dogs"/>
    </form>
    Furthermore, is it possible to do cross catalog search accross MDM and a transparent punch out catalog?
    /Jimmy

    We are having problems with Transparent Punch Out and OCI.
    We are using HTTP POST, but when we create a SC what should we receive in SAP??
    Should we receive raw HTML or submitted/posted HTML?? As far as I can see, we should receive raw HTML...or?
    Furthermore, is it possible to do cross catalog search across MDM and a Transparent Punch Out Catalog?

  • How to use Flex tag library in jsp

    Hi All,
    We are planning to use flex in our J2EE application in order
    to show some charts. Our j2ee application is in JSP,Struts. I have
    searched on google about this and found that I can include flex 3
    tab library in the jsp in order to use mxml tag in the jsp. I have
    written a sample program in the jsp which uses flex.
    <%@ taglib uri="FlexTagLib" prefix="mm" %>
    <SCRIPT LANGUAGE="JavaScript">
    function showMessage() {
    message.value = "Use this application wisely";
    function hideMessage() {
    message.value = "";
    </SCRIPT>
    <mm:mxml border="5" onmouseover="showMessage();"
    onmouseout="hideMessage();">
    </mm:mxml>
    <TABLE>
    <TR>
    <TD><input type="text" name="message"
    size="50"></TD>
    </TR>
    </TABLE>
    I have added entry inweb.xml. See below,
    <taglib>
    <taglib-uri>FlexTagLib</taglib-uri>
    <taglib-location>/WEB-INF/tlds/flex-bootstrap.jar</taglib-location>
    </taglib>
    Following are the problems that I am currently facing.
    1) Could anybody let me know whether the entry of
    <taglib> tag is correct in the web.xml. Is it the correct
    jar(flex-bootstrap.jar) that I should include?
    2) If yes, from where to download it? or
    If no, what is correct jar that i should include and how?
    your response will be highly appriciated as this is the major
    requirement in our project?
    Thanks ,
    Chandan

    Hi,
    Pleas find details at the URL below.
    http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP
    Hope this helps.

  • Using wildcards in CCM 2.0 search

    Hi experts
    we're using SRM 5.0 (SRM 5.5 Server) with CCM 2.0.
    Is it possible to use wildcards in catalog search?
    Are there any documents about wildcards in CCM ?
    Regards.
    Sven

    Hi
    Yes TREX is mandatory for CCM2.0 (written in the master guide). Please restart the TREX server and retry, if this does not in your case.
    I guess, There are two wildcard characters:
    ? stands for a single character
    stands for a sequence of any combination characters of any length.
    Related links ->
    CCM 2.0 Simple search on CSE does not show any result
    Re: Cross catalog search doesn't work for CCM 2.0
    Re: Search function for Catalogue CCM 1.0 SRM version 4
    CCM view rules - based on wild cards?
    Re: Is TREX required for CCM 2.0 search?
    Hope this answers your queries. Do let me know.
    Regards
    - Atul

  • Access to SRM-MDM Catalog search UI takes long time

    Hello,
    We are facing a serious performance issue while accessing SRM-MDM 3.0 Catalog search UI in portal system.The response time is between 5 sec - 8 sec. Any suggestions ?
    I have already seen (Note 1077701 & 1138862)
    Thanks .

    Hi Shaikh.
    Some suggestions.
    1. You can restrict the number of records shown in the resultset page of the catalog when you launch.
    2. You can also restrict the number of fields shown in the resultset page of the catalog when you launch.
    3. If you don't need the picklist/hierarchy you can remove those
    4. Also you can limit the number of advance search fields.
    Any other special developments(Using BADI) done during the call of catalog?
    Regards
    Bala

  • Supplier Item Catalog - search screen query ~ tends to take 10 - 12 secs

    I wanted to find out if any customer(s) out there has ever encountered this performance issue in the Supplier Item Catalog search screen. We setup an item catalog category using the supplier item but when we attempt to query on the item/supplier search, the search time takes up to 10 - 12 secs per find. Caveat, when you do search for the same item on the 2nd time; the return is alot quicker. It seems the parsing is the issue but we are still trying to figure a resolution to the performance factor. Thanks.

    Hi Hussein,
    Thanks for the reply back. Unfortunately, we tried to apply both patches (recommended patch (5404474) v. the previous patch(5567690) but it did not work . We actually have a TAR opened with Oracle support. I'd thought that with this Oracle forum site, other customers may have the similar performance issue and hopefully a recommended resolution. At this point, Oracle support mentioned the issue lies in the parsing segment of the query.

  • Catalog Search doesn't work for Catalog type BI EE

    Hi, All!
    Just noticed an issue with catalog search functionality in BI Publisher application: If BI Publisher uses BI EE catalog type, then search never returns results, always says nothing was found. But when i change catalog type to Filesystem and restart Publisher, then search works fine and finds needed reports.
    Tested this on 11.1.1.5 and 11.1.1.6. Can someone confirm this behavior? Or maybe this is known issue and you can advice some fix/workaround? Would be much appreciated, thanks!

    Hi,
    I can able to reproduce the same in my environment.
    Oracle BI Publisher - File system - Search option working fine.
    Oracle BI EE - catalog - Search option not working always showing "did not match any documents".
    Rgds
    Aarvi.

  • ECATT 620 using structure variable in test script

    Hi All,
    I hope is threre anyone to help me in my problem.
    I use SAPGUI(Record) to record entries in Transaction ME21N to create Purchase Order. I use the SECATT transaction. I create complete recording for all ALV GRID rows. and i create a structure varible of type MEPO1211 for material data for each row.
    i put the data on the structure variable but when i user that varible as a parameter ref. it show me error that <structure name>-<field name> do not exist.
    How is posible to load data using structure.  and how i create varients for the structure variables.

    OK.... some progress to report.
    I was setting memberName onmouseover-- which is also the
    trigger for the tooltip-- thusly:
    <p><em onmouseover="memberName='John Doe'"
    id="trigger">John Doe</em></p>
    It seems that the variable is being set, but too late, as the
    trigger has already caused the div... id="tooltip"> to be
    evaluated with "memberName" not equal to any of the names in the
    dataset. I tried using a function call to set "memberName" and
    tried putting the onmouseover in the <p> tag and leaving the
    trigger id in the <em> tag. but neither of those appear to
    change the outcome. "memberName" still appears to be set to the
    value I initialized it to up the the <head> section at the
    time the tooltip <div> is evaluated. Although it is set
    correctly if I check it's value using Firebug after I have
    mouse-overed it.
    Incidentally, using a Firebug breakpoint just before the
    <div spry:when...> and checking the value of memberName was
    how I discovered that "memberName" still seemed to have a value of
    "initialized" which is what I set it to up in the <head>
    section.
    Having written all of this, I am wondering though, shouldn't
    the value of "memberName" be equal to "John Doe" the second time I
    mouseover it? Or, if there are more than one trigger "names" on the
    page, shouldn't "memberName" be equal to the name of the previous
    trigger that I moused-over? And with memberName having a legitimate
    value at that point, shouldn't the tooltip now show the correct
    display information rather than just that little few pixel square
    box that I am getting when I mouse-over the trigger name?
    Clearly there is something that I just am not understanding.
    Janet

  • How can I manipulate structure tags in LiveCycle XML form

    Have a form that was created in LiveCycle by another company. 
    Need to make it a flat, tagged, PDF, i.e., to look like the form but not have actual fields.
    It has structure tags, but they're not acceptable, and in Acrobat I'm unable to manipulate them.
    When I go to LiveCycle and look at PDF Structure tags, it just has this message: "PDF Structure can only be used in PDF forms that contain artwork."
    When I try to optimize the form fields away in Acrobat, it says "This PDF document contains an Adobe XML form. Such files cannot be optimized"
    Any ideas?  Thanks in advance!

    Had to keep moving with this, hopefully someone will come up with a better solution, here's how I got a flat PDF: saved the form as encapsulated postscript, then in Windows Explorer right-clicked on the *.eps files and converted to PDF ... had to delete the useless tags that were created during that process, retagging manually ... but it's giving me what I need. I was surprised at no loss of resolution, and all the text is taggable.

  • Conditional Help without using build tags?

    I am not a real technical person, so if I mess up on my
    explanation - Sorry!. We have a one software package that can be
    used 2 different ways depending on a system configuration. I
    suggested using conditional build tags in order to have the correct
    help files populate for the 2 different configurations. Howver,
    they do not want 2 different help files. They want one help file,
    but want it to pull different help topics depending on they system
    configuration - kind of dynamically. So, for software 1a, only pull
    10 topics, and software 1b, pull those 10 topics, plus an
    additional 2...but all out of the same help file. Is that even
    possible?

    Welcome to the community.
    Which output are you producing? If CHM, someone else will
    have to address that. But for WebHelp, the system developers are
    going to have to do some work here either way. For the scenario
    where you have only one set of help files, you could put the 10 in
    one subfolder within the help folder and the other 2 in a separate
    subfolder. The developers (or web admin) could restrict permission
    to the subfolder containing the 2 files based on the user's
    configuration.
    The problem with not using conditional tags is that if you
    want those 2 topics in your TOC or index, they'll show up whether
    the user has rights to see them or not. You'd have to be careful
    not to link between the 10 files and the other 2; otherwise, the
    user who has rights to just the 10 will get permission errors if
    trying to follow a link to the 2. And I imagine that results for
    the 2 will show up in search results no matter who is doing the
    searching.
    If you've got only 12 topics in your project, the cost
    doesn't seem very high to use conditional tags and have two sets of
    help output, but that's just my opinion.
    Hope this helps,
    Ben

  • Error using Data Tags

    I am working with the example explained in http://technet.oracle.com:89/ubb/Forum2/HTML/006025.html using the Row Data Tag to make a search, but I found an error message: 0. Why?
    The source code for search.jsp is:
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1" %>
    <%
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "JSP_bc4j_Bc4jModule");
    %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>Search </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule configname="bc4j.Bc4jModule.Bc4jModuleLocal" id="Bc4jModule" username="iessuser" password="iess" />
    <jbo:DataSource id="dtsmaster" appid="Bc4jModule" viewobject="KspcotempleadorView" ></jbo:DataSource>
    <table border="1">
    <jbo:RowsetIterate datasource="dtsmaster" >
    <TR>
    <TD>">See this record</a></TD>
    <TD>Nombre del Empleador:</TD><TD><jbo:ShowValue datasource="dtsmaster" dataitem="Nomemp" ></jbo:ShowValue></TD>
    </TR>
    </jbo:RowsetIterate>
    </table>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateless" />
    And the source code for search2.jsp is:
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1" %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Busqueda finalizada
    </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule configname="bc4j.Bc4jModule.Bc4jModuleLocal" id="Bc4jModule" username="iessuser" password="iess" />
    <jbo:DataSource id="dtsmaster" appid="Bc4jModule" viewobject="KspcotempleadorView" ></jbo:DataSource>
    <jbo:Row id="masterRow" datasource="dtsmaster" rowkeyparam="RowKeyValue" action="Find" ></jbo:Row>
    <jbo:RefreshDataSource datasource="dtsmaster" />
    <jbo:DataSource id="dtsDetail" appid="Bc4jModule" viewobject="KspcotemplocView" ></jbo:DataSource>
    <h2> Nombre del Empleador: <jbo:ShowValue datasource="dtsmaster" dataitem="Nomemp" ></jbo:ShowValue></h2>
    <table border="1">
    <jbo:RowsetIterate datasource="dtsdetail" >
    <TR><TD>Employee Name</TD><TD><jbo:ShowValue datasource="dtsdetail" dataitem="Empdir" ></jbo:ShowValue></TD></TR>
    </jbo:RowsetIterate>
    </HTML>
    Please could anybody help me with this??

    I looked at this thread
    Update XML doc
    But this thread is more to do with the problem associated with setting the current row.
    My problem is in the first step i.e retreiving the RowKey value.
    ODRApplications ->Master View created by query on one table
    ODRUserReportList -> Detail View created by query joining various tables
    Here is my Jsp Code
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%
         oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "odr_fe_real_odrn_ODRMenuModule");
    %>
    <jbo:ApplicationModule configname="odrn.ODRMenuModule.ODRMenuModuleLocal" id="ODRMenuModule" username="portal_apps" password="portal_apps" />
    <jbo:DataSource id="ODRApplications" appid="ODRMenuModule" viewobject="ODRApplications" rangesize="1" ></jbo:DataSource>
    <jbo:DataSource id="ODRUserReportList" appid="ODRMenuModule" viewobject="ODRUserReportList" rangesize="10" ></jbo:DataSource>
    <script>
    function execq(RV){
    alert(RV);
    window.location="menu1.jsp?RowKeyValue="+RV;
    </script>
    <BODY>
    <% if (request.getParameter("RowKeyValue") !=null) { %>
    <jbo:Row id="masterRow" datasource="ODRApplications" action="Find" rowkeyparam="RowKeyValue" >
    </jbo:Row>
    <% } %>
    <select onchange="execq(this.value)">
    <jbo:RowsetIterate datasource="ODRApplications" >
    <option VALUE="<jbo:ShowValue datasource="ODRApplications" dataitem="RowKey" ></jbo:ShowValue>">
    <jbo:ShowValue datasource="ODRApplications" dataitem="ApplicationName" ></jbo:ShowValue>
    <jbo:ShowValue datasource="ODRApplications" dataitem="RowKey" > </jbo:ShowValue>
    <!--the above line displays 0000 for RowKey -->
    </OPTION>
    </jbo:RowsetIterate>
    </select>
    </jsp:useBean>
    <jbo:RowsetIterate datasource="ODRUserReportList" >
    <br>
    <jbo:ShowValue datasource="ODRUserReportList" dataitem="DisplayName" ></jbo:ShowValue>
    <jbo:ShowValue datasource="ODRUserReportList" dataitem="RowKey" ></jbo:ShowValue>
    <!--the above line displays 0000 for RowKey -->
    <br>
    </jbo:RowsetIterate>
    </jsp:useBean>
    <BODY>
    </HTML>
    Thanks in advance

  • What are the possibilities and limitation of using Out of the box content search webpart on SharePoint Online 2013/O365 ?

    Hi All,
    We are migrating from on-premise SharPoint 2010 to SharePoint online 2013.
    I have few questions below: 
    What are the possibilities and limitations of using Out of the box content search webpart?
    Also, how the cross site publishing will work in SharePoint online something with managed navigations and product catalog apporach? if it is not supported, then what are the alternatives to acheive the same?
    Appriciate any commnets/clarifications.Thanks in advance.
    Thanks,
    Dhananjay.

    Here are the possibilities of Content search webparts
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/configure-a-content-search-web-part-in-sharepoint-HA104119042.aspx
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/when-to-use-the-content-query-web-part-or-the-content-search-web-part-in-sharepoint-HA104206662.aspx
    Compare the strengths and limitations of the Web Parts
    It’s important that you understand the strengths and limitations of the two Web Parts because if you choose the wrong one, your site could run into performance problems. You can use both Web Parts to show content that is based on a query. In a simplified
    world, here’s how you can decide between the two:
    Use the CQWP when you have a limited amount of content, your query is simple, and you don’t expect your content to grow much in the future.
    Use the CSWP in all other scenarios when you want to show content that is based on a query.
    The table below gives a comparison of the two Web Parts:
    Web Part behavior
    Content Query Web Part
    Content Search Web Part
    Query configuration
    Easy
    You’ll need to know about certain search features such as
    managed properties.
    Query across large amounts of content
    Limited
    Yes
    Handle complex queries
    Limited
    Yes
    Scale to handle future content growth
    Limited
    Yes
    Display content from other site collections
    No
    Yes (see
    section below)
    Design of query results can be customized
    Yes, by using XSLT.
    Yes, by using HTML.
    Maintenance cost in a complex site architecture
    High
    Small (see
    section below)
    Narrow down the query results that are displayed in the Web Part
    No
    Yes, in combination with the
    Refinement Web Part.
    It was not there previously but then it was added to Office 365
    http://blogs.office.com/2013/10/29/search-innovations-for-site-and-portal-design-in-sharepoint-online/
    If this helped you resolve your issue, please mark it Answered

  • I can't use JSTL tag for read rss.

    I want to read rss from another web. but I can't read rss . I use Netbeans and I add JSTL Library already. I can use forEach tag but every time when I use xml tag it show error. This is my code for read rss. I don't know how to read rss with JSTL tag please help me.
    <h6><!-- Filename: ShowStudents.jsp -->
    <%@taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <HTML>
    <BODY>
    <c:import var="xmlDoc" url="http://www.manager.co.th/RSS/Home/Breakingnews.xml"/>
    <x:parse var="parsedDocument" xml="${xmlDoc}"/>
    <table>
    <tr>
    <th>Title : </th>
    <th>Link : </th>
    </tr>
    <x:forEach select="$parsedDocument/channel/item"> // This code I ever been change to $parsedDocument/rss/channel/ and $parsedDocument/rss/channel/title ,but it show same error.
    <tr>
    <td> <x:out select="title" /> </td>
    <td> <x:out select="link" /> </td>
    </tr>
    </x:forEach>
    </table>
    </BODY>
    </HTML></h6>
    when I run this code it show error like this. how to read rss with JSTL tag please help me.
    <h6>
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:527)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    Filter.ThaiRequest.doFilter(ThaiRequest.java:38)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
    root cause
    javax.servlet.ServletException: javax.servlet.jsp.JspException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
    org.apache.jsp.test_jsp._jspService(test_jsp.java:101)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    Filter.ThaiRequest.doFilter(ThaiRequest.java:38)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
    root cause
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
    com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
    com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSource(ParseSupport.java:227)
    org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSourceWithFilter(ParseSupport.java:193)
    org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseReaderWithFilter(ParseSupport.java:199)
    org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseStringWithFilter(ParseSupport.java:206)
    org.apache.taglibs.standard.tag.common.xml.ParseSupport.doEndTag(ParseSupport.java:138)
    org.apache.jsp.test_jsp._jspx_meth_x_005fparse_005f0(test_jsp.java:150)
    org.apache.jsp.test_jsp._jspService(test_jsp.java:80)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    Filter.ThaiRequest.doFilter(ThaiRequest.java:38)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
    </h6>
    Edited by: user12864851 on 15 ม.ค. 2554, 22:59 น.

    Ok, I did a bit more experimenting, and web searching, and found you are the victim of the UTF-8 BOM bug.
    Basically the java UTF-8 reader does not recognise a BOM at the start of a UTF-8 stream, and it has to be discarded manually.
    For details: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058
    Here is a 'fixed' JSP for you.
    <%@taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
    <%@ page contentType="text/html; charset=UTF-8"%>
    <HTML>
    <BODY>
         <c:import var="xmlDoc"
              url="http://www.manager.co.th/RSS/Home/Breakingnews.xml"
              charEncoding="UTF8" />
         <%--
            JSTL hack to work around the UTF-8 BOM bug in JDK.
            http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058
         --%>
         <c:set var="testChar" value="fn:substring(xmlDoc, 0, 1)}"/>
         <c:if test="${testChar != '<'}">
           <c:set var="xmlDoc" value="${fn:substring(xmlDoc, 1, fn:length(xmlDoc))}" />
         </c:if>
         <table>
              <tr>
                   <th>Title :</th>
                   <th>Link :</th>
              </tr>
              <x:parse var="parsedDocument" doc="${xmlDoc}" />
              <x:forEach select="$parsedDocument/rss/channel/item">
                   <tr>
                        <td><x:out select="title" /></td>
                        <td><x:out select="link" /></td>
                   </tr>
              </x:forEach>
         </table>
    </BODY>
    </HTML>cheers,
    evnafets

  • Use of Tags

    I had been using the Tags (caseapps.com) application to assign various tags to items I downloaded.  I thought that Mavericks tags would provide the same functionality but if it does, I evidently don't know how to use it.  Has anyone found Mavericks tags to be a significant contribution to mankind?

    Type tags into the Tags field when saving or in Get Info, or using the Tag button on the Finder toolbar.
    Search for tags with the sidebar or spotlight.
    Not much more to know than that.

Maybe you are looking for