Skip to main content

RE: problem in getting index or toc or navigation

1 reply [Last post]
Anonymous

Hi,

I don't know how to invoke TOC or Index for web based applications !

If possible send me a sample code that compiles & executes fine!

" helpBroker="<%= helpBroker %>" >

This code of segment gives me the following error...

8/16/04 17:43:30:518 GMT+05:30] 2a16c8d3 WebGroup E SRVE0026E: [Servlet
Error]-[javax.help.TOCView: method
getMergeType()Ljava/lang/String; not found]:
java.lang.NoSuchMethodError: javax.help.TOCView: method
getMergeType()Ljava/lang/String; not found
at javax.help.tagext.TOCItemTag.initialize(TOCItemTag.java:74)
at javax.help.tagext.TOCItemTag.doStartTag(TOCItemTag.java:114)
at
org.apache.jsp._javax_2E_help_2E_TOCView._jspService(_javax_2E_help_2E_TOCVi
ew.java:148)
at
com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)

Thanx
Abarajith

-----Original Message-----
From: Roger Brinkley [mailto:Roger.Brinkley@SUN.COM]
Sent: Friday, August 13, 2004 11:23 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Popup problem

Lopez, James wrote:

> By any chance are they going to make it easier to use servlets and JSP
> without having to resort to JavaScript or applets?

The user interface is up to the designers. The JavaHelp servlet demo is
just a demo showing one way of doing an implementation. It happens to
use JavaScript. I would encourage developers to use what ever tools they
are comfortable with to create the presentation consistent with the
applications that they have created. That's what was done in the Sun
Management Console and it's usage of JavaHelp on the Web. They are using
their own tree and list components for the navigators.

Binky

****************************************************************************
****

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at
http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Roger Brinkley

Abarajith.B, ISDC Chennai wrote:

> Hi,
>
> I don't know how to invoke TOC or Index for web based applications !
>
> If possible send me a sample code that compiles & executes fine!
>
>
>
> This code of segment gives me the following error...
>
> 8/16/04 17:43:30:518 GMT+05:30] 2a16c8d3 WebGroup E SRVE0026E:
> [Servlet Error]-[javax.help.TOCView: method
> getMergeType()Ljava/lang/String; not found]:
> java.lang.NoSuchMethodError: javax.help.TOCView: method
> getMergeType()Ljava/lang/String; not found
>
> at javax.help.tagext.TOCItemTag.initialize(TOCItemTag.java:74)
> at javax.help.tagext.TOCItemTag.doStartTag(TOCItemTag.java:114)
> at
> org.apache.jsp._javax_2E_help_2E_TOCView._jspService(_javax_2E_help_2E_TOCView.java:148)
>
> at
> com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)

This could be a bug but I suspect the problem is related to one of your
HelpSets. Verify that you HelpSet work in demo hsviewer which is part of
the JavaHelp download.

If that works then you have sometype of setup problem because V2.0
TOCView certainly has a getMergeType that returns a java.lang.String.
Make sure that there isn't two versions of JavaHelp, maybe a V1.0 and
V2.0 are installed.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.