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
posted
0
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?
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
posted
0
I stand corrected. Apparently I stopped paying close attention before 2.0 came out.
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...
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......
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.
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
posted
0
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?