aspose file tools
The moose likes Other JSE/JEE APIs and the fly likes Need help in integrating javahelp to web application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Need help in integrating javahelp to web application" Watch "Need help in integrating javahelp to web application" New topic
Author

Need help in integrating javahelp to web application

Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 146

hi everybody,
i have created the helpset and jar file (demo) using helen2.0 version for web application now i am stucked at integrating the jar file with the web application kindly help me.
thank you.


[Vipassana] - It is seeing the reality as it is, And not as you want it to be.!!!
SCJP1.5.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35224
    
    7
JavaHelp is a desktop help system for use in a Swing (or AWT) application, not for web apps. Or were you thinking of keeping an applet on your web pages that would open the help system?


Android appsImageJ pluginsJava web charts
Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 146

thanks ulff,
but this is what i read in the javahelp2_specification:

Server-Based Help

One of the new features in JavaHelp 2.0 is server-based help. This an important feature that allows JavaHelp to provide help information for web-based applications in a browser window. Help information can now be easily added to web-based applications using the new JavaHelp JST tag libraries. This works as follows: when a browser initiates a JSP request, the Java server turns the request into a Java Servlet that accesses the appropriate information from the helpset using the classes in the JavaHelp library (jh.jar) and the JavaHelp tag library (jhtags.jar), and returns HTML and possibly JavaScript or dynamic HTML to the browser.

now thats what i was searching for how to integrate it??? i have created a demo jar file. now need to know how to proceed further...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35224
    
    7
I stand corrected. Apparently I stopped paying close attention before 2.0 came out.
Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 146

not a problem ulff.
what i have done is. i have created a jar say sevenImagesHelp.jar and sevenImagesHelp.hs file now how do i integrate this with my web application. i have added the jh.jar file to the projects lib directory i am using eclipse 3.3 and jdk1.6 and tomcat5.5 on windows platform. now how do i proceed further...
Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 146

kindly help me out of this please. i am trying my best to search out a way but i am stucked. is their a way to create a html help file and link it with the web application. please some body help me out of this......
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

It seems very few of us have experience in using java help in a non-Swing environment


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35224
    
    7
The JavaHelp distribution contains a web app example in the demos/serverhelp directory (although that's not mentioned anywhere else in the documentation), and there's superficial documentation in the doc/jhug/dev/serverhlp.html file.

As far as I understand it, the help set format is the same as it would be for a Swing app.
Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 146

yes its the same format, but how to integrate the helpset in a web application. please tell me that???
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35224
    
    7
Have you gotten the "serverhelp" demo to run yet?
Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 146

Nope dont know how to run it.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35224
    
    7
Well, it's a Java web app - are you familiar with how to set those up in a servlet container? There's also a README file in the "web" directory.
Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 146

This is the content of from the readme file:

The server demo is designed to work in association with tomcat 3.1 or higher.
To build the server based help to the following:

1. copy jhall.jar from javahelp/lib to the lib directory.
2. make an animals, vertebrates and invertebrates directory
3. extract the animals.jar, vertebrates.jar and invertebrates.jar into
the appropriate directory

To build and install on tomcat issue the command

build dist

Now the point is where to copy jhall.jar to which lib directory
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35224
    
    7
Again: It's a web app; are you familiar with the general structure of Java web apps, especially the WEB-INF directory and its sub-directories?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Need help in integrating javahelp to web application
 
Similar Threads
How to alter Classpath in the WebSphere Admin Console..
PlZZZZZZ How to call external ejb jar in J2EE Project
How to Create Reports in web application using birt
How to call external ejb jar in J2EE Project
Not able run mysql based jdbc program