File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "response" Watch "response" New topic


Denise Smith
Ranch Hand

Joined: Jul 26, 2005
Posts: 36

Ok..ok.. I'm really new at this. So please be patient. I am building a url to access legacy code in a CICS environment. I can successfully use a jsp page to send the request to the environment and get a response. However, the response comes back in the same url. How can I use jsp to send the response to a different page that I will be able to work with and format the display???


Surround yourself with learners...They will educate you!
Andrew Moores

Joined: May 28, 2005
Posts: 12

It sounds like you might want to forward the request or redirect to another page. It's not completely clear to me what you are trying to do though. Can you expand on "the response comes back in the same url"? If I understand correctly, you have written a jsp that invokes some legacy code by sending an http request for a url? Do you send this request to a web server that executes some CGI? When the request is fullfilled an http response is sent back, presumably, containing the results you need to process.

Maybe a couple of code snipets would clarify the situation.

I agree. Here's the link:
subject: response
It's not a secret anymore!