File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Servlet to generate HTA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet to generate HTA" Watch "Servlet to generate HTA" New topic

Servlet to generate HTA

Wm. Wilkins

Joined: Jun 10, 2005
Posts: 1
Is anybody else here using a servlet to create an HTA (html application)? Thanks to security issues in Internet Explorer, we had to change one of our main programs to use an HTA for delivering high-stakes certifications. Overall, this is working out great.

However, for myself, and most of our international users, the behavior of the HTA is very inconsistent. Although it never works for me, many of our international users get it to work sometimes, and sometimes it bombs out on them. The usual problem is either that the application freezes up. Or the HTA throws a scripting error.

If this sounds familiar to anybody, I could sure use some help. I've got one very irate client and dozens of unhappy users, and no answers at this point.


Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
take the generated HTA from one call that works and one that doesn't and compare them.
See if there are differences. Check if both work when used as static HTAs.

If there are differences see if you can explain those to cause the trouble, and you have your error.

Jeffrey Spaulding
Ranch Hand

Joined: Jan 15, 2004
Posts: 149
Jeroen, this was very enlightening. We called it "searching the error" in the olde days.

I agree. Here's the link:
subject: Servlet to generate HTA
It's not a secret anymore!