STRPCCMD is just a way to run programs on the host PC that your AS/400 client 
screen is running.  I've used it to as a simple way bring up a web page (since 
the browser is a program on the PC) from an AS/400 session. The suggestion to 
use CGI would be much more elegant in your case as you want to update a DB2 
file. Though quite a bit more programming would be needed, as well as 
understanding the communication and configuration between your program's 
session and your http server.         

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx 
[mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Jake M
Sent: Wednesday, November 08, 2006 11:17 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Pop up a .jsp file from a CL or a RPG program.


Thanks a lot for the suggestions. Yeah, something along the 
lines of calling
.dspf file with http://www.domain.com/updatepage.jsp in it 
and the user
could click on the link and the updatepage.jsp would pop up 
and let the user
use the .jsp page and once the user closes the .jsp page the 
control needs
to come back to the display file. Is that possible? I am 
still new to RPG so
just wanted to know what is the best approach before 
venturing into such a
thing. Also, I never used STRPCCMD does this do the same thing too?

cheers,
Jake.

On 11/8/06, Pete Helgren <Pete@xxxxxxxxxx> wrote:

Do you mean, from a 5250 session?  You could bring up a 
5250 screen that
has the URL and the user could click on that.  I don't know 
how to get
anything to "pop up" unless a user clicks a button or a link.

I am not familiar with how the annoying "pop ups" occur in 
a browser,
perhaps a mouseover event with some javascript.  However, I 
don't know
how you would accomplish that with something triggered from 
the server
without user interaction of some sort.

Pete Helgren


Jake M wrote:
Hello All;
I have a .jsp page which updates a few fields in a file 
on my iSeries.
Is
there a way to make that .jsp page pop up when I call a 
CL program or a
RPG
program? I would really appreciate it if somebody could 
point me in the
right direction.

Thanks in advance,

cheers.

Jake.

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


-- 
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.