Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help in integrating javahelp to web application  RSS feed

 
Pravin Shirke
Ranch Hand
Posts: 152
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Pravin Shirke
Ranch Hand
Posts: 152
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I stand corrected. Apparently I stopped paying close attention before 2.0 came out.
 
Pravin Shirke
Ranch Hand
Posts: 152
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 152
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20904
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems very few of us have experience in using java help in a non-Swing environment
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 152
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes its the same format, but how to integrate the helpset in a web application. please tell me that???
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you gotten the "serverhelp" demo to run yet?
 
Pravin Shirke
Ranch Hand
Posts: 152
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope dont know how to run it.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 152
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!