This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes an unnatural act Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "an unnatural act" Watch "an unnatural act" New topic

an unnatural act

Chris Pat
Ranch Hand

Joined: Aug 27, 2005
Posts: 156
I need to talk to a server and parse the response. I will be running TC on a specified port. I would like to use an Action to format and process the request parameters and then forward to the full web url of the server. I believer I can do this with a simple forward in the Struts framework.

The difficulty is the server will send back a standard http response with name/value pairs to the port that originated the request. The server is not a sending a client response and it will not have a webapp context. Can/how I get this response and process it within a Struts framework? Any ideas? I really need to understand why/why not. Thank you.
I agree. Here's the link:
subject: an unnatural act
Similar Threads
How to get the whole URL to display in address bar
Testing Server Programs w/ only one VM
difference b/w forward & sendRedirect
Write a cron job to call struts action class
handling session time out