GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java
Go To First  |  Previous Question  |  Next Question 
 Core Java  |  Question 447 of 502    Print  
How to transfer data from one web application to another web application which are present in the same container in java?

  
Total Answers and Comments: 4 Last Update: September 24, 2008     Asked by: Girija Shankar Patra 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 20, 2007 03:23:41   #1  
geeta        

RE: How to transfer data from one web application to a...

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

 
Is this answer useful? Yes | No
November 21, 2007 06:01:18   #2  
Vijaya        

RE: How to transfer data from one web application to a...
There are four ways
1) Filed to filed
2) Cookies
3) Hidden Parameters
4) URL Pattern

 
Is this answer useful? Yes | No
February 22, 2008 06:02:03   #3  
sampra Member Since: February 2008   Contribution: 278    

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


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

 
Is this answer useful? Yes | No
September 24, 2008 03:19:21   #4  
meetpavy Member Since: September 2008   Contribution: 1    

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

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.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape