How to post from a servlet then display something to the browser
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Manos_Batsis
Posted On:   Thursday, October 24, 2002 03:31 AM

Hi folks,

I have a situation where a prowsers calls a servlet normally and I want to post from within the servlet (something I'm not sure is happening although I have no errors) to a remote application (play withg headers etc), read the responce from the remote server and then display it to the browser. Can someone please share some pointers or documents that will help me get there? I'm doing something the wrong way...

Thanks,

Manos

Re: How to post from a servlet then display something to the browser

Posted By:   Alex_Chaffee  
Posted On:   Wednesday, January 8, 2003 03:27 PM

Re: How to post from a servlet then display something to the browser

Posted By:   Christopher_Schultz  
Posted On:   Thursday, October 24, 2002 01:07 PM

You can either write the code yourself to create a URLConnection in POST mode, write the parameters, etc. or you can use Jason Hunter's "cos" library which can be found at http://www.servlets.com.



-chris
About | Sitemap | Contact