0 Replies Latest reply on Apr 8, 2008 3:02 PM by Juliana Leroy

    Parse failed in JSP page with JavaHelp

    Juliana Leroy Newbie

      I have a web application running in JBoss with a jsp page that has a link to a JavaHelp.
      When I open the page I get the message:
      [ServletException in:/config/Janela.jsp] Could not parse Got an IOException (Malformed UTF-8 char) Parsing failed for http://localhost:8080/AdminSADSXP/help/SadsXPHelp.hs'

      In my jsp page I have:

      <jsp:useBean id="helpBroker" class="javax.help.ServletHelpBroker" scope="session" />
      <%@ taglib uri="/WEB-INF/jhlib.tld" prefix="jh" %>
      
      <jh:validate helpBroker="<%= helpBroker %>" helpSetName="AdminSADSXP/help/SadsXPHelp.hs"/>
      <a class="headerTabela_claro" href="javascript: openNewWindow('../help/help.jsp?id=Administrador.Configuracao.janela', 'helpWindow', 'WIDTH=700,HEIGHT=500,resizable=yes');">
      <img src="/AdminSADSXP/images/help.JPG" border="0"></a>
      

      And my hs file is:
      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <!--generated by JHelpDev Version: 0.62, 10 November 2006, see jhelpdev.sourceforge.net--><!DOCTYPE helpset PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN" "http://java.sun.com/products/javahelp/helpset_2_0.dtd">
      
      <helpset version="1.0">
      <title>Ajuda SadsXP </title>
      <maps>
      <homeID>top</homeID>
      <mapref location="Map.jhm"/>
      </maps>
      <view>
      <name>TOC</name>
      <label>TOC</label>
      <type>javax.help.TOCView</type>
      <data>SadsXPHelpTOC.xml</data>
      </view>
      <view>
      <name>Search</name>
      <label>Search </label>
      <type>javax.help.SearchView</type>
      <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
      </view>
      <view>
      <name>Index</name>
      <label>Index </label>
      <type>javax.help.IndexView</type>
      <data>SadsXPHelpIndex.xml</data>
      </view>
      </helpset>
      


      Can anyone help me?

      Thanks,
      Juliana Leroy.