File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes HostSession and HostScreen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HostSession and HostScreen" Watch "HostSession and HostScreen" New topic
Author

HostSession and HostScreen

Zivko Lezaic
Greenhorn

Joined: Mar 22, 2006
Posts: 2
Hi,
I�m new in java and have a few problems.
We use HATS for showing HOST screen in web browser and I have to make printable document based on screen contents.
Does anyone know how can I get HostScreen object with screen contents?
Actually I need firs active HostSession object and I suppose that it would give me HostScreen content.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61201
    
  66

It might help if you explained what HATS is.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

If it's the same as the document on my desk, HATS is "Host Access Transformation Services" from IBM, which is a tool that runs in Websphere and scrapes a host (iSeries) green-screen application to reformat it as a Web application.

I think Zivko is asking how to access the green-screen image in HATS. I haven't actually used the product so I can't answer that. Although from the demo I attended I think it might be possible.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

If this is the case, this question would probably do better in the WAS forum.
Zivko, let us know and we'll move it for you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Zivko Lezaic
Greenhorn

Joined: Mar 22, 2006
Posts: 2
Yes, HATS is a tool for transforming 3270 (in my case) black-green screens into some kind of HTML document. IBM provide class with BusinessLogicInfo blInfo from witch I can extract context of screen, but trouble is that this class work with global variables and get screen content only after map transformation. I need screen content on various events, like when someone press F7 or F8 key, or something like that.
Do anyone know how can I simulate key press.
I have to make report from screen results, and sometime I have more then one screen in witch case user press F8 and F7 keys for moving trough screens. Now I need to simulate users work and send keys for him and extract data from screens.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HostSession and HostScreen