How to transfer data from one web application to another web application which are present in the same container in java?

Showing Answers 1 - 0 of 0 Answers

geeta

  • Nov 20th, 2007
 


Using the URL pattern we can transfer data from one web application to the other web application

  Was this answer useful?  Yes

Vijaya

  • Nov 21st, 2007
 

There are four ways
1) Filed to filed
2) Cookies
3) Hidden Parameters
4) URL Pattern

  Was this answer useful?  Yes

sampra

  • Feb 22nd, 2008
 



Using the URL pattern we can transfer data from one web application to the other web application

  Was this answer useful?  Yes

meetpavy

  • Sep 24th, 2008
 

This can be done by establishing URL Connection between the respective
applications using java.net.URLConnection.


Once connection is established requests can be wrote using ObjectOutputStream.
In the second application the request will be received in the doPost and it can
be retrived using ObjectInputStream. (httpServletRequest.getInputStream())


The response can be sent back to the first application using
ObjectOutputStream.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions