× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi people...

couple of days ago i had posted a question regarding how to call a RPG 
program...

the response has really helped me..
as suggested  i implemented the servlet method and it is is working fine...
i anticipate some performance issues..but i guess i will wait till they 
arise..hehe

By the way..i have use the Java Web server(eval copy)

does anybody have a clue as to how to serve servlets from Microsoft IIS...i 
have IIS
4.0...

thanks once again...

regards

Ketan

pluta@nexgensoftware.com wrote:

> Ketan wrote:
> ----------
> I am relatively new to java on AS/400
> anyway...i need some help on the following
>
> We have some RPG IV programs(basically they are search engines which take  in
> some parameters and return a result set on the screen)
>    We are planning to make it web enabled(rather we have to).
>    So instaed of writing the complete code again in JAVA i m trying to explore
> HOW i can do the same by calling a exsisting RPG program from a applet.
>
> any help on the above will be highly appreciated.
> -------
>
> Ketan, there are several ways to present data fomr an RPG program to a 
>browser.
> An applet is probably the last one I would choose; downloading the applet code
> to the browser is more overhead than is necessary, especially since you are
> simply getting data and replying with other data.
>
> In your case, either CGI or better yet a servlet might be the way to go.  Your
> use requests a URL, which can be a static HTML page which presents a form.  
>The
> user fills in the data, then hits the submit button.  At this point, your
> webserver can call either an RPG program (CGI) or a Java program (servlet) to
> process the request.  In either case, the called program then generates the 
>HTML
> required to display the data (probably a simple HTML table) and outputs it.
>
> A more advanced technique is to use JavaServer Pages (JSP) to handle the data.
> With JSP, a servlet responds to the request and creates a JavaBean with the
> results set.  It then passes control to an HTML page with embedded JSP tags.
> These tags can directly call the JavaBean and display the results.  However,
> this technique, although very flexible, is probably more than you need.
>
> Joe Pluta
> http://www.zappie.net/ - Zappie! - where the AS/400 speaks Java with an RPG
> accent
> Home of PBD1.2, the FREE Java/400 Client/Server Toolkit
>
> +---
> | This is the JAVA/400 Mailing List!
> | To submit a new message, send your mail to JAVA400-L@midrange.com.
> | To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner: joe@zappie.net
> +---



+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.