Creating a parameter

Hi all, This is my problem: From my webApp A i've to call a resource ( a servlet )on another webApp B ( neither in the same ear file nor in the same Application server ) and I need to pass an .xml file as parameter ( not as attribute ). How can I do ?

Either have the XML stored on a shared database or a shared file sever of some sort and when you call the other webapp have it go get the file.

Another options is to have a servlet on App B handle a file upload post from App A.

sabino bolino
Greenhorn

Joined: Aug 02, 2006
Posts: 3

posted Aug 02, 2006 09:16:00

0

Thanks Gregg... I don't have the .xml file stored anywhere but WebApp create it at runtime trasforming some JavaBeans into .xml file. I've in mind something like this:

create the .xml file in a .jsp ( using the classes of the framework which makes the trasformation JavaBean==> .xml file ) and make a submit ( calling the method post ) at loading the page... What's your point ?