wood burning stoves 2.0*
The moose likes JSP and the fly likes Calling a .jsp file from remote Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Calling a .jsp file from remote Application" Watch "Calling a .jsp file from remote Application" New topic
Author

Calling a .jsp file from remote Application

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1460
    
    1
Is there a way to make an http call to a jsp file without the browser opening to the link?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61306
    
  66

Of course. Any application can make an HTTP request and get back a response. No browser needs to be involved.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1460
    
    1
Bear Bibeault wrote:Of course. Any application can make an HTTP request and get back a response. No browser needs to be involved.


I need some help here.

Here is Microsoft Visual FoxPro code:



My calling string:



The parameter p3 can be one of three values. If the value is 'PER' I want the call to be silent and no visible interaction to the user. The call will just involk a remote data call from the jsp to a servlet, no interactive form will be necessary like when other parameter values are passed.

My alternative is to shell out to a default page that will only serve as info that the transaction has taken place but this is really unnecessary but it is better than what I have now, a blank browser page.
 
GeeCON Prague 2014
 
subject: Calling a .jsp file from remote Application